Closed Bug 1939155 Opened 2 months ago Closed 1 month ago

[wpt-sync] Sync PR 49844 - text-emphasis: Do not paint emphasis marks on punctuations

Categories

(Core :: Layout: Text and Fonts, task, P4)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 49844 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/49844
Details from upstream follow.

Kent Tamura <tkent@chromium.org> wrote:

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/6108987
WPT-Export-Revision: d1c7e9c78840e31e80874278d760a26a5525287b

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

FAIL: 1

Safari

FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b1a1b237510c [wpt PR 49844] - text-emphasis: Do not paint emphasis marks on punctuations, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.