Closed Bug 1874347 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 43959 - [text-spacing-trim] Fix available width when line-start needs reshape

Categories

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

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Koji Ishii <kojii@chromium.org> wrote:

[text-spacing-trim] Fix available width when line-start needs reshape

This patch moves the logic in ShapingLineBreaker to reshape
line-start to before computing the candidate break.

Candidate break is computed from available width, which
reshaping line-start may change.

The text-spacing-trim property may cause a large difference
when line-start reshaping occurs, large enough to find this
bug.

Bug: 1463891
Change-Id: Ie0f7c7cecafeaad38315bd1b9745c3073f9a8dc5

Reviewed-on: https://chromium-review.googlesource.com/5186201
WPT-Export-Revision: 7459e2311f5d8320852f53c77cf8b2ac8522a438

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

Status Summary

Firefox

FAIL: 1

Chrome

FAIL: 1

Safari

FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/743420ca578c [wpt PR 43959] - [text-spacing-trim] Fix available width when line-start needs reshape, a=testonly https://hg.mozilla.org/integration/autoland/rev/976166a958a2 [wpt PR 43959] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.