ladybird/Tests/LibWeb/Layout/expected/block-and-inline
Jelle Raaijmakers ab3e9799d5 LibWeb: Allow negative margins to influence inline offset after float
In 89ba00304c, the box' X position was
capped at 0 to prevent negative X positions to act as if there were
intruding floats on the left side. Instead, we need to check whether the
left side float intrusion we are going to calculate matters at all -
because if there's no matching float box, the intrusion is always going
to be 0 and we don't need to take the box' X position into account.

Fixes the floating publication images on https://lexfridman.com/.
2025-07-28 12:11:56 +02:00
..
abspos-br.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
abspos-grid-with-definite-width.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
abspos-only-with-inset-left.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
abspos-with-auto-margins-in-inline-axis.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
abspos-with-bottom-right-insets-relative-to-box-with-paddings.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
abspos-with-insets-and-auto-margins.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
abspos-with-percentage-height-resolved-against-padding-box-of-containing-block.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
abspos-with-percentage-padding.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
abspos-without-insets-relative-top-box-with-padding-top.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
abspos-without-insets.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
aspect-ratio-but-width-and-height-are-auto.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
atomic-inline-with-aspect-ratio-2.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
atomic-inline-with-percentage-vertical-align.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
atomic-inline-with-white-space-nowrap.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
automatic-size-of-block-container-with-inline-children-and-nonempty-floating-child.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
bfc-consider-all-currently-stacked-floats.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
bfc-float-left-break-vertically-2.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
bfc-float-left-break-vertically.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
bfc-root-auto-height-expands-for-descendants-with-margin-top.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
block-inside-inline.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
block-level-floating-box-with-clearance.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
block-with-fit-content-width-constraints.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
block-with-fit-content-width.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
block-with-hidden-overflow-after-float-and-margin-left.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
block-with-hidden-overflow-after-float.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
block-with-hidden-overflow-after-sibling-float.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
block-with-max-content-width.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
block-with-min-content-width.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
block-with-negative-margin-and-no-intruding-floats.txt LibWeb: Implement the unreachable scrollable overflow 2025-07-11 08:23:46 +02:00
box-with-clearance-and-margin-top.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
box-with-percentage-height-wrapped-in-anonymous.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
button-baseline-align.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
button-image-only.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
button-should-have-vertically-aligned-content.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
button-width.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
button-with-abspos-pseudo-element.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
button-with-after-pseudo.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
button-with-before-pseudo.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
button-with-block-content-baseline-align.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
button-with-min-height.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
button-with-multiple-words-text-node-label.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
button-with-text-node-label-and-font-size.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
button-with-text-node-label.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
clear-both-from-inline-formatting-context.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
clear-both-without-introducing-clearance.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
clearfix.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
columns-33-percent-width.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
flex-container-should-avoid-overlapping-floats.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-1.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-2.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-3.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-4.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-clear-by-line-break-at-end-of-block.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-clear-by-line-break-followed-by-block.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-clear-by-line-break-followed-by-inline.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-clear-right-should-not-affect-inline-left.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-clear-simultaneously.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-fits-exactly.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-following-trailing-whitespace.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-initial-available-space-vs-height.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-inside-margin-auto-container.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-intrusions-relative-coordinates.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-left-and-right-with-justified-text-in-between.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-left-and-right-with-text-in-between.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-logical.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-max-content-containing-block-flex-display.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-max-content-containing-block.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-nested-under-eachother.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-should-avoid-inline-block.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-stress-1.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-stress-2.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-stress-3.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-under-if-would-fit.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-vertical-clearance-for-text-after-break.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-vertical-clearance-ignores-opposite-side.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-vertical-offset-by-preceding-float.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-with-inline-contents-hoisted.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
float-with-negative-margin-containing-block.txt LibWeb: Allow negative margins to influence inline offset after float 2025-07-28 12:11:56 +02:00
float-with-negative-margins.txt LibWeb: Implement the unreachable scrollable overflow 2025-07-11 08:23:46 +02:00
floating-box-with-box-sizing-border-box.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
floats-and-negative-margins.txt LibWeb: Implement the unreachable scrollable overflow 2025-07-11 08:23:46 +02:00
floats-with-negative-percentage-margins.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
forced-break-stops-non-whitespace-sequence.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
grid-container-should-avoid-overlapping-floats.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
html-element-height-quirks-mode-off.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
html-element-height-quirks-mode-on.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
ifc-float-left-and-sibling-with-margin-left.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
img-as-block-with-box-sizing-border-box.txt LibWeb: Honor box-sizing for block-level replaced element widths 2025-07-14 11:16:13 +02:00
inline-block-baseline-1.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
inline-block-baseline-2.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
inline-block-contained-by-abspos-element.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
inline-block-leading-and-trailing-metrics.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
inline-block-percentage-max-width.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
inline-block-vertical-align-middle.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
inline-block-with-max-width-fit-content.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
inline-block-with-negative-margin-left.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
inline-block-with-negative-margin-right.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
inline-block-with-percentage-height-and-auto-height-of-containing-block.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
inline-box-positioned-with-top-left.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
inline-box-with-vertical-margins-vertical-align-top.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
inline-box-with-vertical-margins.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
inline-float-clear.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
inline-node-not-inserted-into-generated-box.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
intrinsic-sizing-with-min-width-specified.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
join-out-of-flow-box-with-previous-sibling-if-wrapped-in-anonymous-box.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
leading-margin-on-inline-content-that-starts-with-collapsible-whitespace.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
list-markers-intruded-by-float.txt LibWeb: Improve graphical list item marker positioning 2025-07-17 09:35:09 +01:00
margin-collapse-1.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
margin-collapse-2.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
margin-collapse-3.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
margin-collapse-4.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
margin-collapse-5.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
margin-collapse-6.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
margin-must-not-collapse-across-nested-bfc.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
margin-padding-block-inline-start.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
margin-padding-block-inline.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
max-width-for-box-with-inline-children.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
max-width-must-not-expand-element.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
max-width-on-block-level-box-that-creates-fc.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
max-width-on-child-block-with-width-auto-contributes-to-intrinsic-size-of-parent.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
max-width-percentage-100-border-box.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
max-width-percentage-100.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
max-width-percentage-containing-block.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
max-width-wrapped-in-max-content.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
min-width-for-box-with-inline-children.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
narrow-bfc-width-to-avoid-overlap-with-floats.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
negative-margin-with-padding.txt LibWeb: Implement the unreachable scrollable overflow 2025-07-11 08:23:46 +02:00
out-of-flows-not-inserted-into-generated-box.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
percentage-height-abspos-box-with-percentage-height-child.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
percentage-height-box-nested-into-percentage-height-box.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
percentage-height-in-quirks-mode.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
percentage-min-height-with-containing-block-padding.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
percentage-min-height.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
percentage-min-width-with-max-content-containing-block-width.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
percentage-padding-on-inline-block-with-indefinite-containing-block-size.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
relpos-block.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
relpos-float.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
relpos-inline-element-js-offsets.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
relpos-inline-elements.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
single-br-inline-layout.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
small-percentage-margin.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00
treat-percentage-width-as-auto-in-non-replaced-min-content-sizing.txt LibWeb: Don't treat non-replaced sizes as 0 for min-content contrib 2025-07-23 19:52:59 +02:00
width-auto-margins-set-zero-if-containing-size-smaller.txt test-web: Dump stacking context tree in layout test output 2025-07-09 14:36:08 +02:00