Closed Bug 1555865 Opened 5 years ago Closed 5 years ago

adding support for text-decoration subproperty text-decoration-width (or rather, text-decoration-thickness) in the style system

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: cmarlow, Assigned: cmarlow, Mentored)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

Adding support for the following spec: https://drafts.csswg.org/css-text-decor-4/#line-position
This property is also a longhand property. Support for this property is filed under bug 1555863.
This bug is specifically adding the subproperty 'text-decoration-width' to 'text-decoration'

Priority: -- → P3
Depends on: 1555863
Blocks: 1552062
Type: defect → enhancement

Wrong paste. :/

Blocks: css-text-decor-4
No longer blocks: 1552062
No longer blocks: 1440014

Waiting on resolution for this spec issue: https://github.com/w3c/csswg-drafts/issues/3993

Testing text-decoration-thickness in this demo: https://codepen.io/jensimmons/pen/ZgzgWa?editors=1100
I realized that we are implementing the wrong name / the older name for this property. Currently text-decoration-width is what works in Nightly.

The property was named -width, and still is in the First Public Working Draft: https://www.w3.org/TR/css-text-decor-4/#text-decoration-width-property; but the CSSWG resolved to rename the property from text-decoration-width to text-decoration-thickness here:
https://github.com/w3c/csswg-drafts/issues/3118#issuecomment-432301016

And you can see the change in the Editor's Draft: https://drafts.csswg.org/css-text-decor-4/#text-decoration-width-property

Summary: adding support for text-decoration subproperty text-decoration-width in the style system → adding support for text-decoration subproperty text-decoration-width (or rather, text-decoration-thickness) in the style system

Comment on attachment 9083133 [details]
Bug 1555865: Part 2: Added reftests for text-decoration-skip-ink r?jfkthame

Revision D40707 was moved to bug 1411922. Setting attachment 9083133 [details] to obsolete.

Attachment #9083133 - Attachment is obsolete: true
Pushed by dholbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cd2c60c98be9
added text-decoration-thickness to the text-decoration shorthands r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/18321 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: