[Webkit-unassigned] [Bug 259428] New: text-decoration does not support multiple values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 23 10:23:53 PDT 2023


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

            Bug ID: 259428
           Summary: text-decoration does not support multiple values
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: brandonstewart at apple.com

text-decoration is a short hand value that allows you to set <'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> [0].

Currently Safari only supports setting one value.

See this example:

<p id="one"> Hello World </p>
<p id="two"> Hello World </p>
<p id="three"> Hello World </p>
<p id="four"> Hello World </p>

#one {
  text-decoration: underline;
}

#two {
  text-decoration: blue wavy underline;
}

#three {
  text-decoration: overline red;
}

#four {
  text-decoration-color: blue;
  text-decoration-style: wavy;
  text-decoration-line: underline;
}

This example works properly in Chrome and Firefox.

[0]: https://drafts.csswg.org/css-text-decor/#text-decoration-property

-- 
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/20230723/187f3f41/attachment.htm>


More information about the webkit-unassigned mailing list