1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-15 22:50:59 +00:00
serenity/Tests/LibWeb/Layout/expected
Andreas Kling 3372a691da LibWeb: Don't let items flex to infinite size in column layout
When sizing under a max-content constraint, we allow flex lines to have
an infinite amount of "remaining space", but we shouldn't let infinity
leak into the geometry of items. So treat it as zero in arithmetic.

This fixes an issue where inline SVGs with natural aspect ratio (from
viewBox) but no natural width or height could get an infinite size as
flex items.
2023-07-06 09:25:48 +02:00
..
block-and-inline LibWeb: Resolve used insets for floating elements 2023-07-04 06:43:53 +02:00
flex LibWeb: Don't let items flex to infinite size in column layout 2023-07-06 09:25:48 +02:00
grid LibWeb: Resolve used insets for grid items 2023-07-04 06:43:53 +02:00
misc LibWeb: Handle leading whitespace in grid-template-* block components 2023-06-18 13:41:15 +02:00
svg LibWeb: Force paintable to exist for SVG <g> elements 2023-07-02 01:31:18 +02:00
table LibWeb: Support valign attribute on td elements 2023-07-04 13:26:49 +02:00
abspos-box-with-replaced-element.txt LibWeb: Do not treat size of abspos items as definite 2023-06-22 18:18:04 +02:00
abspos-flex-container-with-auto-height.txt LibWeb: Don't use BFC auto height for non-BFC abspos elements 2023-06-20 13:42:31 +02:00
abspos-image-with-min-height-constraint.txt LibWeb: Enforce min/max height constraints on abspos replaced boxes 2023-05-07 06:28:47 +02:00
acid1.txt LibWeb+WebContent: Forbid access to underlying type of CSSPixels 2023-06-13 06:08:27 +02:00
anonymous-wrappers-continue-to-inherit-style-after-change.txt LibWeb: Update anonymous wrappers when applying style changes 2023-07-03 13:37:14 +02:00
aspect-ratio-auto-and-ratio.txt LibWeb: Obey CSS aspect-ratio property during layout 2023-06-09 20:37:51 +02:00
aspect-ratio-auto.txt LibWeb: Obey CSS aspect-ratio property during layout 2023-06-09 20:37:51 +02:00
aspect-ratio-ratio.txt LibWeb: Obey CSS aspect-ratio property during layout 2023-06-09 20:37:51 +02:00
automatic-height-of-non-replaced-abspos-element-must-not-be-negative.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
automatic-width-of-non-replaced-abspos-element-must-not-be-negative.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
blank.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
blockify-layout-internal-box-without-crashing.txt LibWeb: Add layout support for border spacing 2023-06-16 13:57:31 +02:00
box-sizing-border-box-for-definite-sizes-without-layout.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
calc-negate-length.txt LibWeb: Fix off-by-one in CSS calc() "negate" operation 2023-05-17 07:40:17 +02:00
cell-relative-to-specified-table-width.txt LibWeb: Add vertical border heights to tr 2023-07-01 08:07:49 +02:00
css-ex-unit.txt LibGfx/OpenType: Load x-height metrics from OS/2 table if available 2023-06-10 21:46:33 +02:00
css-font-size-calc.txt LibWeb: Support font-size: calc() 2023-06-02 20:03:28 +02:00
css-import-rule.txt LibWeb: Implement the "The html element fills the viewport quirk" 2023-05-03 20:44:30 +02:00
css-imported-sheet-with-media-rule.txt LibWeb: Implement the "The html element fills the viewport quirk" 2023-05-03 20:44:30 +02:00
css-line-height-percentage-inheritance.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
css-pseudo-element-blockification.txt LibWeb: Implement the "The html element fills the viewport quirk" 2023-05-03 20:44:30 +02:00
css-pseudo-element-should-not-be-affected-by-inline-style.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
css-pseudo-element-should-not-be-affected-by-presentational-hints.txt LibWeb: Report border box width for tables in a block 2023-06-25 08:13:04 +02:00
css-var-in-calc-block.txt LibWeb: Expand CSS var() inside calc() paren blocks 2023-06-19 17:54:07 +02:00
display-table-inline-children.txt LibWeb: Output names of inner table boxes in layout dump 2023-05-29 21:36:17 +02:00
div_align.txt LibWeb: Implement the align attribute for divs 2023-06-16 06:55:21 +02:00
div_align_nested.txt LibWeb: Implement the align attribute for divs 2023-06-16 06:55:21 +02:00
flex-abspos-item-with-preceding-whitespace.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-auto.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-column-constained-wrap.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-column-constrained-nowrap.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-column-height-constrained-width-constrained.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-column-height-constrained.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-column-height-unconstrained.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-column-item-with-auto-height-and-max-width.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
flex-column-item-with-auto-height-depending-auto-width-with-max-width-constraint.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
flex-column-item-with-auto-height-depending-on-auto-width.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-container-constrained-nowrap.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-container-constrained-wrap.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-container-width-constrained.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-frozen-items-should-be-respected.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
flex-grow-0-column.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-grow-1.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-grow-2.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-item-auto-height-with-wrap.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-item-on-row-with-intrinsic-aspect-ratio.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
flex-item-vertical-padding-relative-to-flex-container-width.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-item-with-cyclic-percentage-height.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
flex-item-with-intrinsic-aspect-ratio.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
flex-margin-auto-justify-content.txt LibWeb: Implement the "The html element fills the viewport quirk" 2023-05-03 20:44:30 +02:00
flex-row.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-shrink-1.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-shrink-2.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
flex-shrink-3.txt LibWeb: Measure the overflow for all scroll containers 2023-06-01 13:33:35 +02:00
floating-non-replaced-element-percentage-padding-against-indefinite-width.txt LibWeb: Resolve padding against 0 and not inf for indefinite width more 2023-06-21 06:13:05 +02:00
floating-replaced-element-percentage-padding-against-indefinite-width.txt LibWeb: Resolve padding against 0 and not inf for indefinite width more 2023-06-21 06:13:05 +02:00
font-with-many-normal-values.txt LibWeb: Support CSS font shorthand with up to 4 consecutive normal 2023-07-04 16:25:23 +02:00
getComputedStyle-on-unconnected-element.txt LibWeb: Don't resolve CSS property values for unconnected elements 2023-05-10 17:27:07 +02:00
height-of-absolute-position-box-with-padding.txt LibWeb: Make CSSPixels and Length use 64-bit (double) floating point 2023-05-24 14:40:35 +02:00
image-display-block-margin-auto.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
image-with-multiple-constraint-violations.txt LibWeb: Improve handling of min/max constraint violations on images 2023-05-09 12:11:28 +02:00
img-with-box-sizing-border-box-and-padding.txt LibWeb: Take box-sizing into account when sizing replaced elements 2023-06-05 09:00:00 +02:00
img-with-percentage-max-width-and-indefinite-containing-block-width.txt Tests/LibWeb: Fix typo in test 2023-06-16 14:39:03 +02:00
img-with-percentage-max-width-and-min-content-containing-block-width.txt LibWeb: Resolve % min-sizes against 0 while under min-content constraint 2023-06-16 14:39:03 +02:00
inline-size.txt LibWeb: Unit tests for min/max-inline-size 2023-05-27 16:02:33 +02:00
input-element-with-display-inline.txt LibWeb: Make input element placeholders look better 2023-05-25 14:42:24 +02:00
inset-shorthand-property.txt LibWeb/Tests: Add missing newline in inset-shorthand-property.txt 2023-05-30 21:28:18 +02:00
lh-1.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
lh-2.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
line-height-calc-number.txt LibWeb: Support line-height: calc(...) values that resolve to number 2023-06-01 09:20:05 +02:00
link-sheet.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
negative-max-size.txt LibWeb: Bounds-check parsed CSS types 2023-06-02 17:46:35 +02:00
non-floating-non-replaced-element-percentage-padding-against-indefinite-width.txt LibWeb: Resolve padding against 0 and not inf for indefinite width more 2023-06-21 06:13:05 +02:00
overflow-x-hidden-with-border-radius.txt LibWeb: Implement the "The html element fills the viewport quirk" 2023-05-03 20:44:30 +02:00
percentage-max-height-when-containing-block-has-indefinite-height.txt LibWeb: Report border box width for tables in a block 2023-06-25 08:13:04 +02:00
picture-source-media-query.txt LibWeb: Skip children based on media when updating the source set 2023-05-28 12:11:10 +02:00
place-content-shorthand-property.txt LibWeb: Add support for parsing place-content shorthand CSS property 2023-06-01 09:06:13 +02:00
position-absolute-from-edges.txt LibWeb: Implement the "The html element fills the viewport quirk" 2023-05-03 20:44:30 +02:00
position-absolute-ignores-padding-of-position-relative-floating-parent.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
position-absolute-top-left.txt LibWeb: Show formatting context roots in layout tree dumps 2023-05-03 13:14:36 +02:00
pseudo-element-with-custom-properties-2.txt LibWeb: Resolve CSS custom properties on pseudo elements 2023-05-17 20:37:29 +02:00
pseudo-element-with-custom-properties.txt LibWeb: Resolve CSS custom properties on pseudo elements 2023-05-17 20:37:29 +02:00
replaced-box-with-vertical-margins.txt LibWeb: Implement the "The html element fills the viewport quirk" 2023-05-03 20:44:30 +02:00
resolve-cyclic-percentage-against-zero-when-available-size-is-min-content.txt LibWeb: Resolve cyclic % against 0 when available size is min-content 2023-06-08 13:54:11 +02:00
resolve-height-of-containing-block.txt LibWeb: Fix width calculation for floating replaced elements 2023-05-26 21:20:56 +02:00
set-margin-of-floating-box.txt LibWeb: Set margin, padding and border for replaced boxes 2023-05-30 10:09:47 +02:00
svg-preserve-aspect-ratio.txt LibWeb: Make CSSPixels and Length use 64-bit (double) floating point 2023-05-24 14:40:35 +02:00
svg-transforms-and-viewboxes.txt LibWeb: Force paintable to exist for SVG <g> elements 2023-07-02 01:31:18 +02:00
text-align-justify-with-forced-break.txt LibWeb: Don't justify text lines that end in a forced break 2023-06-10 21:46:33 +02:00
text-align-overflow.txt LibWeb: Avoid text-aligning content that is too long for its line box 2023-06-02 05:21:22 +02:00
text-indent.txt LibWeb: Basic support for CSS text-indent: <length-percentage> 2023-05-15 19:31:09 +02:00
tolerate-css-percentage-overshoot.txt LibWeb: Round lengths to 3 decimals after resolving from percentage 2023-06-01 18:13:42 +02:00
vertical-padding-relative-to-cb-width.txt LibWeb: Change calc node representation from float to double 2023-05-31 10:56:32 +02:00