mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
LibWeb/Tests: Port height:auto abspos flex container test to layout test
This test was written before we had layout test functionality.
This commit is contained in:
parent
6cee028ecc
commit
a5fb0b4243
Notes:
sideshowbarker
2024-07-17 18:13:59 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/a5fb0b4243 Pull-request: https://github.com/SerenityOS/serenity/pull/20696
2 changed files with 17 additions and 1 deletions
|
@ -0,0 +1,16 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (1,1) content-size 798x18 [BFC] children: not-inline
|
||||
BlockContainer <body> at (10,10) content-size 780x0 children: not-inline
|
||||
Box <nav> at (11,11) content-size 310.453125x19.46875 positioned flex-container(row) [FFC] children: not-inline
|
||||
BlockContainer <div.item> at (12,12) content-size 308.453125x17.46875 flex-item [BFC] children: inline
|
||||
line 0 width: 308.453125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 36, rect: [12,12 308.453125x17.46875]
|
||||
"This should have a green background."
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x20] overflow: [1,1 798x30.46875]
|
||||
PaintableWithLines (BlockContainer<BODY>) [9,9 782x2] overflow: [10,10 312.453125x21.46875]
|
||||
PaintableBox (Box<NAV>) [10,10 312.453125x21.46875]
|
||||
PaintableWithLines (BlockContainer<DIV>.item) [11,11 310.453125x19.46875]
|
||||
TextPaintable (TextNode<#text>)
|
|
@ -9,4 +9,4 @@
|
|||
.item {
|
||||
background: lime;
|
||||
}
|
||||
</style></head><body><nav><div class=item>This should have a green background.</div></nav></body></html>
|
||||
</style></head><body><nav><div class=item>This should have a green background.</div></nav></body></html>
|
Loading…
Reference in a new issue