Closed Bug 1993043 Opened 10 months ago Closed 9 months ago

Enable layout.css.text-decoration-inset.enabled by default

Categories

(Core :: Layout: Text and Fonts, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
relnote-firefox --- 146+
firefox146 --- fixed

People

(Reporter: alaskanemily, Assigned: alaskanemily)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete, Whiteboard: [jp-mvp])

Attachments

(1 file)

No description provided.

Enabling the pref for text-decoration-trim: https://bugzilla.mozilla.org/1993043 (0-points)

Whiteboard: [jp-mvp]

[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)

relnote-firefox: --- → ?
Keywords: dev-doc-needed
Assignee: nobody → emcdonough
Status: NEW → ASSIGNED

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.

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

Attachment #9522984 - Attachment description: Bug 1993043 - Enable layout.css.text-decoration-trim.enabled by default → Bug 1993043 - Enable layout.css.text-decoration-inset.enabled by default
Pushed by emcdonough@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/77300fb4d296 https://hg.mozilla.org/integration/autoland/rev/a086e60c2482 Enable layout.css.text-decoration-inset.enabled by default r=layout-jp-market-reviewers,jfkthame
Pushed by sstanca@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/312ca7f12b0f https://hg.mozilla.org/integration/autoland/rev/ac4473082467 Revert "Bug 1993043 - Enable layout.css.text-decoration-inset.enabled by default r=layout-jp-market-reviewers,jfkthame" for causing assertion failures in nsBlockFrame.cpp.

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.

Flags: needinfo?(emcdonough)
Depends on: 1997453

Addressing the failure in Bug 1997453.

Flags: needinfo?(emcdonough)
Depends on: 1997569
Pushed by emcdonough@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/aead73a2789f https://hg.mozilla.org/integration/autoland/rev/41360b507852 Enable layout.css.text-decoration-inset.enabled by default r=layout-jp-market-reviewers,jfkthame
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
Summary: Enable layout.css.text-decoration-trim.enabled by default → Enable layout.css.text-decoration-inset.enabled by default
QA Whiteboard: [qa-triage-done-c147/b146]

Relnote updated to reflect new name change "text-decoration-inset"

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: