Skip to content

Commit 7e76a51

Browse files
committed
LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport
The name "initial containing block" was wrong for this, as it doesn't correspond to the HTML element, and that's specifically what it's supposed to do! :^)
1 parent 60f6993 commit 7e76a51

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+121
-128
lines changed

Tests/LibWeb/Layout/expected/blank.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
InitialContainingBlock <#document> at (0,0) content-size 800x600 children: not-inline
1+
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
22
BlockContainer <html> at (0,0) content-size 800x16 children: not-inline
33
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
44
TextNode <#text>

Tests/LibWeb/Layout/expected/clearfix.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
InitialContainingBlock <#document> at (0,0) content-size 800x600 children: not-inline
1+
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
22
BlockContainer <html> at (0,0) content-size 800x157 children: not-inline
33
BlockContainer <body> at (8,8) content-size 784x100 children: not-inline
44
BlockContainer <div> at (8,8) content-size 784x100 children: not-inline

Tests/LibWeb/Layout/expected/flex-auto.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
InitialContainingBlock <#document> at (0,0) content-size 800x600 children: not-inline
1+
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
22
BlockContainer <html> at (0,0) content-size 800x120 children: not-inline
33
BlockContainer <body> at (8,8) content-size 784x104 children: not-inline
44
Box <div.container> at (9,9) content-size 500x102 flex-container(row) children: not-inline

Tests/LibWeb/Layout/expected/flex-column-constained-wrap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
InitialContainingBlock <#document> at (0,0) content-size 800x600 children: not-inline
1+
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
22
BlockContainer <html> at (0,0) content-size 800x268 children: not-inline
33
BlockContainer <body> at (8,8) content-size 784x252 children: not-inline
44
Box <div.container.column> at (9,9) content-size 250x250 flex-container(column) children: not-inline

Tests/LibWeb/Layout/expected/flex-column-constrained-nowrap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
InitialContainingBlock <#document> at (0,0) content-size 800x600 children: not-inline
1+
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
22
BlockContainer <html> at (0,0) content-size 800x268 children: not-inline
33
BlockContainer <body> at (8,8) content-size 784x252 children: not-inline
44
Box <div.container.column> at (9,9) content-size 782x250 flex-container(column) children: not-inline

Tests/LibWeb/Layout/expected/flex-column-height-constrained-width-constrained.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
InitialContainingBlock <#document> at (0,0) content-size 800x600 children: not-inline
1+
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
22
BlockContainer <html> at (0,0) content-size 800x268 children: not-inline
33
BlockContainer <body> at (8,8) content-size 784x252 children: not-inline
44
Box <div.container.column> at (9,9) content-size 250x250 flex-container(column) children: not-inline

Tests/LibWeb/Layout/expected/flex-column-height-constrained.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
InitialContainingBlock <#document> at (0,0) content-size 800x600 children: not-inline
1+
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
22
BlockContainer <html> at (0,0) content-size 800x268 children: not-inline
33
BlockContainer <body> at (8,8) content-size 784x252 children: not-inline
44
Box <div.container> at (9,9) content-size 782x250 flex-container(column) children: not-inline

Tests/LibWeb/Layout/expected/flex-container-constrained-nowrap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
InitialContainingBlock <#document> at (0,0) content-size 800x600 children: not-inline
1+
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
22
BlockContainer <html> at (0,0) content-size 800x120 children: not-inline
33
BlockContainer <body> at (8,8) content-size 784x104 children: not-inline
44
Box <div.container> at (9,9) content-size 250x102 flex-container(row) children: not-inline

Tests/LibWeb/Layout/expected/flex-container-constrained-wrap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
InitialContainingBlock <#document> at (0,0) content-size 800x600 children: not-inline
1+
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
22
BlockContainer <html> at (0,0) content-size 800x222 children: not-inline
33
BlockContainer <body> at (8,8) content-size 784x206 children: not-inline
44
Box <div.container> at (9,9) content-size 250x204 flex-container(row) children: not-inline

Tests/LibWeb/Layout/expected/flex-container-width-constrained.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
InitialContainingBlock <#document> at (0,0) content-size 800x600 children: not-inline
1+
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
22
BlockContainer <html> at (0,0) content-size 800x120 children: not-inline
33
BlockContainer <body> at (8,8) content-size 784x104 children: not-inline
44
Box <div.container.width-constrained> at (9,9) content-size 250x102 flex-container(row) children: not-inline

0 commit comments

Comments
 (0)