FRAME and FRAMESET should always be in-flow (and non-floating).
Frames and framesets ignore display:none, and will render no matter what. The style adjuster would check for display != none, before attempting to adjust, and would therefore just do nothing and accept whatever. We only used to override display and position (force to "block" and "static", respectively). Additionally force "float" to "none", as framesets are really unsuitable containing blocks, since they inherit from LayoutBox rather than LayoutBlockFlow. So, putting anything exotic inside is potentially dangerous. It confused the layout engine in general, and also managed to trick the multicol machinery into treating a floated frame child of an absolutely positioned frameset parent as column content. Bug: 840986 Change-Id: I08d2e8823c88fb3b690d71d4fac275377d082e64 Reviewed-on: https://chromium-review.googlesource.com/1059618Reviewed-by:Rune Lillesveen <futhark@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#558768}
Showing
Please register or sign in to comment