ladybird/Tests/LibWeb/Text/expected/wpt-import/css/css-flexbox
InvalidUsernameException 8002efe780
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
LibWeb: Don't distort replaced elements with natural size in flex layout
When layouting a replaced element with natural width and height (e.g. a
raster graphic), the replaced element would correctly end up with its
natural size in the main-axis dimension. For the cross axis dimension
however, the replaced element was stretched or squished to the flex
containers inner cross size, which is wrong. Instead, we need to respect
the replaced elements aspect ratio.

Since the touched code does not have a direct correspondence to any spec
text, I am not fully certain that the change is completely correct.
However, tests agree with it, so the new code seems more correct than
the old one at least.

This fixes 50 WPT subtests in `css/css-flexbox`, most of which are
already in-tree. I have also created a new test for a scenario that did
not seem to be covered by WPT.
2025-07-15 00:52:50 +02:00
..
abspos Tests: Enable imported WPT tests that were previously too slow for CI 2024-12-04 21:25:33 +00:00
alignment Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
animation LibWeb: Implement the transition-behavior CSS property 2025-05-02 11:07:19 +01:00
getcomputedstyle Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
intrinsic-size Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
parsing Tests: Synchronize imported tests with the WPT repository 2025-06-22 23:51:34 +02:00
align-content-horiz-001a.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-content-horiz-001b.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-content-horiz-002.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-content-vert-001a.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-content-vert-001b.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-content-vert-002.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-content-wmvert-001.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-content-wrap-001.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-content-wrap-002.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-content-wrap-003.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-content-wrap-005.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-items-baseline-column-vert-lr-flexbox-item.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-items-baseline-column-vert-lr-grid-item.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-items-baseline-column-vert-lr-items.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-items-baseline-column-vert-lr-table-item.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-items-baseline-column-vert-rl-flexbox-item.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-items-baseline-column-vert-rl-grid-item.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-items-baseline-column-vert-rl-items.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-items-baseline-column-vert-rl-table-item.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-items-baseline-vert-lr-column-horz-flexbox-item.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-items-baseline-vert-lr-column-horz-grid-item.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-items-baseline-vert-lr-column-horz-items.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-items-baseline-vert-lr-column-horz-table-item.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-items-baseline-vert-rl-column-horz-flexbox-item.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-items-baseline-vert-rl-column-horz-grid-item.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-items-baseline-vert-rl-column-horz-items.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-items-baseline-vert-rl-column-horz-table-item.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
align-self-014.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
box-sizing-001.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
box-sizing-min-max-sizes-001.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
canvas-dynamic-change-001.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
change-column-flex-width.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
column-flex-child-with-overflow-scroll.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
column-reverse-gap.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
columns-height-set-via-top-bottom.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
dynamic-grid-flex-abspos.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
fieldset-as-container-justify-center.tentative.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-aspect-ratio-img-column-011.txt LibWeb: Account for natural aspect ratio in calculate_min_content_height 2025-07-08 22:35:04 +02:00
flex-aspect-ratio-img-column-017.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-aspect-ratio-img-row-005.txt LibWeb: Don't distort replaced elements with natural size in flex layout 2025-07-15 00:52:50 +02:00
flex-aspect-ratio-img-row-013.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-basis-009.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-column-relayout-assert.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-direction-column-overlap-001.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-factor-less-than-one.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-flow-013.txt LibWeb: Respect writing-mode and direction when mapping logical aliases 2025-06-23 15:19:07 +01:00
flex-item-compressible-001.txt
flex-item-compressible-002.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-item-contains-strict.txt LibWeb: Implement CSS 'contain' property 2025-01-28 11:24:40 +00:00
flex-minimum-height-flex-items-009.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-minimum-height-flex-items-010.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-minimum-height-flex-items-012.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-minimum-height-flex-items-025.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-minimum-height-flex-items-031.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-minimum-size-001.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-minimum-size-002.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-minimum-size-003.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-minimum-width-flex-items-014.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-one-sets-flex-basis-to-zero-px.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-outer-flexbox-column-recalculate-height-on-resize-001.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flex-shorthand-flex-basis-middle.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flexbox-justify-content-wmvert-002.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flexbox-justify-content-wmvert-003.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flexbox-lines-must-be-stretched-by-default.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flexbox_first-letter.txt LibWeb/CSS: Discard unsupported style properties on pseudo-elements 2025-03-24 09:49:50 +00:00
flexbox_justifycontent-center-overflow.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flexbox_justifycontent-rtl-001.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flexbox_justifycontent-rtl-002.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flexbox_width-change-and-relayout-children.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flexbox_width-wrapping-column.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flexitem-no-margin-collapsing.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
flexitem-stretch-image.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
gap-017.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
gap-018.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
height-percentage-with-dynamic-container-size.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
hittest-anonymous-box.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
hittest-before-pseudo.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
hittest-overlapping-margin.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
hittest-overlapping-order.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
hittest-overlapping-relative.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
image-as-flexitem-size-001.txt LibWeb: Don't distort replaced elements with natural size in flex layout 2025-07-15 00:52:50 +02:00
image-as-flexitem-size-001v.txt LibWeb: Don't distort replaced elements with natural size in flex layout 2025-07-15 00:52:50 +02:00
image-as-flexitem-size-002.txt LibWeb: Don't distort replaced elements with natural size in flex layout 2025-07-15 00:52:50 +02:00
image-as-flexitem-size-002v.txt LibWeb: Don't distort replaced elements with natural size in flex layout 2025-07-15 00:52:50 +02:00
image-as-flexitem-size-003.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
image-as-flexitem-size-003v.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
image-as-flexitem-size-004.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
image-as-flexitem-size-004v.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
image-as-flexitem-size-005.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
image-as-flexitem-size-005v.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
image-as-flexitem-size-006.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
image-as-flexitem-size-006v.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
image-as-flexitem-size-007.txt LibWeb: Don't distort replaced elements with natural size in flex layout 2025-07-15 00:52:50 +02:00
image-as-flexitem-size-007v.txt LibWeb: Don't distort replaced elements with natural size in flex layout 2025-07-15 00:52:50 +02:00
inline-flex.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
inline-flexbox-wrap-vertically-width-calculation.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
intrinsic-width-orthogonal-writing-mode.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
justify-content-006.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
justify-content-007.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
justify-content_space-between-002.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
layout-with-inline-svg-001.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
max-width-violation.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
multiline-min-max.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
multiline-min-preferred-width.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
negative-overflow-002.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
negative-overflow-003.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
negative-overflow.txt LibWeb: Implement the unreachable scrollable overflow 2025-07-11 08:23:46 +02:00
order_value.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
orthogonal-writing-modes-and-intrinsic-sizing.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
overflow-auto-002.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
overflow-auto-003.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
overflow-auto-004.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
overflow-auto-006.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
overflow-auto-008.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
percentage-heights-000.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
percentage-heights-001.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
percentage-heights-003.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
percentage-heights-011.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
percentage-heights-012.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
percentage-heights-013.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
percentage-margins-001.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
percentage-max-width-cross-axis.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
percentage-size-quirks-002.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
percentage-size-quirks.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
percentage-size.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
position-relative-percentage-top-001.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
quirks-auto-block-size-with-percentage-item.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
radiobutton-min-size.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
relayout-align-items.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
relayout-image-load.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
relayout-input.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
scrollbars-auto-min-content-sizing.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
shrinking-column-flexbox.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
stretch-after-sibling-size-change.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
stretched-child-shrink-on-relayout.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
svg-root-as-flex-item-006.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
table-with-percent-intrinsic-width.txt Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
text-as-flexitem-size-001.txt