WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
251201
text-emphasis marks should not be rendered if there is no emphasized character
https://bugs.webkit.org/show_bug.cgi?id=251201
Summary
text-emphasis marks should not be rendered if there is no emphasized character
Karl Dubost
Reported
2023-01-26 03:53:39 PST
Interop-2023 See
https://wpt.fyi/results/css/css-text-decor/text-emphasis-style-property-010Cf.html?label=master&label=experimental&product=chrome&product=firefox&product=safari&aligned&view=interop&q=label%3Ainterop-2023-webcompat
https://drafts.csswg.org/css-text-decor-3/#text-emphasis-style-property
The marks are drawn once for each typographic character unit. However, emphasis marks are not drawn for: Word separators or other characters that belong to the Unicode separator classes (Z*). (But note that emphasis marks are drawn for a space that combines with any combining characters.) Punctuation--specifically, any characters that belong to the Unicode P* general category and do not NFKD normalize [UAX15] to any of the following symbols: # U+0023 NUMBER SIGN % U+0025 PERCENT SIGN ‰ U+2030 PER MILLE SIGN ‱ U+2031 PER TEN THOUSAND SIGN ٪ U+066A ARABIC PERCENT SIGN ؉ U+0609 ARABIC-INDIC PER MILLE SIGN ؊ U+060A ARABIC-INDIC PER TEN THOUSAND SIGN & U+0026 AMPERSAND ⁊ U+204A TIRONIAN SIGN ET @ U+0040 COMMERCIAL AT § U+00A7 SECTION SIGN ¶ U+00B6 PILCROW SIGN ⁋ U+204B REVERSED PILCROW SIGN ⁓ U+2053 SWUNG DASH 〽️ U+303D PART ALTERNATION MARK Characters belonging to the Unicode classes for control codes and unassigned characters (Cc, Cf, Cn).
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-01-26 03:53:49 PST
<
rdar://problem/104688963
>
Vitor Roriz
Comment 2
2023-04-06 12:51:59 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/12471
EWS
Comment 3
2023-04-14 17:30:15 PDT
Committed
262997@main
(3b04a522163d): <
https://commits.webkit.org/262997@main
> Reviewed commits have been landed. Closing PR #12471 and removing active labels.
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