Closed Bug 1783050 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 35324 - [text-decorations] Fix |StyleVariant| of an empty line

Categories

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

task

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 2 open bugs, )

Details

(Whiteboard: [wptsync downstream])

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

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

Koji Ishii <kojii@chromium.org> wrote:

[text-decorations] Fix |StyleVariant| of an empty line

This patch fixes a failure of setting the correct
|StyleVariant| for the first line if it is an empty line.

This has been wrong for a long time, but causes crashes when
the decorating box support crbug.com/1008951 was enabled.

Bug: 1347030
Change-Id: I42e5c83acf982623850a187fdc77c32f640d3509

Reviewed-on: https://chromium-review.googlesource.com/3805789
WPT-Export-Revision: adc76007f54d8337a27d2d506da0c93540111115

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

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS : 1

Chrome

CRASH: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/17b45779f7ff [wpt PR 35324] - [text-decorations] Fix |StyleVariant| of an empty line, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.