From 09eed8eea2c6e7b5e89f8a3167019ce209ee27f7 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 3 Aug 2023 09:59:12 +0200 Subject: [PATCH] LibWeb+headless-browser: Include paint tree in layout test output This will give us a more comprehensive look at what actually gets rendered in the end, and also allows us to catch more behavior changes. --- .../abspos-box-with-replaced-element.txt | 6 + ...abspos-flex-container-with-auto-height.txt | 6 + ...bspos-image-with-min-height-constraint.txt | 5 + ...os-not-replaced-multiple-auto-variants.txt | 7 + .../abspos-with-percentage-insets.txt | 8 + Tests/LibWeb/Layout/expected/acid1.txt | 49 ++++ ...continue-to-inherit-style-after-change.txt | 8 + .../expected/aspect-ratio-auto-and-ratio.txt | 7 + .../Layout/expected/aspect-ratio-auto.txt | 7 + .../Layout/expected/aspect-ratio-ratio.txt | 7 + ...ed-abspos-element-must-not-be-negative.txt | 5 + ...ed-abspos-element-must-not-be-negative.txt | 5 + Tests/LibWeb/Layout/expected/blank.txt | 5 + ...bspos-with-auto-margins-in-inline-axis.txt | 7 + ...gainst-padding-box-of-containing-block.txt | 5 + ...-inline-with-percentage-vertical-align.txt | 6 + ...e-children-and-nonempty-floating-child.txt | 6 + ...-consider-all-currently-stacked-floats.txt | 15 + .../bfc-float-left-break-vertically-2.txt | 9 + .../bfc-float-left-break-vertically.txt | 11 + ...ock-with-fit-content-width-constraints.txt | 9 + .../block-with-fit-content-width.txt | 7 + ...block-with-hidden-overflow-after-float.txt | 16 ++ ...th-hidden-overflow-after-sibling-float.txt | 25 ++ .../block-with-max-content-width.txt | 13 + .../block-with-min-content-width.txt | 13 + ...egative-margin-and-no-intruding-floats.txt | 6 + .../box-with-clearance-and-margin-top.txt | 8 + ...ar-both-from-inline-formatting-context.txt | 11 + ...ear-both-without-introducing-clearance.txt | 9 + .../expected/block-and-inline/clearfix.txt | 11 + .../expected/block-and-inline/float-1.txt | 26 ++ .../expected/block-and-inline/float-2.txt | 10 + .../expected/block-and-inline/float-3.txt | 15 + .../expected/block-and-inline/float-4.txt | 13 + .../float-clear-by-line-break.txt | 12 + ...d-right-with-justified-text-in-between.txt | 7 + ...at-left-and-right-with-text-in-between.txt | 7 + .../block-and-inline/float-stress-1.txt | 17 ++ .../block-and-inline/float-stress-2.txt | 11 + .../block-and-inline/float-stress-3.txt | 10 + .../floats-and-negative-margins.txt | 9 + ...loat-left-and-sibling-with-margin-left.txt | 7 + .../inline-block-baseline-1.txt | 12 + .../inline-block-baseline-2.txt | 13 + ...nline-block-with-max-width-fit-content.txt | 6 + ...ht-and-auto-height-of-containing-block.txt | 7 + .../inline-box-positioned-with-top-left.txt | 8 + ...th-vertical-margins-vertical-align-top.txt | 7 + .../inline-box-with-vertical-margins.txt | 7 + ...rinsic-sizing-with-min-width-specified.txt | 6 + ...us-sibling-if-wrapped-in-anonymous-box.txt | 8 + .../block-and-inline/margin-collapse-1.txt | 10 + .../block-and-inline/margin-collapse-2.txt | 13 + .../block-and-inline/margin-collapse-3.txt | 9 + .../block-and-inline/margin-collapse-4.txt | 9 + .../block-and-inline/margin-collapse-5.txt | 7 + .../block-and-inline/margin-collapse-6.txt | 7 + ...in-must-not-collapse-across-nested-bfc.txt | 7 + .../margin-padding-block-inline-start.txt | 8 + .../margin-padding-block-inline.txt | 8 + ...max-width-for-box-with-inline-children.txt | 7 + .../max-width-must-not-expand-element.txt | 8 +- ...ontributes-to-intrinsic-size-of-parent.txt | 7 + .../max-width-percentage-100-border-box.txt | 6 + .../max-width-percentage-100.txt | 6 + ...bfc-width-to-avoid-overlap-with-floats.txt | 8 + ...n-height-with-containing-block-padding.txt | 7 + .../percentage-min-height.txt | 6 + ...ith-max-content-containing-block-width.txt | 6 + ...-with-indefinite-containing-block-size.txt | 5 + .../block-and-inline/relpos-block.txt | 8 + .../block-and-inline/relpos-float.txt | 8 + .../single-br-inline-layout.txt | 7 + ...ns-set-zero-if-containing-size-smaller.txt | 7 + ...y-layout-internal-box-without-crashing.txt | 10 + ...-box-for-definite-sizes-without-layout.txt | 7 + .../Layout/expected/calc-negate-length.txt | 6 + .../LibWeb/Layout/expected/css-all-unset.txt | 8 + .../Layout/expected/css-calc-border-width.txt | 5 + Tests/LibWeb/Layout/expected/css-ex-unit.txt | 5 + .../Layout/expected/css-font-size-calc.txt | 5 + .../Layout/expected/css-import-rule.txt | 5 + .../css-imported-sheet-with-media-rule.txt | 5 + ...css-line-height-percentage-inheritance.txt | 6 + .../expected/css-logical-inset-properties.txt | 6 + .../expected/css-namespace-rule-matches.txt | 8 + .../expected/css-namespace-rule-no-match.txt | 8 + .../css-pseudo-element-blockification.txt | 11 + ...should-not-be-affected-by-inline-style.txt | 7 + ...ot-be-affected-by-presentational-hints.txt | 10 + Tests/LibWeb/Layout/expected/css-revert.txt | 5 + .../css-snap-a-length-as-a-border-width.txt | 6 + .../css-values/comparison-functions.txt | 7 + .../css-values/exponential-functions.txt | 9 + .../expected/css-values/numeric-constants.txt | 6 + .../css-values/sign-related-functions.txt | 6 + .../css-values/stepped-value-functions.txt | 7 + .../css-values/trigonometric-functions.txt | 12 + .../Layout/expected/css-var-in-calc-block.txt | 5 + .../display-table-inline-children.txt | 13 + Tests/LibWeb/Layout/expected/div_align.txt | 24 ++ .../Layout/expected/div_align_nested.txt | 15 + ...-abspos-item-with-preceding-whitespace.txt | 6 + Tests/LibWeb/Layout/expected/flex-auto.txt | 12 + .../expected/flex-column-constained-wrap.txt | 12 + .../flex-column-constrained-nowrap.txt | 12 + ...n-height-constrained-width-constrained.txt | 12 + .../flex-column-height-constrained.txt | 12 + .../flex-column-height-unconstrained.txt | 12 + ...mn-item-with-auto-height-and-max-width.txt | 6 + ...g-auto-width-with-max-width-constraint.txt | 6 + ...th-auto-height-depending-on-auto-width.txt | 6 + .../flex-container-constrained-nowrap.txt | 12 + .../flex-container-constrained-wrap.txt | 12 + .../flex-container-width-constrained.txt | 12 + .../flex-frozen-items-should-be-respected.txt | 15 + .../Layout/expected/flex-grow-0-column.txt | 12 + Tests/LibWeb/Layout/expected/flex-grow-1.txt | 12 + Tests/LibWeb/Layout/expected/flex-grow-2.txt | 12 + .../flex-item-auto-height-with-wrap.txt | 7 + ...tem-on-row-with-intrinsic-aspect-ratio.txt | 5 + ...dding-relative-to-flex-container-width.txt | 8 + ...lex-item-with-cyclic-percentage-height.txt | 8 + .../flex-item-with-intrinsic-aspect-ratio.txt | 5 + .../flex-margin-auto-justify-content.txt | 12 + Tests/LibWeb/Layout/expected/flex-row.txt | 12 + .../LibWeb/Layout/expected/flex-shrink-1.txt | 12 + .../LibWeb/Layout/expected/flex-shrink-2.txt | 12 + .../LibWeb/Layout/expected/flex-shrink-3.txt | 12 + ...child-static-position-with-align-items.txt | 31 +++ ...d-static-position-with-justify-content.txt | 133 +++++++++ .../flex/align-keywords-start-and-end.txt | 18 ++ .../expected/flex/align-self-end-crash.txt | 5 + ...x-container-with-max-content-main-size.txt | 6 + ...-baseline-with-inline-flex-empty-child.txt | 7 + .../Layout/expected/flex/calc-flex-basis.txt | 13 + ...-sizing-border-box-and-nonzero-padding.txt | 7 + ...n-container-with-max-width-max-content.txt | 4 + ...-aspect-ratio-and-percentage-max-width.txt | 5 + ...-aspect-ratio-and-automatic-cross-size.txt | 6 + ...-column-item-with-percentage-max-width.txt | 7 + ...-cross-size-with-max-content-main-size.txt | 7 + ...width-and-negative-margin-in-same-axis.txt | 6 + .../flex/flex-gap-between-items-and-lines.txt | 13 + .../flex/flex-item-min-width-fit-content.txt | 10 + ...layout-dependent-containing-block-size.txt | 7 + ...-intrinsic-aspect-ratio-and-max-height.txt | 5 + ...flex-row-reverse-with-centered-content.txt | 11 + ...flex-shorthand-flex-basis-zero-percent.txt | 17 ++ .../inf-available-space-with-auto-margins.txt | 6 + ...ith-main-axis-margin-on-flex-container.txt | 6 + ...tem-that-only-has-natural-aspect-ratio.txt | 6 + .../expected/flex/justify-content-1.txt | 261 ++++++++++++++++++ ...tify-content-space-between-single-item.txt | 7 + ...justify-content-with-margin-auto-child.txt | 133 +++++++++ .../flex/list-container-display-contents.txt | 9 + ...column-container-with-automatic-height.txt | 8 + ...is-with-indefinite-flex-container-size.txt | 7 + .../Layout/expected/flex/relpos-flex-item.txt | 8 + ...ut-with-space-between-and-space-around.txt | 35 +++ ...-suggestion-with-box-sizing-border-box.txt | 6 + .../flex/stretch-alignment-with-cross-gap.txt | 11 + ...ntage-padding-against-indefinite-width.txt | 7 + ...ntage-padding-against-indefinite-width.txt | 7 + .../expected/font-with-many-normal-values.txt | 15 + ...etComputedStyle-on-unconnected-element.txt | 5 + .../Layout/expected/grid/align-items.txt | 22 ++ .../Layout/expected/grid/align-self.txt | 22 ++ .../expected/grid/all-implicit-rows.txt | 14 + .../expected/grid/anonymous-inline-child.txt | 7 + .../LibWeb/Layout/expected/grid/auto-fill.txt | 11 + .../grid/auto-fit-collapse-empty-tracks.txt | 7 + .../LibWeb/Layout/expected/grid/auto-fit.txt | 11 + .../Layout/expected/grid/auto-track-sizes.txt | 9 + Tests/LibWeb/Layout/expected/grid/basic-2.txt | 9 + Tests/LibWeb/Layout/expected/grid/basic.txt | 13 + Tests/LibWeb/Layout/expected/grid/borders.txt | 53 ++++ .../Layout/expected/grid/calc-track-size.txt | 8 + .../Layout/expected/grid/column-1fr-1fr.txt | 7 + .../Layout/expected/grid/column-auto-auto.txt | 7 + .../expected/grid/different-column-sizes.txt | 13 + ...bute-extra-space-across-spanned-tracks.txt | 13 + .../grid/float-container-columns-1fr-1fr.txt | 13 + .../Layout/expected/grid/grid-gap-1.txt | 13 + .../Layout/expected/grid/grid-gap-2.txt | 9 + .../Layout/expected/grid/grid-gap-3.txt | 7 + .../grid/grid-item-fixed-paddings.txt | 14 + .../expected/grid/grid-item-fixed-size.txt | 7 + .../grid-item-horizontal-margins-auto.txt | 24 ++ .../expected/grid/grid-item-min-size.txt | 9 + .../grid/grid-item-percentage-margins.txt | 8 + .../grid/grid-item-percentage-width-2.txt | 7 + .../grid/grid-item-percentage-width.txt | 9 + .../grid/grid-item-with-fit-content-width.txt | 6 + ...id-row-height-affected-by-item-margins.txt | 6 + .../expected/grid/grid-shorthand-property.txt | 6 + .../grid/grid-template-areas-basics.txt | 11 + ...template-columns-with-min-css-function.txt | 6 + .../Layout/expected/grid/grid-template.txt | 20 ++ .../expected/grid/grow-beyond-limits.txt | 7 + .../Layout/expected/grid/image-in-grid.txt | 7 + .../expected/grid/inline-grid-simple.txt | 6 + .../expected/grid/intrinsic-sized-column.txt | 8 + .../expected/grid/intrinsic-sized-grid-2.txt | 9 + .../expected/grid/intrinsic-sized-grid.txt | 7 + .../expected/grid/item-column-span-2.txt | 9 + .../grid/item-span-exceeds-columns-size.txt | 6 + .../Layout/expected/grid/justify-items.txt | 16 ++ .../Layout/expected/grid/justify-self.txt | 10 + .../Layout/expected/grid/min-max-content.txt | 11 + .../LibWeb/Layout/expected/grid/minmax-1.txt | 9 + .../LibWeb/Layout/expected/grid/minmax-2.txt | 9 + .../LibWeb/Layout/expected/grid/minmax-3.txt | 11 + .../grid/minmax-auto-track-definition.txt | 6 + .../Layout/expected/grid/minmax-invalid-1.txt | 9 + .../grid/minmax-with-max-function-inside.txt | 13 + .../Layout/expected/grid/named-tracks.txt | 29 ++ .../grid/negative-grid-item-column-index.txt | 24 ++ .../expected/grid/place-items-center.txt | 6 + .../expected/grid/positions-and-spans.txt | 27 ++ .../Layout/expected/grid/relpos-grid-item.txt | 8 + Tests/LibWeb/Layout/expected/grid/repeat.txt | 27 ++ Tests/LibWeb/Layout/expected/grid/row-1fr.txt | 5 + .../Layout/expected/grid/row-height.txt | 13 + .../expected/grid/row-span-2-maxcontent.txt | 11 + .../expected/grid/row-span-2-mincontent.txt | 11 + .../expected/grid/row-span-2-with-gaps.txt | 11 + .../Layout/expected/grid/row-span-2.txt | 11 + .../Layout/expected/grid/rows-1fr-1fr.txt | 8 + .../grid/template-lines-and-areas.txt | 9 + .../grid/track-size-calc-with-percentage.txt | 8 + .../grid/unresolvable-percentage-track.txt | 8 + .../expected/grid/valid-grid-areas-1.txt | 7 + .../expected/grid/vertical-margins-auto.txt | 7 + ...-of-absolute-position-box-with-padding.txt | 7 + .../image-display-block-margin-auto.txt | 5 + ...ge-with-multiple-constraint-violations.txt | 5 + ...with-box-sizing-border-box-and-padding.txt | 6 + ...-and-indefinite-containing-block-width.txt | 6 + ...and-min-content-containing-block-width.txt | 5 + Tests/LibWeb/Layout/expected/inline-size.txt | 10 + .../input-element-with-display-inline.txt | 7 + .../expected/inset-shorthand-property.txt | 9 + Tests/LibWeb/Layout/expected/lh-1.txt | 6 + Tests/LibWeb/Layout/expected/lh-2.txt | 6 + .../expected/line-height-calc-number.txt | 6 + Tests/LibWeb/Layout/expected/link-sheet.txt | 5 + ...late-block-components-whitespace-crash.txt | 4 + .../misc/percentage-stroke-width-crash.txt | 4 + .../Layout/expected/negative-max-size.txt | 6 + ...ntage-padding-against-indefinite-width.txt | 7 + .../overflow-x-hidden-with-border-radius.txt | 6 + ...containing-block-has-indefinite-height.txt | 27 ++ .../expected/picture-source-media-query.txt | 7 + .../place-content-shorthand-property.txt | 7 + .../expected/position-absolute-from-edges.txt | 9 + ...g-of-position-relative-floating-parent.txt | 7 + .../expected/position-absolute-top-left.txt | 22 ++ .../position-empty-pseudo-elements.txt | 9 + Tests/LibWeb/Layout/expected/pre.txt | 6 + ...seudo-element-with-custom-properties-2.txt | 17 ++ .../pseudo-element-with-custom-properties.txt | 6 + .../replaced-box-with-vertical-margins.txt | 7 + ...ero-when-available-size-is-min-content.txt | 16 ++ .../resolve-height-of-containing-block.txt | 16 ++ .../expected/set-margin-of-floating-box.txt | 10 + .../expected/svg-preserve-aspect-ratio.txt | 41 +++ .../expected/svg-transforms-and-viewboxes.txt | 36 +++ ...with-indefinite-containing-block-width.txt | 5 + .../svg/svg-as-image-implicit-viewbox.txt | 5 + .../expected/svg/svg-as-image-invalid.txt | 5 + .../Layout/expected/svg/svg-as-image.txt | 5 + .../expected/svg/svg-fill-with-bogus-url.txt | 6 + .../Layout/expected/svg/svg-inside-svg.txt | 8 + .../svg-intrinsic-size-in-one-dimension.txt | 8 + .../svg-negative-elliptical-arg-number.txt | 6 + .../svg/svg-path-with-implicit-lineto.txt | 6 + .../expected/svg/svg-symbol-with-viewbox.txt | 7 + ...with-css-variable-in-presentation-hint.txt | 6 + .../expected/svg/svg-with-display-block.txt | 6 + ...ith-zero-intrinsic-size-and-no-viewbox.txt | 8 + .../Layout/expected/svg/text-fill-none.txt | 6 + .../expected/table/align-top-and-bottom.txt | 17 ++ .../Layout/expected/table/auto-height.txt | 17 ++ .../Layout/expected/table/auto-margins.txt | 10 + .../avoid-div-by-zero-in-table-measures.txt | 10 + Tests/LibWeb/Layout/expected/table/basic.txt | 24 ++ .../table/border-collapse-is-inherited.txt | 48 ++++ .../border-conflict-resolution-with-cell.txt | 21 ++ .../border-conflict-resolution-with-col.txt | 22 ++ .../border-conflict-resolution-with-row.txt | 22 ++ ...rder-conflict-resolution-with-rowgroup.txt | 23 ++ ...border-spacing-and-borders-table-width.txt | 12 + .../expected/table/border-spacing-colspan.txt | 43 +++ .../expected/table/border-spacing-rowspan.txt | 43 +++ .../border-spacing-with-percentage-width.txt | 14 + .../Layout/expected/table/border-spacing.txt | 45 +++ .../LibWeb/Layout/expected/table/borders.txt | 78 ++++++ .../Layout/expected/table/bottom-caption.txt | 22 ++ ...-auto-max-width-table-percentage-width.txt | 17 ++ .../Layout/expected/table/cell-px-height.txt | 7 + ...cell-relative-to-specified-table-width.txt | 21 ++ .../table/clip-spans-to-table-end.txt | 22 ++ .../table/colspan-percentage-width.txt | 19 ++ .../colspan-weighted-width-distribution.txt | 15 + .../table/colspan-width-distribution.txt | 18 ++ .../table/columns-width-distribution-1.txt | 12 + .../Layout/expected/table/fixed-margins.txt | 10 + .../table/in-auto-height-flex-item.txt | 10 + .../expected/table/inline-table-width.txt | 18 ++ .../table/long-caption-increases-width.txt | 28 ++ .../Layout/expected/table/multi-line-cell.txt | 14 + .../expected/table/nested-table-box-width.txt | 28 ++ .../table/percentage-width-columns.txt | 14 + .../propagate-style-update-to-wrapper.txt | 9 + .../row-outer-size-with-computed-size.txt | 14 + .../Layout/expected/table/row-px-height.txt | 7 + .../table/row-span-and-nested-tables.txt | 31 +++ .../table/rows-height-distribution-1.txt | 10 + .../table/rows-height-distribution-2.txt | 10 + .../table/rows-height-distribution-3.txt | 12 + .../table/rows-height-distribution-4.txt | 12 + .../LibWeb/Layout/expected/table/rowspan.txt | 36 +++ Tests/LibWeb/Layout/expected/table/size.txt | 12 + .../table/stretch-to-fixed-height.txt | 8 + ...percentage-column-widths-less-than-100.txt | 14 + ...e-formation-with-rowspan-in-the-middle.txt | 28 ++ .../table/table-header-and-footer-groups.txt | 13 + .../Layout/expected/table/table-width.txt | 9 + .../Layout/expected/table/td-valign.txt | 14 + .../table/top-caption-with-padding.txt | 12 + ...strained-columns-increased-size-on-col.txt | 12 + ...on-and-constrained-columns-size-on-col.txt | 12 + ...h-distribution-and-constrained-columns.txt | 12 + ...th-distribution-of-max-width-increment.txt | 14 + .../expected/table/zero-columns-gridmax.txt | 8 + .../text-align-justify-with-forced-break.txt | 8 + .../Layout/expected/text-align-overflow.txt | 9 +- Tests/LibWeb/Layout/expected/text-indent.txt | 11 + .../tolerate-css-percentage-overshoot.txt | 7 + .../expected/transform-calc-length-values.txt | 4 + .../vertical-padding-relative-to-cb-width.txt | 11 + .../WebContent/ConnectionFromClient.cpp | 16 ++ .../WebContent/ConnectionFromClient.h | 1 + .../Services/WebContent/WebContentServer.ipc | 1 + Userland/Utilities/headless-browser.cpp | 14 +- 347 files changed, 4397 insertions(+), 4 deletions(-) diff --git a/Tests/LibWeb/Layout/expected/abspos-box-with-replaced-element.txt b/Tests/LibWeb/Layout/expected/abspos-box-with-replaced-element.txt index dc6cd03789..98ccd2f2b3 100644 --- a/Tests/LibWeb/Layout/expected/abspos-box-with-replaced-element.txt +++ b/Tests/LibWeb/Layout/expected/abspos-box-with-replaced-element.txt @@ -5,3 +5,9 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline line 0 width: 250, height: 25.25, bottom: 25.25, baseline: 25.25 frag 0 from ImageBox start: 0, length: 0, rect: [262,12 248x23.25] ImageBox at (262,12) content-size 248x23.25 children: not-inline + +PaintableWithLines (Viewport<#document>) [0,0 800x600] + PaintableWithLines (BlockContainer) [0,0 800x2] overflow: [9,9 502x102] + PaintableWithLines (BlockContainer) [9,9 502x102] + PaintableWithLines (BlockContainer
.image-container) [260,10 250x27.25] overflow: [261,11 249x25.25] + ImagePaintable (ImageBox) [261,11 250x25.25] diff --git a/Tests/LibWeb/Layout/expected/abspos-flex-container-with-auto-height.txt b/Tests/LibWeb/Layout/expected/abspos-flex-container-with-auto-height.txt index 85ce72af3c..c3a759ea2e 100644 --- a/Tests/LibWeb/Layout/expected/abspos-flex-container-with-auto-height.txt +++ b/Tests/LibWeb/Layout/expected/abspos-flex-container-with-auto-height.txt @@ -6,3 +6,9 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline frag 0 from TextNode start: 0, length: 60, rect: [10,10 510.859375x17.46875] "Diese Website nutzt Cookies und vergleichbare Funktionen zur" TextNode <#text> + +PaintableWithLines (Viewport<#document>) [0,0 800x600] + PaintableWithLines (BlockContainer) [0,0 800x2] overflow: [8,8 514.859375x21.46875] + PaintableBox (Box) [8,8 514.859375x21.46875] + PaintableWithLines (BlockContainer
) [9,9 512.859375x19.46875] + TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/abspos-image-with-min-height-constraint.txt b/Tests/LibWeb/Layout/expected/abspos-image-with-min-height-constraint.txt index 57a613234f..cd4f5d6c95 100644 --- a/Tests/LibWeb/Layout/expected/abspos-image-with-min-height-constraint.txt +++ b/Tests/LibWeb/Layout/expected/abspos-image-with-min-height-constraint.txt @@ -2,3 +2,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (0,0) content-size 800x16 [BFC] children: not-inline BlockContainer at (8,8) content-size 784x0 children: not-inline ImageBox at (8,8) content-size 800x600 positioned children: not-inline + +PaintableWithLines (Viewport<#document>) [0,0 800x600] overflow: [0,0 808x608] + PaintableWithLines (BlockContainer) [0,0 800x16] overflow: [0,0 808x608] + PaintableWithLines (BlockContainer) [8,8 784x0] overflow: [8,8 800x600] + ImagePaintable (ImageBox#zero-dimensions-but-min-percentages) [8,8 800x600] diff --git a/Tests/LibWeb/Layout/expected/abspos-not-replaced-multiple-auto-variants.txt b/Tests/LibWeb/Layout/expected/abspos-not-replaced-multiple-auto-variants.txt index fc0e444e9d..e164088059 100644 --- a/Tests/LibWeb/Layout/expected/abspos-not-replaced-multiple-auto-variants.txt +++ b/Tests/LibWeb/Layout/expected/abspos-not-replaced-multiple-auto-variants.txt @@ -8,3 +8,10 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer at (11,11) content-size 10x10 positioned [BFC] children: not-inline TextNode <#text> + +PaintableWithLines (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x602] + PaintableWithLines (BlockContainer) [0,0 800x602] + PaintableWithLines (BlockContainer) [9,9 782x2] + PaintableWithLines (BlockContainer
.only-t-l) [5,5 12x12] + PaintableWithLines (BlockContainer
.only-mt-ml) [15,15 12x12] + PaintableWithLines (BlockContainer
.both) [10,10 12x12] diff --git a/Tests/LibWeb/Layout/expected/abspos-with-percentage-insets.txt b/Tests/LibWeb/Layout/expected/abspos-with-percentage-insets.txt index b3b67d8d3e..95542ace12 100644 --- a/Tests/LibWeb/Layout/expected/abspos-with-percentage-insets.txt +++ b/Tests/LibWeb/Layout/expected/abspos-with-percentage-insets.txt @@ -12,3 +12,11 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline "two" TextNode <#text> TextNode <#text> + +PaintableWithLines (Viewport<#document>) [0,0 800x600] + PaintableWithLines (BlockContainer) [0,0 800x2] overflow: [9,9 502x402] + PaintableWithLines (BlockContainer) [9,9 502x402] + PaintableWithLines (BlockContainer
.one) [310,210 30.6875x19.46875] + TextPaintable (TextNode<#text>) + PaintableWithLines (BlockContainer
.two) [329.5625,350.53125 30.4375x19.46875] + TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/acid1.txt b/Tests/LibWeb/Layout/expected/acid1.txt index 6932035f2e..6596d426c3 100644 --- a/Tests/LibWeb/Layout/expected/acid1.txt +++ b/Tests/LibWeb/Layout/expected/acid1.txt @@ -133,3 +133,52 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> at (20,399.921875) content-size 480x0 children: inline TextNode <#text> + +PaintableWithLines (Viewport<#document>) [0,0 800x600] + PaintableWithLines (BlockContainer) [0,0 800x419.921875] + PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0] + PaintableWithLines (BlockContainer) [15,15 490x389.921875] + PaintableWithLines (BlockContainer(anonymous)) [20,20 480x0] + PaintableWithLines (BlockContainer
) [20,20 480x10] + PaintableWithLines (BlockContainer
) [25,25 79.984375x310] + TextPaintable (TextNode<#text>) + PaintableWithLines (BlockContainer
) [115,25 380x310] + PaintableWithLines (BlockContainer(anonymous)) [135,45 340x0] + PaintableWithLines (BlockContainer