diff --git a/Tests/LibWeb/Layout/expected/grid/named-tracks.txt b/Tests/LibWeb/Layout/expected/grid/named-tracks.txt deleted file mode 100644 index 7d849511fa2..00000000000 --- a/Tests/LibWeb/Layout/expected/grid/named-tracks.txt +++ /dev/null @@ -1,119 +0,0 @@ -Viewport <#document> at (0,0) content-size 800x600 children: not-inline - BlockContainer at (0,0) content-size 800x600 [BFC] children: not-inline - BlockContainer at (8,8) content-size 784x127.40625 children: not-inline - Box at (8,8) content-size 784x34.9375 [GFC] children: not-inline - BlockContainer <(anonymous)> (not painted) [BFC] children: inline - TextNode <#text> - BlockContainer at (8,8) content-size 392x17.46875 [BFC] children: inline - line 0 width: 6.34375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 - frag 0 from TextNode start: 0, length: 1, rect: [8,8 6.34375x17.46875] - "1" - TextNode <#text> - BlockContainer <(anonymous)> (not painted) [BFC] children: inline - TextNode <#text> - BlockContainer at (8,25.46875) content-size 392x17.46875 [BFC] children: inline - line 0 width: 8.8125, height: 17.46875, bottom: 17.46875, baseline: 13.53125 - frag 0 from TextNode start: 0, length: 1, rect: [8,25.46875 8.8125x17.46875] - "2" - TextNode <#text> - BlockContainer <(anonymous)> (not painted) [BFC] children: inline - TextNode <#text> - BlockContainer <(anonymous)> at (8,42.9375) content-size 784x0 children: inline - TextNode <#text> - TextNode <#text> - TextNode <#text> - Box at (8,42.9375) content-size 784x75 [GFC] children: not-inline - BlockContainer <(anonymous)> (not painted) [BFC] children: inline - TextNode <#text> - BlockContainer at (8,42.9375) content-size 261.328125x25 [BFC] children: inline - line 0 width: 6.34375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 - frag 0 from TextNode start: 0, length: 1, rect: [8,42.9375 6.34375x17.46875] - "1" - TextNode <#text> - BlockContainer <(anonymous)> (not painted) [BFC] children: inline - TextNode <#text> - BlockContainer at (8,42.9375) content-size 261.328125x25 [BFC] children: inline - line 0 width: 8.8125, height: 17.46875, bottom: 17.46875, baseline: 13.53125 - frag 0 from TextNode start: 0, length: 1, rect: [8,42.9375 8.8125x17.46875] - "2" - TextNode <#text> - BlockContainer <(anonymous)> (not painted) [BFC] children: inline - TextNode <#text> - BlockContainer at (8,42.9375) content-size 261.328125x25 [BFC] children: inline - line 0 width: 9.09375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 - frag 0 from TextNode start: 0, length: 1, rect: [8,42.9375 9.09375x17.46875] - "3" - TextNode <#text> - BlockContainer <(anonymous)> (not painted) [BFC] children: inline - TextNode <#text> - BlockContainer at (8,42.9375) content-size 261.328125x25 [BFC] children: inline - line 0 width: 7.75, height: 17.46875, bottom: 17.46875, baseline: 13.53125 - frag 0 from TextNode start: 0, length: 1, rect: [8,42.9375 7.75x17.46875] - "4" - TextNode <#text> - BlockContainer <(anonymous)> (not painted) [BFC] children: inline - TextNode <#text> - BlockContainer <(anonymous)> at (8,117.9375) content-size 784x0 children: inline - TextNode <#text> - TextNode <#text> - TextNode <#text> - Box at (8,117.9375) content-size 784x17.46875 [GFC] children: not-inline - BlockContainer <(anonymous)> (not painted) [BFC] children: inline - TextNode <#text> - BlockContainer at (8,117.9375) content-size 50x17.46875 [BFC] children: inline - line 0 width: 6.34375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 - frag 0 from TextNode start: 0, length: 1, rect: [8,117.9375 6.34375x17.46875] - "1" - TextNode <#text> - BlockContainer <(anonymous)> (not painted) [BFC] children: inline - TextNode <#text> - BlockContainer at (58,117.9375) content-size 100x17.46875 [BFC] children: inline - line 0 width: 8.8125, height: 17.46875, bottom: 17.46875, baseline: 13.53125 - frag 0 from TextNode start: 0, length: 1, rect: [58,117.9375 8.8125x17.46875] - "2" - TextNode <#text> - BlockContainer <(anonymous)> (not painted) [BFC] children: inline - TextNode <#text> - BlockContainer at (158,117.9375) content-size 50x17.46875 [BFC] children: inline - line 0 width: 9.09375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 - frag 0 from TextNode start: 0, length: 1, rect: [158,117.9375 9.09375x17.46875] - "3" - TextNode <#text> - BlockContainer <(anonymous)> (not painted) [BFC] children: inline - TextNode <#text> - BlockContainer at (208,117.9375) content-size 100x17.46875 [BFC] children: inline - line 0 width: 7.75, height: 17.46875, bottom: 17.46875, baseline: 13.53125 - frag 0 from TextNode start: 0, length: 1, rect: [208,117.9375 7.75x17.46875] - "4" - TextNode <#text> - BlockContainer <(anonymous)> (not painted) [BFC] children: inline - TextNode <#text> - -ViewportPaintable (Viewport<#document>) [0,0 800x600] - PaintableWithLines (BlockContainer) [0,0 800x600] - PaintableWithLines (BlockContainer) [8,8 784x127.40625] - PaintableBox (Box
.grid-container) [8,8 784x34.9375] - PaintableWithLines (BlockContainer
.grid-item) [8,8 392x17.46875] - TextPaintable (TextNode<#text>) - PaintableWithLines (BlockContainer
.grid-item) [8,25.46875 392x17.46875] - TextPaintable (TextNode<#text>) - PaintableWithLines (BlockContainer(anonymous)) [8,42.9375 784x0] - PaintableBox (Box
.grid-container) [8,42.9375 784x75] - PaintableWithLines (BlockContainer
.grid-item) [8,42.9375 261.328125x25] - TextPaintable (TextNode<#text>) - PaintableWithLines (BlockContainer
.grid-item) [8,42.9375 261.328125x25] - TextPaintable (TextNode<#text>) - PaintableWithLines (BlockContainer
.grid-item) [8,42.9375 261.328125x25] - TextPaintable (TextNode<#text>) - PaintableWithLines (BlockContainer
.grid-item) [8,42.9375 261.328125x25] - TextPaintable (TextNode<#text>) - PaintableWithLines (BlockContainer(anonymous)) [8,117.9375 784x0] - PaintableBox (Box
.grid-container) [8,117.9375 784x17.46875] - PaintableWithLines (BlockContainer
.grid-item) [8,117.9375 50x17.46875] - TextPaintable (TextNode<#text>) - PaintableWithLines (BlockContainer
.grid-item) [58,117.9375 100x17.46875] - TextPaintable (TextNode<#text>) - PaintableWithLines (BlockContainer
.grid-item) [158,117.9375 50x17.46875] - TextPaintable (TextNode<#text>) - PaintableWithLines (BlockContainer
.grid-item) [208,117.9375 100x17.46875] - TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/grid/placement-using-named-tracks-1.txt b/Tests/LibWeb/Layout/expected/grid/placement-using-named-tracks-1.txt new file mode 100644 index 00000000000..8efbfbb613e --- /dev/null +++ b/Tests/LibWeb/Layout/expected/grid/placement-using-named-tracks-1.txt @@ -0,0 +1,23 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (1,1) content-size 798x600 [BFC] children: not-inline + BlockContainer at (10,10) content-size 780x40.9375 children: not-inline + Box at (11,11) content-size 778x38.9375 [GFC] children: not-inline + BlockContainer at (12,12) content-size 387x17.46875 [BFC] children: inline + line 0 width: 6.34375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 1, rect: [12,12 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer at (12,31.46875) content-size 387x17.46875 [BFC] children: inline + line 0 width: 8.8125, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 1, rect: [12,31.46875 8.8125x17.46875] + "2" + TextNode <#text> + +ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x602] + PaintableWithLines (BlockContainer) [0,0 800x602] + PaintableWithLines (BlockContainer) [9,9 782x42.9375] + PaintableBox (Box
.grid-container) [10,10 780x40.9375] + PaintableWithLines (BlockContainer
.a) [11,11 389x19.46875] + TextPaintable (TextNode<#text>) + PaintableWithLines (BlockContainer
.b) [11,30.46875 389x19.46875] + TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/grid/placement-using-named-tracks-2.txt b/Tests/LibWeb/Layout/expected/grid/placement-using-named-tracks-2.txt new file mode 100644 index 00000000000..3a81088f685 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/grid/placement-using-named-tracks-2.txt @@ -0,0 +1,37 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (1,1) content-size 798x600 [BFC] children: not-inline + BlockContainer at (10,10) content-size 780x77 children: not-inline + Box at (11,11) content-size 778x75 [GFC] children: not-inline + BlockContainer at (12,12) content-size 257.328125x23 [BFC] children: inline + line 0 width: 6.34375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 1, rect: [12,12 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer at (12,12) content-size 257.328125x23 [BFC] children: inline + line 0 width: 8.8125, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 1, rect: [12,12 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer at (12,12) content-size 257.328125x23 [BFC] children: inline + line 0 width: 9.09375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 1, rect: [12,12 9.09375x17.46875] + "3" + TextNode <#text> + BlockContainer at (12,12) content-size 257.328125x23 [BFC] children: inline + line 0 width: 7.75, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 1, rect: [12,12 7.75x17.46875] + "4" + TextNode <#text> + +ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x602] + PaintableWithLines (BlockContainer) [0,0 800x602] + PaintableWithLines (BlockContainer) [9,9 782x79] + PaintableBox (Box
.grid-container) [10,10 780x77] + PaintableWithLines (BlockContainer
.grid-item.a) [11,11 259.328125x25] + TextPaintable (TextNode<#text>) + PaintableWithLines (BlockContainer
.grid-item.b) [11,11 259.328125x25] + TextPaintable (TextNode<#text>) + PaintableWithLines (BlockContainer
.grid-item.c) [11,11 259.328125x25] + TextPaintable (TextNode<#text>) + PaintableWithLines (BlockContainer
.grid-item.d) [11,11 259.328125x25] + TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/grid/placement-using-named-tracks-3.txt b/Tests/LibWeb/Layout/expected/grid/placement-using-named-tracks-3.txt new file mode 100644 index 00000000000..aa35a12ed04 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/grid/placement-using-named-tracks-3.txt @@ -0,0 +1,37 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (1,1) content-size 798x600 [BFC] children: not-inline + BlockContainer at (10,10) content-size 780x21.46875 children: not-inline + Box at (11,11) content-size 778x19.46875 [GFC] children: not-inline + BlockContainer at (12,12) content-size 48x17.46875 [BFC] children: inline + line 0 width: 6.34375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 1, rect: [12,12 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer
at (62,12) content-size 98x17.46875 [BFC] children: inline + line 0 width: 8.8125, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 1, rect: [62,12 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer
at (162,12) content-size 48x17.46875 [BFC] children: inline + line 0 width: 9.09375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 1, rect: [162,12 9.09375x17.46875] + "3" + TextNode <#text> + BlockContainer
at (212,12) content-size 98x17.46875 [BFC] children: inline + line 0 width: 7.75, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 1, rect: [212,12 7.75x17.46875] + "4" + TextNode <#text> + +ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x602] + PaintableWithLines (BlockContainer) [0,0 800x602] + PaintableWithLines (BlockContainer) [9,9 782x23.46875] + PaintableBox (Box
.grid-container) [10,10 780x21.46875] + PaintableWithLines (BlockContainer
.a) [11,11 50x19.46875] + TextPaintable (TextNode<#text>) + PaintableWithLines (BlockContainer
) [61,11 100x19.46875] + TextPaintable (TextNode<#text>) + PaintableWithLines (BlockContainer
) [161,11 50x19.46875] + TextPaintable (TextNode<#text>) + PaintableWithLines (BlockContainer
) [211,11 100x19.46875] + TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/input/grid/named-tracks.html b/Tests/LibWeb/Layout/input/grid/named-tracks.html deleted file mode 100644 index caa6ff53255..00000000000 --- a/Tests/LibWeb/Layout/input/grid/named-tracks.html +++ /dev/null @@ -1,58 +0,0 @@ - - - -
-
1
-
2
-
- - - -
-
1
-
2
-
3
-
4
-
- - - -
-
1
-
2
-
3
-
4
-
\ No newline at end of file diff --git a/Tests/LibWeb/Layout/input/grid/placement-using-named-tracks-1.html b/Tests/LibWeb/Layout/input/grid/placement-using-named-tracks-1.html new file mode 100644 index 00000000000..f55c3bd18ee --- /dev/null +++ b/Tests/LibWeb/Layout/input/grid/placement-using-named-tracks-1.html @@ -0,0 +1,20 @@ +
1
2
\ No newline at end of file diff --git a/Tests/LibWeb/Layout/input/grid/placement-using-named-tracks-2.html b/Tests/LibWeb/Layout/input/grid/placement-using-named-tracks-2.html new file mode 100644 index 00000000000..79e167c86b1 --- /dev/null +++ b/Tests/LibWeb/Layout/input/grid/placement-using-named-tracks-2.html @@ -0,0 +1,40 @@ +
1
2
3
4
\ No newline at end of file diff --git a/Tests/LibWeb/Layout/input/grid/placement-using-named-tracks-3.html b/Tests/LibWeb/Layout/input/grid/placement-using-named-tracks-3.html new file mode 100644 index 00000000000..f95ed9b822a --- /dev/null +++ b/Tests/LibWeb/Layout/input/grid/placement-using-named-tracks-3.html @@ -0,0 +1,16 @@ +
1
2
3
4
\ No newline at end of file