[Webkit-unassigned] [Bug 230083] New: [css-text-decor] Unprefix -webkit-text-decoration

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 8 22:29:17 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=230083

            Bug ID: 230083
           Summary: [css-text-decor] Unprefix -webkit-text-decoration
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat, WebExposed
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rego at igalia.com
                CC: mmaxfield at apple.com
            Blocks: 58491

WebKit supports the old "text-decoration" property from CSS2 (https://www.w3.org/TR/CSS2/text.html#propdef-text-decoration), which is somehow similar to the new "text-decoration-line" property (https://drafts.csswg.org/css-text-decor-4/#text-decoration-line-property).

Apart from that WebKit also has a shorthand "-webkit-text-decoration" that allows to set "text-decoration-line", "text-decoration-style" and "text-decoration-color" in just one delcaration.

"text-decoration" is now a shorthand in the spec (https://drafts.csswg.org/css-text-decor-4/#text-decoration-property), so it'd be nice to remove the prefix from "-webkit-text-decoration" and make it a shorthand. Ideally including the possibility to set "text-decoration-thickness" as that's also supported in WebKit.

Websites using the old CSS2 property would still keep working as "text-decoration: underline" will work without problems. And we'd add support for things like "text-decoration: green underline".


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=58491
[Bug 58491] [css3-text] Support text-decoration-* properties from CSS3 Text
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210909/4aeec389/attachment.htm>


More information about the webkit-unassigned mailing list