Bug
1744737 [wpt PR 31929] - Correct document order for fixedpos flex item inside abspos legacy flex., a=testonly
Automatic update from web-platform-tests
Correct document order for fixedpos flex item inside abspos legacy flex.
If there's an OOF flex item inside an OOF legacy flex container, and the
flex container isn't the containing block for the item (e.g. fixed-
positioned inside absolute-positioned), check one extra time when
handling them at the containing block.
LayoutBlock::PositionedObjects() gets OOFs out of document order upon
re-layout on a general basis, if there's a fixed-positioned object
inside another OOF, so that we may end up laying out the child before
the parent. If, when eventually laying out the parent, we mark the child
for layout, we'd never get back to laying it out, and DCHECKs would
fail.
The only known actual problem with having objects out of document order
is precisely what's described above, so the fix is limited to that.
Hopefully the legacy engine is removed before we discover any problems
with my fix. :-p
Bug:
1269228
Change-Id: Ifc212e2b8baa6b9fcf58a5714fa7a8a1139f4b87
--
wpt-commits:
193d9758c4c900b3a80f71e47bc5fd85138d71fa
wpt-pr: 31929