Closed Bug 1990977 Opened 4 months ago Closed 4 months ago

Allow text-emphasis-* properties on ::marker

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
145 Branch
Tracking Status
firefox145 --- fixed

People

(Reporter: Oriol, Assigned: Oriol)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

https://drafts.csswg.org/css-text-decor-4/#emphasis-marks

text-emphasis-color, text-emphasis-position and text-emphasis-style apply to text.

And according to https://drafts.csswg.org/css-lists-3/#marker-properties,

Inheritable properties that apply to text can be set on the ::marker pseudo-element: these will inherit to and take effect on its text contents.

Enables support for text-emphasis-color, text-emphasis-position and
text-emphasis-style on the ::marker pseudo-element.

These properties apply to text, so authors should be able to set them on
::marker so that they inherit to and take effect on its text contents.
See https://drafts.csswg.org/css-lists-3/#marker-properties

Pushed by oriol-bugzilla@hotmail.com: https://github.com/mozilla-firefox/firefox/commit/7b8ce95e8768 https://hg.mozilla.org/integration/autoland/rev/eb91320bb9d5 Allow text-emphasis-* properties on ::marker. r=emilio,firefox-style-system-reviewers
Pushed by chorotan@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/48903e76fd8c https://hg.mozilla.org/integration/autoland/rev/f3d14c5a3b06 Revert "Bug 1990977 - Allow text-emphasis-* properties on ::marker. r=emilio,firefox-style-system-reviewers" for causing mochitest failures on test_marker_restrictions.html

Backed out for causing mochitest failures on test_marker_restrictions.html

Backout link

Push with failures

Failure log

Flags: needinfo?(oriol-bugzilla)
Flags: needinfo?(oriol-bugzilla)
Pushed by oriol-bugzilla@hotmail.com: https://github.com/mozilla-firefox/firefox/commit/e510bec582ce https://hg.mozilla.org/integration/autoland/rev/2912aa96a8c9 Allow text-emphasis-* properties on ::marker. r=emilio,firefox-style-system-reviewers
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/55093 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 145 Branch
Upstream PR merged by moz-wptsync-bot
QA Whiteboard: [qa-triage-done-c146/b145]
Blocks: 2009630
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: