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

line-clamp CSS property (collapse variant) #316

Open
andreubotella opened this issue Feb 8, 2024 · 0 comments
Open

line-clamp CSS property (collapse variant) #316

andreubotella opened this issue Feb 8, 2024 · 0 comments
Assignees
Labels
topic: css Spec relates to CSS (Cascading Style Sheets) venue: W3C CSS WG

Comments

@andreubotella
Copy link

andreubotella commented Feb 8, 2024

WebKittens

@fantasai @heycam

Title of the spec

line-clamp CSS property (collapse variant)

URL to the spec

w3c/csswg-drafts#7708 (discussion issue; no spec yet)

URL to the spec's repository

No response

Issue Tracker URL

No response

Explainer URL

https://github.com/Igalia/explainers/blob/main/css/line-clamp/README.md

TAG Design Review URL

No response

Mozilla standards-positions issue URL

mozilla/standards-positions#984

WebKit Bugzilla URL

No response

Radar URL

No response

Description

CSS Overflow Level 4 defines line-clamp based on fragmentation (https://drafts.csswg.org/css-overflow-4/#line-clamp), but that is not feasible for Gecko or WebKit to implement anytime soon. Due to that, @emilio opened w3c/csswg-drafts#7708 to discuss a variant of line-clamp that is based on hiding lines and boxes from paint instead ("the collapse variant"). There is no spec text written for this variant yet, but the CSSWG decided to greenlight both variants for prototyping, and in Chromium we are currently planning to prototype it, rather than the fragmentation-based variant.

@annevk annevk added topic: css Spec relates to CSS (Cascading Style Sheets) venue: W3C CSS WG labels Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: css Spec relates to CSS (Cascading Style Sheets) venue: W3C CSS WG
Projects
None yet
Development

No branches or pull requests

4 participants