Revision 7ab96ca42be6ce12b7bf98088d5d154f8f15be59 authored by Morten Stenshorne on 05 April 2018, 06:52:57 UTC, committed by Chromium WPT Sync on 05 April 2018, 06:52:57 UTC
When changing a layout object from in-flow to out-of-flow positioned, we
used to just remove it from the flow thread, risking that there'd no
longer be a column set to associate it with. However, an out-of-flow
positioned descendant may be contained by something that's inside the
flow thread, e.g. if the containing block of an absolutely positioned
object is a relatively positioned object, and that relatively positioned
object is contained by the flow thread.

Since it's hard to detect what the new containing block of an object is
going to be before it has actually gone out of flow, we'll still remove
it from the flow thread, but we'll now detect that we need to re-insert
it when computed style has updated.

Bug: 827424
Change-Id: I413348b0d3ecd0c4b5051e6e9d2a4526863bef60
Reviewed-on: https://chromium-review.googlesource.com/995439
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548354}
1 parent 54f844c
History
File Mode Size
resources
support
CaretPosition-001.html -rw-r--r-- 1.2 KB
DOMRectList.html -rw-r--r-- 741 bytes
GetBoundingRect.html -rw-r--r-- 774 bytes
HTMLBody-ScrollArea_quirksmode.html -rw-r--r-- 6.3 KB
MediaQueryList-001.html -rw-r--r-- 709 bytes
MediaQueryList-with-empty-string.html -rw-r--r-- 451 bytes
OWNERS -rw-r--r-- 25 bytes
Screen-pixelDepth-Screen-colorDepth001.html -rw-r--r-- 1.1 KB
cssom-getBoundingClientRect-001.html -rw-r--r-- 1.4 KB
cssom-getBoundingClientRect-002.html -rw-r--r-- 1.4 KB
cssom-getBoxQuads-001.html -rw-r--r-- 1.8 KB
cssom-getClientRects-002.html -rw-r--r-- 757 bytes
cssom-getClientRects.html -rw-r--r-- 1.1 KB
cssom-view-img-attributes-001.html -rw-r--r-- 1.8 KB
cssom-view-window-screen-interface.html -rw-r--r-- 2.4 KB
elementFromPoint-001.html -rw-r--r-- 1.0 KB
elementFromPoint-002.html -rw-r--r-- 1.2 KB
elementFromPoint-003.html -rw-r--r-- 1.6 KB
elementFromPoint-dynamic-anon-box.html -rw-r--r-- 1.3 KB
elementFromPoint-parameters.html -rw-r--r-- 1.9 KB
elementFromPoint.html -rw-r--r-- 10.6 KB
elementFromPosition.html -rw-r--r-- 4.2 KB
elementScroll.html -rw-r--r-- 6.3 KB
elementsFromPoint-iframes.html -rw-r--r-- 2.8 KB
elementsFromPoint-invalid-cases.html -rw-r--r-- 1.6 KB
elementsFromPoint-shadowroot.html -rw-r--r-- 2.9 KB
elementsFromPoint-simple.html -rw-r--r-- 3.8 KB
elementsFromPoint-svg.html -rw-r--r-- 2.7 KB
elementsFromPoint-table.html -rw-r--r-- 3.4 KB
elementsFromPoint.html -rw-r--r-- 7.9 KB
historical.html -rw-r--r-- 401 bytes
htmlelement-offset-width-001.html -rw-r--r-- 1.4 KB
iframe.html -rw-r--r-- 80 bytes
interfaces.html -rw-r--r-- 2.2 KB
matchMedia.xht -rw-r--r-- 8.2 KB
matchMediaAddListener.html -rw-r--r-- 2.2 KB
media-query-list-interface.xht -rw-r--r-- 3.0 KB
mouseEvent.html -rw-r--r-- 597 bytes
negativeMargins.html -rw-r--r-- 1.2 KB
offsetParent_element_test.html -rw-r--r-- 4.8 KB
offsetTopLeftInScrollableParent.html -rw-r--r-- 5.4 KB
overscrollBehavior-manual.html -rw-r--r-- 5.0 KB
scroll-behavior-smooth.html -rw-r--r-- 2.0 KB
scroll-no-layout-box.html -rw-r--r-- 742 bytes
scrollIntoView-scrollMargin.html -rw-r--r-- 2.3 KB
scrollIntoView-scrollPadding.html -rw-r--r-- 2.3 KB
scrollIntoView-shadow.html -rw-r--r-- 1.3 KB
scrollIntoView-smooth.html -rw-r--r-- 3.9 KB
scrollTop-display-change-ref.html -rw-r--r-- 196 bytes
scrollTop-display-change.html -rw-r--r-- 594 bytes
scrollWidthHeight.xht -rw-r--r-- 5.7 KB
scrollWidthHeightWhenNotScrollable.xht -rw-r--r-- 5.0 KB
scrolling-no-browsing-context.html -rw-r--r-- 1.3 KB
scrolling-quirks-vs-nonquirks.html -rw-r--r-- 9.2 KB
scrollingElement-quirks-dynamic-001-ref.html -rw-r--r-- 119 bytes
scrollingElement-quirks-dynamic-001.html -rw-r--r-- 774 bytes
scrollingElement-quirks-dynamic-002-ref.html -rw-r--r-- 92 bytes
scrollingElement-quirks-dynamic-002.html -rw-r--r-- 797 bytes
scrollingElement.html -rw-r--r-- 4.0 KB
scrollintoview.html -rw-r--r-- 4.0 KB
ttwf-js-cssomview-getclientrects-length.html -rw-r--r-- 1.3 KB
window-interface.xht -rw-r--r-- 3.7 KB
window-screen-height-immutable.html -rw-r--r-- 944 bytes
window-screen-height.html -rw-r--r-- 1.2 KB
window-screen-width-immutable.html -rw-r--r-- 936 bytes
window-screen-width.html -rw-r--r-- 1.2 KB

back to top