Closed Bug 1831252 Opened 2 years ago Closed 2 years ago

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

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox115 fixed)

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Maggie Cai <mxcai@chromium.org> wrote:

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

This reverts commit 4678fac54a6cbf8038e3128d889d47dd5317e941.

Reason for revert: This CL is likely the cause for the failed test external/wpt/css/css-text-decor/text-shadow/standards-decor-noblur-2.html on builder mac11-arm64-rel-tests, starting from https://ci.chromium.org/p/chromium/builders/ci/mac11-arm64-rel-tests/18057. It seems also cause similar failure on other builders: https://luci-analysis.appspot.com/p/chromium/clusters/testname-v4/e94be6eaafebcb5ce1cfd888d77b64d3#recent-failures

Original change's description:

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/c/chromium/src/+/4499286
Auto-Submit: Fredrik Söderquist \<fs@opera.com>
Reviewed-by: Stephen Chenney \<schenney@chromium.org>
Commit-Queue: Stephen Chenney \<schenney@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1139099}

Change-Id: Ic1648b6bceba0d30e17f4d8bcb2f82589ca4c7c8
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4505734
Commit-Queue: Maggie Cai \<mxcai@chromium.org>
Bot-Commit: Rubber Stamper \<rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Maggie Cai \<mxcai@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1139361}

PR 39839 applied with additional changes from upstream: 0cf7c77f9996ae00108bd033d322205c33a9e9d6
Try push failed: decision task EzFcHs5iR16wSAknZJ05IA returned error
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/395f86e1880b [wpt PR 39839] - Revert "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.