Closed Bug 1666721 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 25695 - [FragmentItem] Fix scroll overflow when inline box hangs

Categories

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

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Koji Ishii <kojii@chromium.org>' wrote:

[FragmentItem] Fix scroll overflow when inline box hangs

This patch applies hanging trailing spaces logic to inline
boxes.

When white-space: pre-wrap, trailing spaces can hang. They
should not affect scroll (layout) overflow though.

This was fixed for LayoutNG in crbug.com/966773. When the fix
was ported to FragmentItem, it was applied only to text runs.
It should be applied to inline boxes too, because inline
boxes that contain hanging trailing spaces can also hang.

Bug: 1130310
Change-Id: Ie03e178eb26b2c7270f536974cd617feb38c9169

Reviewed-on: https://chromium-review.googlesource.com/2425553
WPT-Export-Revision: 577828c7d6b2928c349734da19b63038cf10027c

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

CI Results

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

Total 1 tests and 3 subtests

Status Summary

Firefox

OK : 1
PASS: 3

Chrome

OK : 1
PASS: 2
FAIL: 1

Safari

OK : 1
PASS: 3

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1b2ab82f1933
[wpt PR 25695] - [FragmentItem] Fix scroll overflow when inline box hangs, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.