Closed Bug 1497163 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 13388 - [LayoutNG] Correct LayoutText::LinesBoundingBox() for vertical-rl.

Categories

(Core :: CSS Parsing and Computation, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 13388 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/13388 Details from upstream follow. Morten Stenshorne <mstensho@chromium.org> wrote: > [LayoutNG] Correct LayoutText::LinesBoundingBox() for vertical-rl. > > NG needs to produce a rectangle with the block-axis offset relatively to > block-start of the container, just like legacy does. Using purely > physical coordinates is wrong. > > This fixes issues with scroll anchoring, and possibly other things too. > > One test had to be rebaselined, due to a rounding change. > LayoutText::DebugRect() calls LinesBoundingBox(), which now flips the > block-axis coordinate for vertical-rl. This affects rounding of the > size of the rectangle. > > Bug: 889449 > Change-Id: I7053ed7fe05ce443f53a128660d60f27fea7f8b3 > Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng > Reviewed-on: https://chromium-review.googlesource.com/1264596 > WPT-Export-Revision: 76bb3d9fbcda83cf1ef02663cd9c7dece58680ba
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 1 tests and 1 subtests OK : 1 FAIL : 1 New tests that have failures or other problems: /css/css-scroll-anchoring/text-anchor-in-vertical-rl.html Line at edge of scrollport shouldn't jump visually when content is inserted before: FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/c1b374a8deaf [wpt PR 13388] - [LayoutNG] Correct LayoutText::LinesBoundingBox() for vertical-rl., a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/5fcb3470239e [wpt PR 13388] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.