Closed Bug 1487663 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 12777 - [LayoutNG] Fix when 'vertical-align: top' is nested

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 12777 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12777 Details from upstream follow. Koji Ishii <kojii@chromium.org> wrote: > [LayoutNG] Fix when 'vertical-align: top' is nested > > The 'vertical-align: top' and 'bottom' require the size of > the ancestor line box and thus are put into pending queue > while applying the baseline shift. > > When they are nested, processing all pending queue at the > root line box applies the shift multiple times. This patch > puts into the queue of the nearest ancestor that has 'top' > or 'bottom' if exists. > > Bug: 877977 > Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng > Change-Id: I6541d138267a6e42658b601901b673352e625440 > > Reviewed-on: https://chromium-review.googlesource.com/1198887 > WPT-Export-Revision: 09395f75a5ba6deb08e1c6d14b7aca4f642874d9
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/3a807761af21 [wpt PR 12777] - [LayoutNG] Fix when 'vertical-align: top' is nested, 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.