Enable layout.css.text-decoration-inset.enabled by default
Categories
(Core :: Layout: Text and Fonts, enhancement)
Tracking
()
People
(Reporter: alaskanemily, Assigned: alaskanemily)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete, Whiteboard: [jp-mvp])
Attachments
(1 file)
Comment 1•10 months ago
|
||
Enabling the pref for text-decoration-trim: https://bugzilla.mozilla.org/1993043 (0-points)
Comment 2•10 months ago
|
||
[Why is this notable]: New CSS property allowing authors to manipulate the length of text decorations.
[Affects Firefox for Android]: yes
[Suggested wording]: Introduced the text-decoration-trim property, which allows authors to adjust the start and end points of line decorations.
[Links (documentation, blog post, etc)]:
https://drafts.csswg.org/css-text-decor-4/#text-decoration-skip-inset-property
https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-trim (doesn't exist yet)
Updated•9 months ago
|
| Assignee | ||
Comment 3•9 months ago
|
||
This also fixes the entry in property_database.js, which has a few problems.
The first value of other_values is the same as the initial value, the value
calc(0) does not parse as a length and calc(0px) 0 will just become 0
as that is the shorted serialization of that value, and according to the
WebVTT spec text-decoration-trim should not apply to ::cue.
Comment 4•9 months ago
•
|
||
Note that the CSSWG hasn't decided on the name of the property yet. This will be done in https://github.com/w3c/csswg-drafts/issues/8402. See also Jonathan's comment in the other issue.
As long as this is not resolved, the pref should not be enabled by default.
Sebastian
Updated•9 months ago
|
Comment 7•9 months ago
•
|
||
Reverted this because it was causing assertion failures in nsBlockFrame.cpp.
- Revert link
- Push with failures
- Failure Log
- Failure line: Assertion failure: !HasProperty(LineIteratorProperty()) (Shouldn't have line iterators mid-reflow), at /builds/worker/checkouts/gecko/layout/generic/nsBlockFrame.cpp:X
PS. Please check also this failure.
| Assignee | ||
Comment 8•9 months ago
|
||
Addressing the failure in Bug 1997453.
Comment 10•9 months ago
|
||
| bugherder | ||
| Assignee | ||
Updated•9 months ago
|
Updated•9 months ago
|
Comment 12•9 months ago
•
|
||
Relnote updated to reflect new name change "text-decoration-inset"
Comment 13•8 months ago
|
||
Description
•