WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
244813
text decoration needs to skip spaces at start/end of lines
https://bugs.webkit.org/show_bug.cgi?id=244813
Summary
text decoration needs to skip spaces at start/end of lines
Florian Rivoal
Reported
2022-09-05 08:32:38 PDT
Based on
https://drafts.csswg.org/css-text-decor-4/#text-decoration-skip-spaces-property
(for the explicit use of `text-decoration-skip-spaces: start end`) or on
https://drafts.csswg.org/css-text-decor-3/#line-decoration
(for the default behavior when no particular property tries to adjust the skipping), spaces at the start and end of the line are supposed to be skipped by text decorations such as underlines. Safari doesn't do that, as can be seen in
https://wpt.fyi/results/css/css-text-decor?sha=249e1eb8e6&label=master&max-count=1&view=subtest&q=css%2Fcss-text-decor%2Ftext-decoration-skip-spaces
The CSSWG has been asked as whether this was a case of the spec being expected to align with implementations, or implementations with the spec, and does seem to expect spec compliance (see
https://github.com/w3c/csswg-drafts/issues/4653
)
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-09-12 08:33:16 PDT
<
rdar://problem/99822969
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug