diff --git a/Tests/LibWeb/Layout/expected/grid/auto-fill.txt b/Tests/LibWeb/Layout/expected/grid/auto-fill.txt new file mode 100644 index 0000000000..09f5a41d7d --- /dev/null +++ b/Tests/LibWeb/Layout/expected/grid/auto-fill.txt @@ -0,0 +1,27 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (0,0) content-size 800x33.46875 children: not-inline + BlockContainer at (8,8) content-size 784x17.46875 children: not-inline + Box at (8,8) content-size 784x17.46875 children: not-inline + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,8) content-size 261.333343x17.46875 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)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (269.333343,8) content-size 261.333343x17.46875 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: [269.333343,8 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (530.666687,8) content-size 261.333312x17.46875 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: [530.666687,8 9.09375x17.46875] + "3" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> diff --git a/Tests/LibWeb/Layout/expected/grid/auto-fit.txt b/Tests/LibWeb/Layout/expected/grid/auto-fit.txt new file mode 100644 index 0000000000..09f5a41d7d --- /dev/null +++ b/Tests/LibWeb/Layout/expected/grid/auto-fit.txt @@ -0,0 +1,27 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (0,0) content-size 800x33.46875 children: not-inline + BlockContainer at (8,8) content-size 784x17.46875 children: not-inline + Box at (8,8) content-size 784x17.46875 children: not-inline + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,8) content-size 261.333343x17.46875 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)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (269.333343,8) content-size 261.333343x17.46875 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: [269.333343,8 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (530.666687,8) content-size 261.333312x17.46875 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: [530.666687,8 9.09375x17.46875] + "3" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> diff --git a/Tests/LibWeb/Layout/expected/grid/basic.txt b/Tests/LibWeb/Layout/expected/grid/basic.txt new file mode 100644 index 0000000000..f81bd57e1a --- /dev/null +++ b/Tests/LibWeb/Layout/expected/grid/basic.txt @@ -0,0 +1,34 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (0,0) content-size 800x50.9375 children: not-inline + BlockContainer at (8,8) content-size 784x34.9375 children: not-inline + Box at (8,8) content-size 784x34.9375 children: not-inline + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,8) content-size 392.140625x17.46875 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)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (400.140625,8) content-size 392x17.46875 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: [400.140625,8 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,25.46875) content-size 392.140625x17.46875 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,25.46875 9.09375x17.46875] + "3" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (400.140625,25.46875) content-size 392x17.46875 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: [400.140625,25.46875 7.75x17.46875] + "4" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> diff --git a/Tests/LibWeb/Layout/expected/grid/different-column-sizes.txt b/Tests/LibWeb/Layout/expected/grid/different-column-sizes.txt new file mode 100644 index 0000000000..49d3b9ab9e --- /dev/null +++ b/Tests/LibWeb/Layout/expected/grid/different-column-sizes.txt @@ -0,0 +1,34 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (0,0) content-size 800x50.9375 children: not-inline + BlockContainer at (8,8) content-size 784x34.9375 children: not-inline + Box at (8,8) content-size 784x34.9375 children: not-inline + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,8) content-size 50x17.46875 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)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (58,8) content-size 392x17.46875 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,8 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,25.46875) content-size 50x17.46875 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,25.46875 9.09375x17.46875] + "3" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (58,25.46875) content-size 392x17.46875 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: [58,25.46875 7.75x17.46875] + "4" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> diff --git a/Tests/LibWeb/Layout/expected/grid/gap.txt b/Tests/LibWeb/Layout/expected/grid/gap.txt new file mode 100644 index 0000000000..3bf3f017a4 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/grid/gap.txt @@ -0,0 +1,102 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (0,0) content-size 800x166.8125 children: not-inline + BlockContainer at (8,8) content-size 784x150.8125 children: not-inline + Box at (8,8) content-size 784x44.9375 children: not-inline + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,8) content-size 367.140625x17.46875 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)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (425.140625,8) content-size 367x17.46875 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: [425.140625,8 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,35.46875) content-size 367.140625x17.46875 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,35.46875 9.09375x17.46875] + "3" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (425.140625,35.46875) content-size 367x17.46875 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: [425.140625,35.46875 7.75x17.46875] + "4" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,52.9375) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + Box at (8,52.9375) content-size 784x50.9375 children: not-inline + BlockContainer <(anonymous)> at (8,52.9375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (435.434356,52.9375) content-size 357.800018x17.46875 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: [435.434356,52.9375 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer <(anonymous)> at (8,52.9375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,86.40625) content-size 359.034362x17.46875 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,86.40625 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,52.9375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,103.875) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + TextNode <#text> + Box at (8,103.875) content-size 784x17.46875 children: not-inline + BlockContainer <(anonymous)> at (8,103.875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (408,103.875) content-size 384x17.46875 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: [408,103.875 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer <(anonymous)> at (8,103.875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,121.34375) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + TextNode <#text> + Box at (8,121.34375) content-size 784x20 children: not-inline + BlockContainer <(anonymous)> at (8,121.34375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (408,121.34375) content-size 384x20 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: [408,121.34375 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer <(anonymous)> at (8,121.34375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,141.34375) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + Box at (8,141.34375) content-size 784x17.46875 children: not-inline + BlockContainer <(anonymous)> at (8,141.34375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,141.34375) content-size 387x17.46875 children: inline + line 0 width: 104.875, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 14, rect: [8,141.34375 104.875x17.46875] + "left side text" + TextNode <#text> + BlockContainer <(anonymous)> at (8,141.34375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (405,141.34375) content-size 387x17.46875 children: inline + line 0 width: 363.203125, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 47, rect: [405,141.34375 363.203125x17.46875] + "right side text right side text right side text" + TextNode <#text> + BlockContainer <(anonymous)> at (8,141.34375) content-size 0x0 children: inline + TextNode <#text> diff --git a/Tests/LibWeb/Layout/expected/grid/image-in-grid.txt b/Tests/LibWeb/Layout/expected/grid/image-in-grid.txt new file mode 100644 index 0000000000..a16f899a64 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/grid/image-in-grid.txt @@ -0,0 +1,14 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (0,0) content-size 800x40 children: not-inline + BlockContainer at (8,8) content-size 784x24 children: not-inline + Box at (8,8) content-size 784x24 children: not-inline + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,8) content-size 64x24 children: inline + line 0 width: 64, height: 24, bottom: 24, baseline: 24 + frag 0 from ImageBox start: 0, length: 0, rect: [8,8 64x24] + TextNode <#text> + ImageBox at (8,8) content-size 64x24 children: not-inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> diff --git a/Tests/LibWeb/Layout/expected/grid/min-max-content.txt b/Tests/LibWeb/Layout/expected/grid/min-max-content.txt new file mode 100644 index 0000000000..cd41b7000d --- /dev/null +++ b/Tests/LibWeb/Layout/expected/grid/min-max-content.txt @@ -0,0 +1,27 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (0,0) content-size 800x33.46875 children: not-inline + BlockContainer at (8,8) content-size 784x17.46875 children: not-inline + Box at (8,8) content-size 784x17.46875 children: not-inline + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,8) content-size 93.765625x17.46875 children: inline + line 0 width: 93.765625, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 11, rect: [8,8 93.765625x17.46875] + "min-content" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (101.765625,8) content-size 98.640625x17.46875 children: inline + line 0 width: 98.640625, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 11, rect: [101.765625,8 98.640625x17.46875] + "max-content" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (200.40625,8) content-size 591.59375x17.46875 children: inline + line 0 width: 21.609375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 3, rect: [200.40625,8 21.609375x17.46875] + "1fr" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> diff --git a/Tests/LibWeb/Layout/expected/grid/minmax.txt b/Tests/LibWeb/Layout/expected/grid/minmax.txt new file mode 100644 index 0000000000..3935b3cc0e --- /dev/null +++ b/Tests/LibWeb/Layout/expected/grid/minmax.txt @@ -0,0 +1,168 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (0,0) content-size 800x288.28125 children: not-inline + BlockContainer at (8,8) content-size 784x272.28125 children: not-inline + Box at (8,8) content-size 784x17.46875 children: not-inline + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,8) content-size 300x17.46875 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)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (308,8) content-size 300x17.46875 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: [308,8 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,25.46875) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + Box at (8,25.46875) content-size 784x100 children: not-inline + BlockContainer <(anonymous)> at (8,25.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,25.46875) content-size 300x50 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,25.46875 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer <(anonymous)> at (8,25.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (308,25.46875) content-size 300x50 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: [308,25.46875 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,25.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,125.46875) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + Box at (8,125.46875) content-size 784x34.9375 children: not-inline + BlockContainer <(anonymous)> at (8,125.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,125.46875) content-size 784x17.46875 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,125.46875 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer <(anonymous)> at (8,125.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,142.9375) content-size 784x17.46875 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,142.9375 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,125.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,160.40625) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + Box at (8,160.40625) content-size 784x34.9375 children: not-inline + BlockContainer <(anonymous)> at (8,160.40625) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,160.40625) content-size 784x17.46875 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,160.40625 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer <(anonymous)> at (8,160.40625) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,177.875) content-size 784x17.46875 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,177.875 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,160.40625) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,195.34375) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + Box at (8,195.34375) content-size 784x50 children: not-inline + BlockContainer <(anonymous)> at (8,195.34375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,195.34375) content-size 300x25 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,195.34375 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer <(anonymous)> at (8,195.34375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (308,195.34375) content-size 300x25 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: [308,195.34375 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,195.34375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,220.34375) content-size 300x25 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,220.34375 9.09375x17.46875] + "3" + TextNode <#text> + BlockContainer <(anonymous)> at (8,195.34375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (308,220.34375) content-size 300x25 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: [308,220.34375 7.75x17.46875] + "4" + TextNode <#text> + BlockContainer <(anonymous)> at (8,195.34375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,245.34375) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + Box at (8,245.34375) content-size 784x17.46875 children: not-inline + BlockContainer <(anonymous)> at (8,245.34375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,245.34375) content-size 261.333343x17.46875 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,245.34375 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer <(anonymous)> at (8,245.34375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (269.333343,245.34375) content-size 261.333343x17.46875 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: [269.333343,245.34375 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,245.34375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (530.666687,245.34375) content-size 261.333312x17.46875 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: [530.666687,245.34375 9.09375x17.46875] + "3" + TextNode <#text> + BlockContainer <(anonymous)> at (8,245.34375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,262.8125) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + Box at (8,262.8125) content-size 784x17.46875 children: not-inline + BlockContainer <(anonymous)> at (8,262.8125) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,262.8125) content-size 56.218711x17.46875 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,262.8125 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer <(anonymous)> at (8,262.8125) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (64.218711,262.8125) content-size 671.5625x17.46875 children: inline + line 0 width: 125.265625, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 15, rect: [64.218711,262.8125 125.265625x17.46875] + "Article content" + TextNode <#text> + BlockContainer <(anonymous)> at (8,262.8125) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (735.781188,262.8125) content-size 56.218688x17.46875 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: [735.781188,262.8125 9.09375x17.46875] + "3" + TextNode <#text> + BlockContainer <(anonymous)> at (8,262.8125) content-size 0x0 children: inline + TextNode <#text> diff --git a/Tests/LibWeb/Layout/expected/grid/named-tracks.txt b/Tests/LibWeb/Layout/expected/grid/named-tracks.txt new file mode 100644 index 0000000000..174763be8d --- /dev/null +++ b/Tests/LibWeb/Layout/expected/grid/named-tracks.txt @@ -0,0 +1,90 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (0,0) content-size 800x143.40625 children: not-inline + BlockContainer at (8,8) content-size 784x127.40625 children: not-inline + Box at (8,8) content-size 784x17.46875 children: not-inline + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,8) content-size 392x17.46875 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)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (400,8) content-size 393.234375x17.46875 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: [400,8 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,25.46875) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + TextNode <#text> + Box at (8,25.46875) content-size 784x75 children: not-inline + BlockContainer <(anonymous)> at (8,25.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,25.46875) content-size 261.333343x75 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,25.46875 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer <(anonymous)> at (8,25.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (530.666687,25.46875) content-size 261.333312x50 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: [530.666687,25.46875 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,25.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (269.333343,25.46875) content-size 261.333343x25 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: [269.333343,25.46875 9.09375x17.46875] + "3" + TextNode <#text> + BlockContainer <(anonymous)> at (8,25.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (269.333343,75.46875) content-size 522.666625x25 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: [269.333343,75.46875 7.75x17.46875] + "4" + TextNode <#text> + BlockContainer <(anonymous)> at (8,25.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,100.46875) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + TextNode <#text> + Box at (8,100.46875) content-size 784x34.9375 children: not-inline + BlockContainer <(anonymous)> at (8,100.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (58,100.46875) content-size 100x17.46875 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: [58,100.46875 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer <(anonymous)> at (8,100.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (158,100.46875) content-size 50x17.46875 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: [158,100.46875 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,100.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (208,100.46875) content-size 100x17.46875 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: [208,100.46875 9.09375x17.46875] + "3" + TextNode <#text> + BlockContainer <(anonymous)> at (8,100.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,117.9375) content-size 50x17.46875 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,117.9375 7.75x17.46875] + "4" + TextNode <#text> + BlockContainer <(anonymous)> at (8,100.46875) content-size 0x0 children: inline + TextNode <#text> diff --git a/Tests/LibWeb/Layout/expected/grid/positions-and-spans.txt b/Tests/LibWeb/Layout/expected/grid/positions-and-spans.txt new file mode 100644 index 0000000000..f3a5bfb7d4 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/grid/positions-and-spans.txt @@ -0,0 +1,83 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (0,0) content-size 800x185.875 children: not-inline + BlockContainer at (8,8) content-size 784x169.875 children: not-inline + Box at (8,8) content-size 784x17.46875 children: not-inline + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,8) content-size 522.666748x17.46875 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)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (530.666748,8) content-size 261.333496x17.46875 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: [530.666748,8 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,25.46875) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + TextNode <#text> + Box at (8,25.46875) content-size 784x17.46875 children: not-inline + BlockContainer <(anonymous)> at (8,25.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,25.46875) content-size 261.333374x17.46875 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,25.46875 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer <(anonymous)> at (8,25.46875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (269.333374,25.46875) content-size 522.66687x17.46875 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: [269.333374,25.46875 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,25.46875) content-size 0x0 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 784x100 children: not-inline + BlockContainer <(anonymous)> at (8,42.9375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,42.9375) content-size 784x40 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)> at (8,42.9375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,82.9375) content-size 784x60 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,82.9375 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,42.9375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,142.9375) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + TextNode <#text> + Box at (8,142.9375) content-size 784x34.9375 children: not-inline + BlockContainer <(anonymous)> at (8,142.9375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,142.9375) content-size 784x17.46875 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,142.9375 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer <(anonymous)> at (8,142.9375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,160.40625) content-size 392x17.46875 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,160.40625 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer <(anonymous)> at (8,142.9375) content-size 0x0 children: inline + TextNode <#text> diff --git a/Tests/LibWeb/Layout/expected/grid/repeat.txt b/Tests/LibWeb/Layout/expected/grid/repeat.txt new file mode 100644 index 0000000000..f6bbc653b9 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/grid/repeat.txt @@ -0,0 +1,83 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (0,0) content-size 800x233.46875 children: not-inline + BlockContainer at (8,8) content-size 784x217.46875 children: not-inline + Box at (8,8) content-size 784x200 children: not-inline + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,8) content-size 392x200 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)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (400,8) content-size 392x100 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: [400,8 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (400,108) content-size 196x50 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: [400,108 9.09375x17.46875] + "3" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (596,108) content-size 196x50 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: [596,108 7.75x17.46875] + "4" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (400,158) content-size 196x50 children: inline + line 0 width: 8.453125, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 1, rect: [400,158 8.453125x17.46875] + "5" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (596,158) content-size 196x50 children: inline + line 0 width: 8.734375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 1, rect: [596,158 8.734375x17.46875] + "6" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,208) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + TextNode <#text> + Box at (8,208) content-size 784x17.46875 children: not-inline + BlockContainer <(anonymous)> at (8,208) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,208) content-size 50x17.46875 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,208 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer <(anonymous)> at (8,208) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (58,208) content-size 50x17.46875 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,208 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer <(anonymous)> at (8,208) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (108,208) content-size 100x17.46875 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: [108,208 9.09375x17.46875] + "3" + TextNode <#text> + BlockContainer <(anonymous)> at (8,208) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (208,208) content-size 100x17.46875 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,208 7.75x17.46875] + "4" + TextNode <#text> + BlockContainer <(anonymous)> at (8,208) content-size 0x0 children: inline + TextNode <#text> diff --git a/Tests/LibWeb/Layout/expected/grid/template-areas.txt b/Tests/LibWeb/Layout/expected/grid/template-areas.txt new file mode 100644 index 0000000000..b4fa315ca8 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/grid/template-areas.txt @@ -0,0 +1,83 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (0,0) content-size 800x120.8125 children: not-inline + BlockContainer at (8,8) content-size 784x104.8125 children: not-inline + Box at (8,8) content-size 784x34.9375 children: not-inline + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer
at (400,25.46875) content-size 392x17.46875 children: inline + line 0 width: 99.703125, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 1, length: 12, rect: [400,25.46875 99.703125x17.46875] + "right-bottom" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer
at (8,8) content-size 392x34.9375 children: inline + line 0 width: 26.25, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 4, rect: [8,8 26.25x17.46875] + "left" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline + TextNode <#text> + BlockContainer
at (400,8) content-size 392x17.46875 children: inline + line 0 width: 70.234375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 9, rect: [400,8 70.234375x17.46875] + "right-top" + TextNode <#text> + BlockContainer <(anonymous)> at (8,8) content-size 0x0 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 784x17.46875 children: not-inline + BlockContainer <(anonymous)> at (8,42.9375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,42.9375) content-size 261.333343x17.46875 children: inline + line 0 width: 21.609375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 3, rect: [8,42.9375 21.609375x17.46875] + "1fr" + TextNode <#text> + BlockContainer <(anonymous)> at (8,42.9375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,60.40625) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + TextNode <#text> + Box at (8,60.40625) content-size 784x17.46875 children: not-inline + BlockContainer <(anonymous)> at (8,60.40625) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,60.40625) content-size 392x17.46875 children: inline + line 0 width: 21.609375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 3, rect: [8,60.40625 21.609375x17.46875] + "1fr" + TextNode <#text> + BlockContainer <(anonymous)> at (8,60.40625) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,77.875) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + TextNode <#text> + Box at (8,77.875) content-size 784x17.46875 children: not-inline + BlockContainer <(anonymous)> at (8,77.875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,77.875) content-size 196x17.46875 children: inline + line 0 width: 21.609375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 3, rect: [8,77.875 21.609375x17.46875] + "1fr" + TextNode <#text> + BlockContainer <(anonymous)> at (8,77.875) content-size 0x0 children: inline + TextNode <#text> + BlockContainer <(anonymous)> at (8,95.34375) content-size 784x0 children: inline + TextNode <#text> + TextNode <#text> + TextNode <#text> + Box at (8,95.34375) content-size 784x17.46875 children: not-inline + BlockContainer <(anonymous)> at (8,95.34375) content-size 0x0 children: inline + TextNode <#text> + BlockContainer at (8,95.34375) content-size 196x17.46875 children: inline + line 0 width: 21.609375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 3, rect: [8,95.34375 21.609375x17.46875] + "1fr" + TextNode <#text> + BlockContainer <(anonymous)> at (8,95.34375) content-size 0x0 children: inline + TextNode <#text> diff --git a/Tests/LibWeb/Layout/input/grid/auto-fill.html b/Tests/LibWeb/Layout/input/grid/auto-fill.html new file mode 100644 index 0000000000..93351882ff --- /dev/null +++ b/Tests/LibWeb/Layout/input/grid/auto-fill.html @@ -0,0 +1,22 @@ + + +
+
1
+
2
+
3
+
\ No newline at end of file diff --git a/Tests/LibWeb/Layout/input/grid/auto-fit.html b/Tests/LibWeb/Layout/input/grid/auto-fit.html new file mode 100644 index 0000000000..9738e847e8 --- /dev/null +++ b/Tests/LibWeb/Layout/input/grid/auto-fit.html @@ -0,0 +1,22 @@ + + +
+
1
+
2
+
3
+
\ No newline at end of file diff --git a/Tests/LibWeb/Layout/input/grid/basic.html b/Tests/LibWeb/Layout/input/grid/basic.html new file mode 100644 index 0000000000..c4fc38a396 --- /dev/null +++ b/Tests/LibWeb/Layout/input/grid/basic.html @@ -0,0 +1,22 @@ + + + +
+
1
+
2
+
3
+
4
+
\ No newline at end of file diff --git a/Tests/LibWeb/Layout/input/grid/different-column-sizes.html b/Tests/LibWeb/Layout/input/grid/different-column-sizes.html new file mode 100644 index 0000000000..0a0d36b0ff --- /dev/null +++ b/Tests/LibWeb/Layout/input/grid/different-column-sizes.html @@ -0,0 +1,24 @@ + + + +
+
1
+
2
+
3
+
4
+
\ No newline at end of file diff --git a/Tests/LibWeb/Layout/input/grid/gap.html b/Tests/LibWeb/Layout/input/grid/gap.html new file mode 100644 index 0000000000..9dd5f6f5fd --- /dev/null +++ b/Tests/LibWeb/Layout/input/grid/gap.html @@ -0,0 +1,62 @@ + + + +
+
1
+
2
+
3
+
4
+
+ + +
+
1
+
2
+
+ + + +
+
1
+
+ + + +
+
1
+
+ + +
+
left side text
+
right side text right side text right side text
+
\ No newline at end of file diff --git a/Tests/LibWeb/Layout/input/grid/image-in-grid.html b/Tests/LibWeb/Layout/input/grid/image-in-grid.html new file mode 100644 index 0000000000..3828deaf58 --- /dev/null +++ b/Tests/LibWeb/Layout/input/grid/image-in-grid.html @@ -0,0 +1,32 @@ + + + +
+
+ +
+
\ No newline at end of file diff --git a/Tests/LibWeb/Layout/input/grid/min-max-content.html b/Tests/LibWeb/Layout/input/grid/min-max-content.html new file mode 100644 index 0000000000..a18a8bb61a --- /dev/null +++ b/Tests/LibWeb/Layout/input/grid/min-max-content.html @@ -0,0 +1,23 @@ + + +
+
min-content
+
max-content
+
1fr
+
\ No newline at end of file diff --git a/Tests/LibWeb/Layout/input/grid/minmax.html b/Tests/LibWeb/Layout/input/grid/minmax.html new file mode 100644 index 0000000000..c2aad80361 --- /dev/null +++ b/Tests/LibWeb/Layout/input/grid/minmax.html @@ -0,0 +1,75 @@ + + + +
+
1
+
2
+
+ + +
+
1
+
2
+
+ + +
+
1
+
2
+
+ + +
+
1
+
2
+
+ + +
+
1
+
2
+
3
+
4
+
+ + +
+
1
+
2
+
3
+
+ + +
+
1
+
Article content
+
3
+
\ No newline at end of file diff --git a/Tests/LibWeb/Layout/input/grid/named-tracks.html b/Tests/LibWeb/Layout/input/grid/named-tracks.html new file mode 100644 index 0000000000..346fc043b5 --- /dev/null +++ b/Tests/LibWeb/Layout/input/grid/named-tracks.html @@ -0,0 +1,62 @@ + + + +
+
1
+
2
+
+ + + +
+
1
+
2
+
3
+
4
+
+ + + +
+
1
+
2
+
3
+
4
+
\ No newline at end of file diff --git a/Tests/LibWeb/Layout/input/grid/positions-and-spans.html b/Tests/LibWeb/Layout/input/grid/positions-and-spans.html new file mode 100644 index 0000000000..683fd30836 --- /dev/null +++ b/Tests/LibWeb/Layout/input/grid/positions-and-spans.html @@ -0,0 +1,67 @@ + + + + +
+
1
+
2
+
+ + + +
+
1
+
2
+
+ + + +
+
1
+
2
+
+ + + +
+
1
+
1
+
\ No newline at end of file diff --git a/Tests/LibWeb/Layout/input/grid/repeat.html b/Tests/LibWeb/Layout/input/grid/repeat.html new file mode 100644 index 0000000000..16e178a933 --- /dev/null +++ b/Tests/LibWeb/Layout/input/grid/repeat.html @@ -0,0 +1,41 @@ + + + +
+
1
+
2
+
3
+
4
+
5
+
6
+
+ + + +
+
1
+
2
+
3
+
4
+
\ No newline at end of file diff --git a/Tests/LibWeb/Layout/input/grid/template-areas.html b/Tests/LibWeb/Layout/input/grid/template-areas.html new file mode 100644 index 0000000000..51dd4c4224 --- /dev/null +++ b/Tests/LibWeb/Layout/input/grid/template-areas.html @@ -0,0 +1,63 @@ + + + +
+
+ right-bottom
+
left
+
right-top
+
+ + + +
+
1fr
+
+ + + +
+
1fr
+
+ + + +
+
1fr
+
+ + + +
+
1fr
+
\ No newline at end of file