summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/Layout/expected/position-absolute-top-left.txt
diff options
context:
space:
mode:
authorAliaksandr Kalenik <kalenik.aliaksandr@gmail.com>2023-01-30 23:40:22 +0300
committerAndreas Kling <kling@serenityos.org>2023-02-06 20:42:14 +0100
commit900cd78121b7e84def3f5b45f6429263e525177f (patch)
tree269f3d3a8f528ff21f31966a9e1cece3beb6c34d /Tests/LibWeb/Layout/expected/position-absolute-top-left.txt
parent12eca612bc146e50beb8107e893e05b92a5c1234 (diff)
downloadserenity-900cd78121b7e84def3f5b45f6429263e525177f.zip
LibWeb: Add layout tests for floats, margins collapsing and positioning
Those are copied from 'Base/res/html/misc/'.
Diffstat (limited to 'Tests/LibWeb/Layout/expected/position-absolute-top-left.txt')
-rw-r--r--Tests/LibWeb/Layout/expected/position-absolute-top-left.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/Tests/LibWeb/Layout/expected/position-absolute-top-left.txt b/Tests/LibWeb/Layout/expected/position-absolute-top-left.txt
new file mode 100644
index 0000000000..5725f0559c
--- /dev/null
+++ b/Tests/LibWeb/Layout/expected/position-absolute-top-left.txt
@@ -0,0 +1,36 @@
+InitialContainingBlock <#document> at (0,0) content-size 800x600 children: not-inline
+ BlockContainer <html> at (0,0) content-size 800x616 children: not-inline
+ BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
+ TextNode <#text>
+ BlockContainer <body> at (8,8) content-size 784x600 children: not-inline
+ BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
+ TextNode <#text>
+ BlockContainer <div.blue.absolute> at (208,208) content-size 200x200 positioned children: inline
+ TextNode <#text>
+ BlockContainer <div.red.absolute> at (308,308) content-size 100x100 positioned children: not-inline
+ TextNode <#text>
+ BlockContainer <div.yellow.absolute> at (258,258) content-size 100x100 positioned children: inline
+ TextNode <#text>
+ BlockContainer <div.black.absolute> at (308,308) content-size 50x50 positioned children: not-inline
+ TextNode <#text>
+ TextNode <#text>
+ BlockContainer <div.green.absolute> at (508,508) content-size 100x100 positioned children: not-inline
+ TextNode <#text>
+ TextNode <#text>
+ BlockContainer <div.blue> at (8,8) content-size 200x200 children: not-inline
+ BlockContainer <(anonymous)> at (8,8) content-size 200x0 children: inline
+ TextNode <#text>
+ BlockContainer <div.red> at (8,8) content-size 100x100 children: not-inline
+ BlockContainer <(anonymous)> at (8,108) content-size 200x0 children: inline
+ TextNode <#text>
+ BlockContainer <div.yellow> at (8,108) content-size 100x100 children: not-inline
+ BlockContainer <(anonymous)> at (8,208) content-size 200x0 children: inline
+ TextNode <#text>
+ BlockContainer <div.green> at (8,208) content-size 100x100 children: not-inline
+ BlockContainer <(anonymous)> at (8,308) content-size 200x0 children: inline
+ TextNode <#text>
+ BlockContainer <(anonymous)> at (8,208) content-size 784x0 children: inline
+ TextNode <#text>
+ BlockContainer <div.blue_margin> at (408,408) content-size 200x200 children: not-inline
+ BlockContainer <(anonymous)> at (8,608) content-size 784x0 children: inline
+ TextNode <#text>