1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-18 10:31:00 +00:00
serenity/Tests/LibWeb/Layout/expected
Karol Kosek 142d498f14 LibWeb: Include anonymous boxes with no lines into computing BFC height
Pseudo-elements like ::before and ::after were discarded when their
content property was an empty string (ignoring whitespace), because they
are anonymous containers with no lines.

Our previous way around it was to add an empty line box (see b062a0fb7c)
however it didn't actually work for cases described in the previous
commit.

This makes avatars and cover arts square on last.fm and "fixes" the test
css-pseudo-element-should-not-be-affected-by-presentational-hints.html.
Unfortunately, this also regresses on block-and-inline/clearfix.html,
but that hopefully will be handled in subsequent commit.
2023-08-02 17:35:54 +02:00
..
block-and-inline LibWeb: Set max-width for inline child boxes after inside layout 2023-08-02 05:27:56 +02:00
css-values LibWeb: Add tests for calc function nodes 2023-08-01 14:39:31 +02:00
flex LibWeb: Ignore flex container size constraints during intrinsic sizing 2023-08-01 20:15:20 +02:00
grid LibWeb: Use item minimum contribution while sizing "fr" track in GFC 2023-08-01 16:25:10 +02:00
misc LibWeb: Handle leading whitespace in grid-template-* block components 2023-06-18 13:41:15 +02:00
svg LibWeb: Use viewbox attribute in SVG symbol element 2023-08-01 14:40:51 +02:00
table LibWeb: Only derive baseline from children with a non-empty line box 2023-07-28 17:02:33 +02:00
abspos-box-with-replaced-element.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +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
abspos-not-replaced-multiple-auto-variants.txt LibWeb: Fix absolute positioning issues 2023-07-08 06:13:56 +02:00
abspos-with-percentage-insets.txt LibWeb: Resolve % top and bottom insets against containing block height 2023-07-08 10:51:12 +02:00
acid1.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
anonymous-wrappers-continue-to-inherit-style-after-change.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +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: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
calc-negate-length.txt LibWeb: Fix off-by-one in CSS calc() "negate" operation 2023-05-17 07:40:17 +02:00
css-all-unset.txt LibWeb: Implement the CSS all property 2023-07-29 19:16:08 +02:00
css-calc-border-width.txt LibWeb: Match math function values to properties in correct order 2023-07-30 14:18:13 +02:00
css-ex-unit.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
css-font-size-calc.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
css-import-rule.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
css-imported-sheet-with-media-rule.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
css-line-height-percentage-inheritance.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
css-logical-inset-properties.txt LibWeb: Add logical CSS properties for insets 2023-07-14 05:55:32 +02:00
css-namespace-rule-matches.txt LibWeb: Rough implementation of CSS namespace rule 2023-07-30 20:27:19 +01:00
css-namespace-rule-no-match.txt LibWeb: Rough implementation of CSS namespace rule 2023-07-30 20:27:19 +01: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: Include anonymous boxes with no lines into computing BFC height 2023-08-02 17:35:54 +02:00
css-pseudo-element-should-not-be-affected-by-presentational-hints.txt LibWeb: Include anonymous boxes with no lines into computing BFC height 2023-08-02 17:35:54 +02:00
css-revert.txt LibWeb: Implement the CSS revert keyword 2023-07-29 19:16:08 +02:00
css-snap-a-length-as-a-border-width.txt LibWeb: Add and use the "snap a length as a border width" algorithm 2023-07-30 22:18:26 +01: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: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
div_align_nested.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
flex-abspos-item-with-preceding-whitespace.txt LibWeb: Fix absolute positioning issues 2023-07-08 06:13:56 +02:00
flex-auto.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +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: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
flex-column-height-constrained-width-constrained.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
flex-column-height-constrained.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +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: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
flex-column-item-with-auto-height-depending-auto-width-with-max-width-constraint.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
flex-column-item-with-auto-height-depending-on-auto-width.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
flex-container-constrained-nowrap.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +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: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +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: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
flex-grow-2.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +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: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
flex-shrink-2.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +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: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
getComputedStyle-on-unconnected-element.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
height-of-absolute-position-box-with-padding.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +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: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +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: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
inline-size.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
input-element-with-display-inline.txt LibWeb: Only derive baseline from children with a non-empty line box 2023-07-28 17:02:33 +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: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
position-absolute-from-edges.txt LibWeb: Fix absolute positioning issues 2023-07-08 06:13:56 +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
position-empty-pseudo-elements.txt LibWeb: Include anonymous boxes with no lines into computing BFC height 2023-08-02 17:35:54 +02:00
pre.txt LibWeb: Fix whitespace getting trimmed incorrectly 2023-07-17 21:47:34 +02:00
pseudo-element-with-custom-properties-2.txt LibWeb: Include anonymous boxes with no lines into computing BFC height 2023-08-02 17:35:54 +02:00
pseudo-element-with-custom-properties.txt LibWeb: Include anonymous boxes with no lines into computing BFC height 2023-08-02 17:35:54 +02:00
replaced-box-with-vertical-margins.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
resolve-cyclic-percentage-against-zero-when-available-size-is-min-content.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +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: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
svg-transforms-and-viewboxes.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
text-align-justify-with-forced-break.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +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: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
tolerate-css-percentage-overshoot.txt LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
transform-calc-length-values.txt LibWeb: Resolve calc() values in CSS transform 2023-07-15 11:35:16 +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