• Morten Stenshorne's avatar
    FRAME and FRAMESET should always be in-flow (and non-floating). · f47b628e
    Morten Stenshorne authored
    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: default avatarRune Lillesveen <futhark@chromium.org>
    Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#558768}
    f47b628e
abspos-display-none-frameset-crash.html 539 Bytes