diff --git a/Tests/LibWeb/Layout/expected/inline-block-treat-100pct-width-as-auto.txt b/Tests/LibWeb/Layout/expected/inline-block-treat-100pct-width-as-auto.txt new file mode 100644 index 00000000000..6eaa12dc29a --- /dev/null +++ b/Tests/LibWeb/Layout/expected/inline-block-treat-100pct-width-as-auto.txt @@ -0,0 +1,22 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (1,1) content-size 798x82.46875 [BFC] children: not-inline + BlockContainer at (10,10) content-size 780x0 children: not-inline + BlockContainer at (11,11) content-size 102.484375x71.46875 floating [BFC] children: not-inline + BlockContainer <(anonymous)> at (11,11) content-size 102.484375x19.46875 children: inline + line 0 width: 104.484375, height: 19.46875, bottom: 19.46875, baseline: 14.53125 + frag 0 from BlockContainer start: 0, length: 0, rect: [12,12 102.484375x17.46875] + BlockContainer at (12,12) content-size 102.484375x17.46875 inline-block [BFC] children: inline + line 0 width: 100.484375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 11, rect: [12,12 100.484375x17.46875] + "programming" + TextNode <#text> + BlockContainer at (12,31.46875) content-size 50x50 children: not-inline + +ViewportPaintable (Viewport<#document>) [0,0 800x600] + PaintableWithLines (BlockContainer) [0,0 800x84.46875] + PaintableWithLines (BlockContainer) [9,9 782x2] overflow: [10,10 104.484375x73.46875] + PaintableWithLines (BlockContainer
.outer) [10,10 104.484375x73.46875] overflow: [11,11 103.484375x71.46875] + PaintableWithLines (BlockContainer(anonymous)) [11,11 102.484375x19.46875] overflow: [11,11 103.484375x19.46875] + PaintableWithLines (BlockContainer
.first) [11,11 104.484375x19.46875] + TextPaintable (TextNode<#text>) + PaintableWithLines (BlockContainer
.second) [11,30.46875 52x52] diff --git a/Base/res/html/tests/inline-block-treat-100pct-width-as-auto.html b/Tests/LibWeb/Layout/input/inline-block-treat-100pct-width-as-auto.html similarity index 79% rename from Base/res/html/tests/inline-block-treat-100pct-width-as-auto.html rename to Tests/LibWeb/Layout/input/inline-block-treat-100pct-width-as-auto.html index 2e3aa27addf..b926f1a88ab 100644 --- a/Base/res/html/tests/inline-block-treat-100pct-width-as-auto.html +++ b/Tests/LibWeb/Layout/input/inline-block-treat-100pct-width-as-auto.html @@ -1,4 +1,3 @@ - -
programming
+
programming
\ No newline at end of file