Closed Bug 1743531 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 31788 - SVG Text NG: Fix a crash by <use> with display:contents and text-decoration

Categories

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

task

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kent Tamura <tkent@chromium.org> wrote:

SVG Text NG: Fix a crash by <use> with display:contents and text-decoration

crrev.com/925670 was not enough for SVG \<use> because it has a different
code path to propagate the \<use> style to a referred tree. See
SVGElement::CustomStyleForLayoutObject().

This CL resolve the issue by not calling ApplyTextDecorations() for
display:contents, and revert the C++ part of crrev.com/925670.

Bug: 1252619, 1253243, 1273800
Change-Id: Iddee8ba2f2bb68d601bc0dbc55207267b8cb55cf
Reviewed-on: https://chromium-review.googlesource.com/3308292
WPT-Export-Revision: 535ec42bef6d19c2e1c726b43e8194fed87af8ac

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

CI Results

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

Total 1 tests

Status Summary

Firefox

FAIL : 1

Chrome

CRASH: 1

Safari

FAIL : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-text-decor/text-decoration-propagation-display-contents.html: FAIL (Chrome: CRASH, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8da51fe72834 [wpt PR 31788] - SVG Text NG: Fix a crash by <use> with display:contents and text-decoration, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.