ladybird/Tests/LibWeb/Layout/expected/block-and-inline
Jelle Raaijmakers 71665fa504 LibWeb: Scale font size by 1.15 for line-height: normal
Browsers such as Chrome and Firefox apply an arbitrary scale to the
current font size if `normal` is used for `line-height`. Firefox uses
1.2 while Chrome uses 1.15. Let's go with the latter for now, it's
relatively easy to change if we ever want to go back on that decision.

This also requires updating the expectations for a lot of layout tests.
The upside of this is that it's a bit easier to compare our layout
results to other browsers', especially Chrome.
2025-05-05 13:15:56 +02:00
..
abspos-br.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
abspos-grid-with-definite-width.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
abspos-only-with-inset-left.txt
abspos-with-auto-margins-in-inline-axis.txt LibWeb: Use containing block to compute scrollable overflow 2024-10-18 15:26:42 +02:00
abspos-with-bottom-right-insets-relative-to-box-with-paddings.txt
abspos-with-insets-and-auto-margins.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
abspos-with-percentage-height-resolved-against-padding-box-of-containing-block.txt
abspos-with-percentage-padding.txt
abspos-without-insets-relative-top-box-with-padding-top.txt
abspos-without-insets.txt
aspect-ratio-but-width-and-height-are-auto.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
atomic-inline-with-aspect-ratio-2.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
atomic-inline-with-percentage-vertical-align.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
atomic-inline-with-white-space-nowrap.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
automatic-size-of-block-container-with-inline-children-and-nonempty-floating-child.txt LibWeb: Use containing block to compute scrollable overflow 2024-10-18 15:26:42 +02:00
bfc-consider-all-currently-stacked-floats.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
bfc-float-left-break-vertically-2.txt LibWeb: Stop zero-area children from causing scrollable overflow 2024-11-24 11:10:47 +01:00
bfc-float-left-break-vertically.txt
bfc-root-auto-height-expands-for-descendants-with-margin-top.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
block-level-floating-box-with-clearance.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
block-with-fit-content-width-constraints.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
block-with-fit-content-width.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
block-with-hidden-overflow-after-float.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
block-with-hidden-overflow-after-sibling-float.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
block-with-max-content-width.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
block-with-min-content-width.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
block-with-negative-margin-and-no-intruding-floats.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
box-with-clearance-and-margin-top.txt
box-with-percentage-height-wrapped-in-anonymous.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
button-baseline-align.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
button-image-only.txt
button-should-have-vertically-aligned-content.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
button-width.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
button-with-abspos-pseudo-element.txt LibWeb: Support both ::before/::after pseudo elements on button elements 2025-02-03 15:59:38 +01:00
button-with-after-pseudo.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
button-with-before-pseudo.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
button-with-block-content-baseline-align.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
button-with-min-height.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
button-with-multiple-words-text-node-label.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
button-with-text-node-label-and-font-size.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
button-with-text-node-label.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
clear-both-from-inline-formatting-context.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
clear-both-without-introducing-clearance.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
clearfix.txt LibWeb: Don't mess up the order of nodes when wrapping inline contents 2025-04-24 19:12:50 +02:00
columns-33-percent-width.txt LibGfx+LibWeb: Draw glyph runs with subpixel accuracy 2024-12-21 23:09:52 +01:00
flex-container-should-avoid-overlapping-floats.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-1.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-2.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-3.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-4.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-clear-by-line-break-at-end-of-block.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-clear-by-line-break-followed-by-block.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-clear-by-line-break-followed-by-inline.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-clear-right-should-not-affect-inline-left.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-clear-simultaneously.txt LibWeb: Do not clear float sides for floating boxes with clear: .. 2025-03-27 00:56:56 +00:00
float-following-trailing-whitespace.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-initial-available-space-vs-height.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-inside-margin-auto-container.txt LibWeb: Only apply box offset if the box is not already the ancestor 2025-04-04 15:35:26 +02:00
float-intrusions-relative-coordinates.txt LibWeb: Use relative coordinates for available_space_for_line() 2025-04-01 15:26:12 +02:00
float-left-and-right-with-justified-text-in-between.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-left-and-right-with-text-in-between.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-logical.txt
float-max-content-containing-block-flex-display.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-max-content-containing-block.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-should-avoid-inline-block.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-stress-1.txt LibGfx+LibWeb: Draw glyph runs with subpixel accuracy 2024-12-21 23:09:52 +01:00
float-stress-2.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-stress-3.txt
float-vertical-clearance-for-text-after-break.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-vertical-clearance-ignores-opposite-side.txt LibWeb: Fix and improve float positioning behavior 2025-03-27 10:56:13 +00:00
float-vertical-offset-by-preceding-float.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-with-inline-contents-hoisted.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
float-with-negative-margins.txt LibWeb: Ignore negative margins for margin box rect 2025-04-11 02:34:28 +01:00
floating-box-with-box-sizing-border-box.txt
floats-and-negative-margins.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
floats-with-negative-percentage-margins.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
forced-break-stops-non-whitespace-sequence.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
grid-container-should-avoid-overlapping-floats.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
html-element-height-quirks-mode-off.txt
html-element-height-quirks-mode-on.txt
ifc-float-left-and-sibling-with-margin-left.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
inline-block-baseline-1.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
inline-block-baseline-2.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
inline-block-contained-by-abspos-element.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
inline-block-percentage-max-width.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
inline-block-vertical-align-middle.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
inline-block-with-max-width-fit-content.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
inline-block-with-negative-margin-left.txt
inline-block-with-negative-margin-right.txt
inline-block-with-percentage-height-and-auto-height-of-containing-block.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
inline-box-positioned-with-top-left.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
inline-box-with-vertical-margins-vertical-align-top.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
inline-box-with-vertical-margins.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
inline-float-clear.txt LibWeb: Change inline float clearance to not reset margin collapsing 2024-09-21 01:55:43 +02:00
inline-node-not-inserted-into-generated-box.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
intrinsic-sizing-with-min-width-specified.txt
join-out-of-flow-box-with-previous-sibling-if-wrapped-in-anonymous-box.txt
leading-margin-on-inline-content-that-starts-with-collapsible-whitespace.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
list-markers-intruded-by-float.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
margin-collapse-1.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
margin-collapse-2.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
margin-collapse-3.txt
margin-collapse-4.txt
margin-collapse-5.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
margin-collapse-6.txt
margin-must-not-collapse-across-nested-bfc.txt LibWeb: Account for collapsed top margins in BFC root height calculation 2025-02-22 18:41:42 +01:00
margin-padding-block-inline-start.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
margin-padding-block-inline.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
max-width-for-box-with-inline-children.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
max-width-must-not-expand-element.txt LibWeb: Use containing block to compute scrollable overflow 2024-10-18 15:26:42 +02:00
max-width-on-block-level-box-that-creates-fc.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
max-width-on-child-block-with-width-auto-contributes-to-intrinsic-size-of-parent.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
max-width-percentage-100-border-box.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
max-width-percentage-100.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
max-width-percentage-containing-block.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
max-width-wrapped-in-max-content.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
min-width-for-box-with-inline-children.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
narrow-bfc-width-to-avoid-overlap-with-floats.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
out-of-flows-not-inserted-into-generated-box.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
percentage-height-abspos-box-with-percentage-height-child.txt LibWeb: Mark height as definite before doing inner layout of abspos 2025-03-21 14:46:31 -05:00
percentage-height-box-nested-into-percentage-height-box.txt LibWeb: Resolve not auto height before child box layout in BFC 2024-09-27 20:25:25 +02:00
percentage-height-in-quirks-mode.txt LibWeb: Implement "The percentage height calculation quirk" in BFC 2024-09-28 14:41:26 +02:00
percentage-min-height-with-containing-block-padding.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
percentage-min-height.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
percentage-min-width-with-max-content-containing-block-width.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
percentage-padding-on-inline-block-with-indefinite-containing-block-size.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
relpos-block.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
relpos-float.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
relpos-inline-element-js-offsets.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
relpos-inline-elements.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
single-br-inline-layout.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
small-percentage-margin.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
width-auto-margins-set-zero-if-containing-size-smaller.txt LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00