Bug 259428

Summary: text-decoration does not support multiple values
Product: WebKit Reporter: Brandon <brandonstewart>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: brandonstewart, mmaxfield, ntim, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
URL: https://codepen.io/bts1/pen/LYXrPQB

Brandon
Reported 2023-07-23 10:23:53 PDT
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
Attachments
Radar WebKit Bug Importer
Comment 1 2023-07-23 10:25:05 PDT
Brandon
Comment 2 2023-07-23 10:45:26 PDT
Dupe of https://bugs.webkit.org/show_bug.cgi?id=230083 *** This bug has been marked as a duplicate of bug 230083 ***
Note You need to log in before you can comment on or make changes to this bug.