Closed Bug 2092471 Opened 18 days ago Closed 13 days ago

[wpt-sync] Sync PR 64592 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326226

Categories

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

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Alan Baradlay <zalan@apple.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326226

WebKit export from bug: [<!---->IFC]<!----> An overflowing preserved tab does not wrap to the next line

<pre>
[IFC] An overflowing preserved tab does not wrap to the next line

<div style="width: 85px; font: 25px Ahem; tab-size: 4">X <span style="white-space: pre">&#x09;</span> X</div>

The tab does not fit after "X " and should wrap to the second line. Overflowing content that is only whitespace
stays on the line, as it is either trimmed or hangs at the end of the line. A tab with white-space: pre does
neither, it takes up space, so it now goes through the regular overflow handling and wraps.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=326226">https://bugs.webkit.org/show_bug.cgi?id=326226</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/322759@main">https://commits.webkit.org/322759@main</a>
</pre>

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 460 tests and 192 subtests

Status Summary

Firefox

OK : 29
PASS: 1[GitHub] 4[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 403[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 772[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 774[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 10[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 66[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 68[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 13 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.