1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00
serenity/Tests/LibWeb/Layout/expected/block-and-inline
Aliaksandr Kalenik df2bc8187c LibWeb: Use actual line height to calculate float y in IFC
Before, we were using the line height from NodeWithStyle::line_height()
 to calculate the y offset for floats inside the IFC. However, this
value doesn't always correspond to the actual height of a line box. For
instance, adding a fragment for an inline-block might change the height
of the line box. With this change, we recalculate the height of the
line box after adding a new fragment and use this recalculated height
value to determine the y position for floats.

Fixes https://github.com/SerenityOS/serenity/issues/20982
2023-09-09 17:05:22 +02: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-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
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
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: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02: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-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: Perform rounding when dividing CSSPixels 2023-09-05 14:50:45 +02:00
button-image-only.txt LibWeb: Use flex layout for button content alignment 2023-09-03 12:33:10 +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-with-abspos-pseudo-element.txt LibWeb: Use flex layout for button content alignment 2023-09-03 12:33:10 +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: Use flex layout for button content alignment 2023-09-03 12:33:10 +02:00
button-with-text-node-label-and-font-size.txt LibWeb: Use flex layout for button content alignment 2023-09-03 12:33:10 +02:00
button-with-text-node-label.txt LibWeb: Use flex layout for button content alignment 2023-09-03 12:33:10 +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: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +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: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02: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
forced-break-stops-non-whitespace-sequence.txt LibWeb: Move line breaking test 2023-08-28 10:09:07 +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-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-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
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
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