Closed Bug 1831155 Opened 3 years ago Closed 2 years ago

[wpt-sync] Sync PR 39825 - Fix painting order of text-shadow on (underline) decorations

Categories

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

task

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Fredrik Söderquist <fs@opera.com> wrote:

Fix painting order of text-shadow on (underline) decorations

The right-most shadow should be at the bottom, so needs to be painted
first (c.f. TextPainterBase::CreateDrawLooper()).

Iterate the text-shadow vector in reverse in
NGTextPainterBase::PaintUnderOrOverLineDecorationShadows().

Fixed: 1442188
Change-Id: I02e0b9909d8280b3e893ca0c58225ae5dca94ace

Reviewed-on: https://chromium-review.googlesource.com/4499286
WPT-Export-Revision: 00ae2efa1d5f97abff41f19dd42d73a055c581f2

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core
Try push failed: decision task faVl3vV2TiGYDtBV3maGwQ returned error

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/2cfc1d883f03 [wpt PR 39825] - Fix painting order of text-shadow on (underline) decorations, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in before you can comment on or make changes to this bug.