1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00
serenity/Tests/LibWeb/Layout/expected/block-and-inline
Andreas Kling 6994ea5885 LibWeb: Skip out-of-flow boxes when wrapping inlines in anonymous block
Out-of-flow boxes (floating and absolutely-positioned elements) were
previously collected and put in the anonymous block wrapper as well, but
this actually made hit testing not able to find them, since they were
breaking expectations about tree structure that hit testing relies on.

After this change, we simply let out-of-flow boxes stay in their
original parent, preserving the author's intended box tree structure.
2023-12-11 13:19:12 +01:00
..
abspos-grid-with-definite-width.txt LibWeb: Use inner available space to calculate auto height of abspos 2023-11-15 11:26:14 +01:00
abspos-only-with-inset-left.txt LibWeb: Do not compensate padding for abspos boxes with static position 2023-11-15 23:44:05 +01:00
abspos-with-auto-margins-in-inline-axis.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
abspos-with-bottom-right-insets-relative-to-box-with-paddings.txt LibWeb: Do not compensate padding for abspos boxes with static position 2023-11-15 23:44:05 +01:00
abspos-with-percentage-height-resolved-against-padding-box-of-containing-block.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
abspos-without-insets-relative-top-box-with-padding-top.txt LibWeb: Do not compensate padding for abspos boxes with static position 2023-11-15 23:44:05 +01:00
abspos-without-insets.txt LibWeb: Do not compensate padding for abspos boxes with static position 2023-11-15 23:44:05 +01:00
atomic-inline-with-percentage-vertical-align.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
atomic-inline-with-white-space-nowrap.txt LibWeb: Don't break for atomic inline elements in white-space: nowrap 2023-09-16 15:21:16 +02:00
automatic-size-of-block-container-with-inline-children-and-nonempty-floating-child.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
bfc-consider-all-currently-stacked-floats.txt LibWeb: Skip out-of-flow boxes when wrapping inlines in anonymous block 2023-12-11 13:19:12 +01:00
bfc-float-left-break-vertically-2.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
bfc-float-left-break-vertically.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
block-level-floating-box-with-clearance.txt LibWeb: Allow block level boxes to be floated and have clearance 2023-09-12 12:11:53 +02:00
block-with-fit-content-width-constraints.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
block-with-fit-content-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
block-with-hidden-overflow-after-float.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
block-with-hidden-overflow-after-sibling-float.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
block-with-max-content-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
block-with-min-content-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
block-with-negative-margin-and-no-intruding-floats.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
box-with-clearance-and-margin-top.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
button-baseline-align.txt LibWeb: Set children of button layout box to be non-inline 2023-09-11 15:19:56 +02:00
button-image-only.txt LibWeb: Set children of button layout box to be non-inline 2023-09-11 15:19:56 +02:00
button-should-have-vertically-aligned-content.txt LibWeb: Use flex layout for button content alignment 2023-09-03 12:33:10 +02:00
button-width.txt LibWeb: Use fit-content width if button's computed width is "auto" 2023-09-12 17:26:30 +02:00
button-with-abspos-pseudo-element.txt LibWeb: Add boxes for before/after pseudos post button layout tweak 2023-09-11 15:19:56 +02:00
button-with-after-pseudo.txt LibWeb: Add boxes for before/after pseudos post button layout tweak 2023-09-11 15:19:56 +02:00
button-with-before-pseudo.txt LibWeb: Add boxes for before/after pseudos post button layout tweak 2023-09-11 15:19:56 +02:00
button-with-block-content-baseline-align.txt LibWeb: Perform rounding when dividing CSSPixels 2023-09-05 14:50:45 +02:00
button-with-multiple-words-text-node-label.txt LibWeb: Set children of button layout box to be non-inline 2023-09-11 15:19:56 +02:00
button-with-text-node-label-and-font-size.txt LibWeb: Set children of button layout box to be non-inline 2023-09-11 15:19:56 +02:00
button-with-text-node-label.txt LibWeb: Set children of button layout box to be non-inline 2023-09-11 15:19:56 +02:00
clear-both-from-inline-formatting-context.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
clear-both-without-introducing-clearance.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
clearfix.txt LibWeb: Skip out-of-flow boxes when wrapping inlines in anonymous block 2023-12-11 13:19:12 +01:00
flex-container-should-avoid-overlapping-floats.txt LibWeb: Boxes that establish FFC or GFC should avoid overlapping floats 2023-09-22 16:48:28 +02:00
float-1.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
float-2.txt LibWeb: Skip out-of-flow boxes when wrapping inlines in anonymous block 2023-12-11 13:19:12 +01:00
float-3.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
float-4.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
float-clear-by-line-break.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
float-left-and-right-with-justified-text-in-between.txt LibWeb: Perform rounding when dividing CSSPixels 2023-09-05 14:50:45 +02:00
float-left-and-right-with-text-in-between.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
float-max-content-containing-block-flex-display.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
float-max-content-containing-block.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
float-should-avoid-inline-block.txt LibWeb: Use actual line height to calculate float y in IFC 2023-09-09 17:05:22 +02:00
float-stress-1.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
float-stress-2.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
float-stress-3.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
floats-and-negative-margins.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
floats-with-negative-percentage-margins.txt LibWeb: Ensure preceding offset is non-negative in float_box() 2023-09-12 12:11:53 +02:00
forced-break-stops-non-whitespace-sequence.txt LibWeb: Move line breaking test 2023-08-28 10:09:07 +02:00
grid-container-should-avoid-overlapping-floats.txt LibWeb: Boxes that establish FFC or GFC should avoid overlapping floats 2023-09-22 16:48:28 +02:00
html-element-height-quirks-mode-off.txt LibWeb: Bring html element height calculation closer to the spec 2023-08-31 21:43:58 +02:00
html-element-height-quirks-mode-on.txt LibWeb: Bring html element height calculation closer to the spec 2023-08-31 21:43:58 +02:00
ifc-float-left-and-sibling-with-margin-left.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
inline-block-baseline-1.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
inline-block-baseline-2.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
inline-block-contained-by-abspos-element.txt LibWeb: Fix min-content width calculation in dimension_box_on_line() 2023-10-16 21:44:48 +02:00
inline-block-percentage-max-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
inline-block-with-max-width-fit-content.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
inline-block-with-negative-margin-left.txt LibWeb: Honor negative margins on atomic inlines 2023-12-10 11:09:22 +01:00
inline-block-with-negative-margin-right.txt LibWeb: Honor negative margins on atomic inlines 2023-12-10 11:09:22 +01:00
inline-block-with-percentage-height-and-auto-height-of-containing-block.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
inline-box-positioned-with-top-left.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
inline-box-with-vertical-margins-vertical-align-top.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
inline-box-with-vertical-margins.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
inline-node-not-inserted-into-generated-box.txt LibWeb: Stop inserting inline nodes into a generated wrapper box 2023-10-11 07:05:23 +02:00
intrinsic-sizing-with-min-width-specified.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
join-out-of-flow-box-with-previous-sibling-if-wrapped-in-anonymous-box.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
list-markers-intruded-by-float.txt LibWeb: Account for float intrusions in list marker x offset 2023-08-26 19:07:56 +02:00
margin-collapse-1.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
margin-collapse-2.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
margin-collapse-3.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
margin-collapse-4.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
margin-collapse-5.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
margin-collapse-6.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
margin-must-not-collapse-across-nested-bfc.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
margin-padding-block-inline-start.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
margin-padding-block-inline.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
max-width-for-box-with-inline-children.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
max-width-must-not-expand-element.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
max-width-on-child-block-with-width-auto-contributes-to-intrinsic-size-of-parent.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
max-width-percentage-100-border-box.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
max-width-percentage-100.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
max-width-percentage-containing-block.txt LibWeb: Resolve block max-width percentage against containing block 2023-10-29 19:35:02 +01:00
min-width-for-box-with-inline-children.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
narrow-bfc-width-to-avoid-overlap-with-floats.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
percentage-min-height-with-containing-block-padding.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
percentage-min-height.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
percentage-min-width-with-max-content-containing-block-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
percentage-padding-on-inline-block-with-indefinite-containing-block-size.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
relpos-block.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
relpos-float.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
relpos-inline-element-js-offsets.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
relpos-inline-elements.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
single-br-inline-layout.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
small-percentage-margin.txt LibWeb: Perform rounding when dividing CSSPixels 2023-09-05 14:50:45 +02:00
width-auto-margins-set-zero-if-containing-size-smaller.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00