Closed Bug 1950844 Opened 2 months ago Closed 2 months ago

[css-text-decor-4] Implement the spelling-error and grammar-error values of text-decoration-line

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

References

(Blocks 2 open bugs)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

See https://drafts.csswg.org/css-text-decor-4/#text-decoration-line-property.

Note that according to the spec,

When spelling-error or grammar-error apply, the user agent must disregard the other sub-properties of text-decoration, as well any other properties typically affecting the appearance of line decorations (such as text-underline-position, color, stroke, or fill) when rendering these decorations.

so it's not just a question of mapping spelling-error and grammar-error to appropriate line styles; we must also ensure we ignore any adjustments such as offset that would apply to normal underlines.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
See Also: → 1694053
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6793e5a148b5 Support spelling-error and grammar-error values of text-decoration-line. r=tlouw
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch

Related issues and pull requests

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

Attachment

General

Created:
Updated:
Size: