Closed Bug 1502295 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 13731 - Use the correct out-of-flow containing block in continuations.

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 13731 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/13731 Details from upstream follow. Morten Stenshorne <mstensho@chromium.org> wrote: > Use the correct out-of-flow containing block in continuations. > > We cannot just use the innermost inline, without checking if it's a > valid containing block for absolutely positioned descendants. Find the > right ancestor. > > The idea of using the *next* inline in the continuation chain may not be > ideal, but it's not obvious that using the previous one would be much > better (it's more work to find that one anyway), so leaving it as it is. > The spec says that if the relatively positioned inline occurs on > multiple lines, CSS 2 doesn't define exact behavior. Therefore, in the > test, put the same amount of stuff on the line preceding the > interrupting block-level element as on the line following it, to be sure > that the abspos descendant is sized the way we want it to be. > > Bug: 897535 > Change-Id: Ie9bc4e83400bc283b9c95aafef821000f2303d12 > > Reviewed-on: https://chromium-review.googlesource.com/1301457 > WPT-Export-Revision: 62a671e21417fe3739cef31edfcaa9f2c1078cf4
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/CSS2/abspos/abspos-in-block-in-inline-in-relpos-inline.html Make sure that we're sized by the right ancestor: FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/bf89bbb8b566 [wpt PR 13731] - Use the correct out-of-flow containing block in continuations., a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/05de7d2f24a7 [wpt PR 13731] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.