Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick "CSS: Add support for text-overflow property" #25061

Merged
merged 4 commits into from
Oct 10, 2024

Conversation

nico
Copy link
Contributor

@nico nico commented Sep 29, 2024

@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Sep 29, 2024
@nico nico marked this pull request as draft September 29, 2024 03:09
@github-actions github-actions bot removed the 👀 pr-needs-review PR needs review from a maintainer or community member label Sep 29, 2024
The CSS property "text-overflow" as well as its valid identifiers are
added to the relevant json files for code generation

(cherry picked from commit a8d3c077eabc8ae833db5dda38281b9103d9bb09)
This patch adds the new "text-overflow" CSS property to all the
relevant places.

(cherry picked from commit 794069b3cfb72b3e6a2c4068b6018a83d7d8432b)
The "text-overflow" property affects text that may get clipped if it is
larger than its container and does not do any line breaks.
The ellipsis character gets added to the end and the rest of the text
gets trunctated if the property is set to "ellipsis".
This patch implements this behavior in the InlineFormattingContext. :^)

The "text-overflow" property is also added  to the
getComputedStyle-print-all test.

(cherry picked from commit da7f0897d1eace887d75d966ffed6adde0e65196,
amended to make `available_width` a float to fix -Wdouble-promotion
from gcc. Everything `available_width` touches is float too.)
(cherry picked from commit e2c9e34050bd4c6fc6c653818cbb9e9a40ed5456)
@nico nico marked this pull request as ready for review October 10, 2024 01:14
@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Oct 10, 2024
@nico nico merged commit 4838d6e into SerenityOS:master Oct 10, 2024
13 checks passed
@nico nico deleted the pr-813 branch October 10, 2024 10:07
@github-actions github-actions bot removed the 👀 pr-needs-review PR needs review from a maintainer or community member label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants