Skip to content

Commit

Permalink
Bug 1939155 [wpt PR 49844] - text-emphasis: Do not paint emphasis mar…
Browse files Browse the repository at this point in the history
…ks on punctuations, a=testonly

Automatic update from web-platform-tests
text-emphasis: Do not paint emphasis marks on punctuations

* Do not paint emphasis marks on punctuations
* Do not use IDEOGRAPHIC FULL STOP for text-combine placeholder
  It's a punctuation.  Use HIRAGANA LETTER A instead.
* Do not paint emphasis marks on generated ellipsis symbols just in case
  It's always a punctuation now. But we might support arbitrary string
  in the future.

* Update text-emphasis-punctuation-1.html so that it uses Ahem font
  Without this change, the test had pixel glitches on Chromium.

The new behavior matches to Firefox.

https://drafts.csswg.org/css-text-decor/#text-emphasis-style-property

Bug: 359420112
Change-Id: If93ef6190e739a0cf64d3becb24c41191dbe1100
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6108987
Commit-Queue: Koji Ishii <kojiichromium.org>
Auto-Submit: Kent Tamura <tkentchromium.org>
Reviewed-by: Koji Ishii <kojiichromium.org>
Cr-Commit-Position: refs/heads/main{#1400253}

--

wpt-commits: 7f001e1c77df092dcd77f3a06b0f27335e8b859c
wpt-pr: 49844

UltraBlame original commit: b1a1b237510cccfb76b89beeb40e2c5f8035b814
  • Loading branch information
marco-c committed Jan 16, 2025
1 parent 376549d commit 5c17dc9
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,43 @@
title
>
<
link
rel
=
"
stylesheet
"
type
=
"
text
/
css
"
href
=
"
/
fonts
/
ahem
.
css
"
>
<
style
>
.
ahem
{
font
-
family
:
Ahem
;
}
span
{
text
Expand Down Expand Up @@ -70,6 +105,11 @@
>
<
p
class
=
"
ahem
"
>
<
span
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,31 @@
"
>
<
link
rel
=
"
stylesheet
"
type
=
"
text
/
css
"
href
=
"
/
fonts
/
ahem
.
css
"
>
<
style
>
.
Expand All @@ -128,6 +153,12 @@
filled
circle
;
font
-
family
:
Ahem
;
}
<
/
Expand Down

0 comments on commit 5c17dc9

Please sign in to comment.