Bug 1767178 [wpt PR 33889] - CSS highlight painting: bump HighlightOverlayPainting to stable, a=testonly

Automatic update from web-platform-tests
CSS highlight painting: bump HighlightOverlayPainting to stable

This patch enables the new highlight overlay painter. The rebaselined
tests and their reasons are as follows:

• no more double painting bug
    • dark-mode/colors/selection.html
• originating decorations are now recolored per spec
    • editing/selection/line-wrap-2.html
    • virtual/text-antialias/selection/khmer-selection.html
• spelling markers are now *consistently* painted over text
    • paint/markers/document-markers-font-8px.html
    • paint/markers/document-markers-zoom-2000.html
• decorations are now clipped to highlight background rect
    • svg/text/text-selection-deco-01-b.svg
    • svg/text/text-selection-text-03-b.svg

The only new failure expectations are as follows:

• external/wpt/css/css-pseudo/highlight-painting-003.html broadens
  from Mac11 to Mac (like we had to do in CL:3608432)
• external/wpt/css/css-text-decor/text-decoration-color-selection-001
  fails because the test is incorrect (bug 1321106)
• paint/markers/suggestion-marker-basic.html fails because it’s not
  clear the assertion still complies with the spec (bug 1321114)

Some tests had bugs that we’ve fixed in this patch:

• external/wpt/css/css-pseudo/target-text-text-decoration-001.html
  had a bug where it assumed UA default highlight colors would be
  suppressed by an author ‘text-decoration’

Bug: 1147859
Change-Id: Ie4d8dae515a786fa01e8f2852d645f3a8ad313be
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3616170
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Commit-Queue: Delan Azabani <dazabani@igalia.com>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1001604}

--

wpt-commits: 56ba00c14475459986c99f240e0b24e7e7ff5dc0
wpt-pr: 33889
This commit is contained in:
Delan Azabani 2022-05-16 10:09:12 +00:00 коммит произвёл moz-wptsync-bot
Родитель 78da5610c7
Коммит e18762e5f1
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -4,6 +4,8 @@
<style>
div {
text-decoration: solid underline magenta;
color: initial;
background: transparent;
}
</style>
<p>The test passes if the following line has a magenta underline.</p>

Просмотреть файл

@ -7,6 +7,8 @@
<style>
::target-text {
text-decoration: solid underline magenta;
color: initial;
background: transparent;
}
</style>
<p>The test passes if the following line has a magenta underline.</p>