Skip to content

[css-contain-2] text-overflow property should not be mentioned #12157

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

Open
Psychpsyo opened this issue May 4, 2025 · 0 comments
Open

[css-contain-2] text-overflow property should not be mentioned #12157

Psychpsyo opened this issue May 4, 2025 · 0 comments

Comments

@Psychpsyo
Copy link
Contributor

3.5.1. Possible Paint-Containment Optimizations claims, in point 2, that "unless the clipped content is made accessible via a separate mechanism such as the 'overflow', 'resize', or 'text-overflow' properties the UA can reserve "canvas" space for the box exactly the box’s size."

I can see how resize and overflow might make a larger canvas desirable, but text-overflow is only dealing with how text is chopped off when it extends out of the element.
It does not make the clipped content any more accessible than it would've otherwise been and doesn't imply any ability to bring it into view.

I feel like it should either not be listed here, or there needs to be a better explanation as to why it's relevant.

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

No branches or pull requests

1 participant