[css-text-decor-4] Allow percentages in `text-decoration-inset`
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: mozilla-apprentice, Assigned: boris)
References
(Blocks 4 open bugs)
Details
(Keywords: dev-doc-complete)
Attachments
(2 files)
A resolution was made for csswg-drafts/#8403.
[css-text-decor-4] Allow percentages in `text-decoration-inset`
- RESOLVED: add %s, and they resolve on either sum of segments or individual segments depending on b-d-b
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
So I guess the resolution makes the syntax of text-decoration-inset as
<length-percentage>{1,2} | auto
Extend <length> to <length-percentage>, and resolve the percentage part depending on box-decoration-break property.
| Assignee | ||
Comment 2•2 months ago
|
||
We add an extra preference,
layout.css.text-decoration-inset-percentage.enabled, for the support of
percentage. This patch only implements the syntax and parsing. We still
have to resolve the percentage part in the following patches.
Also, add the missing parsing tests in WPT.
| Assignee | ||
Comment 3•2 months ago
|
||
We resolve the percentage based on the resolutino of the spec issue [1].
Per the spec issue, if we specify box-decoration-break:slice, we have to
use the total length of all breaks as the basis. If the property value
is clone, each fragment is considered individually.
Updated•2 months ago
|
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/60940 for changes under testing/web-platform/tests
Comment 6•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d1d225400bfc
https://hg.mozilla.org/mozilla-central/rev/136735908f74
Upstream PR merged by moz-wptsync-bot
Updated•1 month ago
|
Comment 9•14 days ago
|
||
It seems there wasn't an Intent to Prototype or Ship sent out for the general support of text-decoration-inset, nor a standards position for it.
Maybe there should be one sent out now?
Also note that Google just sent out their Intent to Ship (including percentages).
Sebastian
| Assignee | ||
Comment 10•13 days ago
|
||
(In reply to Sebastian Zartner [:sebo] from comment #9)
It seems there wasn't an Intent to Prototype or Ship sent out for the general support of
text-decoration-inset, nor a standards position for it.Maybe there should be one sent out now?
Also note that Google just sent out their Intent to Ship (including percentages).
Sebastian
Just sent out. Thanks for the reminder.
https://groups.google.com/a/mozilla.org/g/dev-platform/c/pMeTxjoOx1o
Description
•