Closed Bug 1820866 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 38857 - [text-balance] Disable line cache if `text-wrap: balance`

Categories

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

task

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Koji Ishii <kojii@chromium.org> wrote:

[text-balance] Disable line cache if text-wrap: balance

When parts of inline formatting context was changed, we try to
reuse existing fragments for lines above the change. When
text-wrap: balance, this should not apply, because lines
above the change may also be affected.

This patch disables the line cache in such case.

Fixed: 1421423
Change-Id: Ib4bb2b65838290940e713de6b09d725c7bb2931e

Reviewed-on: https://chromium-review.googlesource.com/4314764
WPT-Export-Revision: c63f576dc8d9aeb8e96554a009fe3289f2863954

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d214cb37f1be [wpt PR 38857] - [text-balance] Disable line cache if `text-wrap: balance`, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in before you can comment on or make changes to this bug.