1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:47:35 +00:00

LibWeb: Add support for parsing 'inset' shorthand CSS property

This commit is contained in:
FalseHonesty 2023-05-29 21:43:37 -04:00 committed by Andreas Kling
parent e129c8049b
commit cabfb7867c
4 changed files with 72 additions and 0 deletions

View file

@ -0,0 +1,15 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x216 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x200 children: not-inline
BlockContainer <div.parent> at (8,8) content-size 200x200 positioned children: inline
TextNode <#text>
BlockContainer <div.bad> at (38,18) content-size 150x150 positioned [BFC] children: inline
line 0 width: 26.546875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 3, rect: [38,18 26.546875x17.46875]
"Bad"
TextNode <#text>
TextNode <#text>
BlockContainer <div.good> at (38,18) content-size 150x150 positioned [BFC] children: not-inline
TextNode <#text>
BlockContainer <(anonymous)> at (8,208) content-size 784x0 children: inline
TextNode <#text>