Skip to content

Conversation

@servo-wpt-sync
Copy link
Collaborator

Layout: Added basic text-overflow: ellipsis support at the Fragment Tree & Display List construction stages.

This PR is an attempt to create a very basic support for text-overflow: ellipsis according to the CSS specifications.

I'd like to emphasize the word basic here, as this is a partial implementation only. For example, this PR doesn't add support for "double-valued" text-overflow, such as text-overflow: ellipsis ellipsis.

In addition to this, I have opened a PR in the Stylo repository #issue 270 and created a blog to explain my implementation.

Fixes: #40444
Reviewed in servo/servo#40526

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Servo project.

@whimboo
Copy link
Contributor

whimboo commented Nov 24, 2025

@RichardTjokroutomo i assume we can as well close this PR given that you fixed the Python cache files again. It might be good if you could add the Python ENV variable PYTHONDONTWRITEBYTECODE=1 to your system which prevents creating cache files, or update at least the .gitignore file to not include such folders.

I'm closing this PR.

@whimboo whimboo closed this Nov 24, 2025
@RichardTjokroutomo
Copy link
Contributor

Ok. Sorry for the trouble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding basic support for text-overflow: ellipsis

4 participants