mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb: Set correct longhand values when using grid-placement shorthand
According to https://www.w3.org/TR/css-grid-2/#placement-shorthands when setting the 'grid-row' and 'grid-column' shorthand property to a single <custom-ident> value, both 'grid-row-start'/'grid-column-start' and 'grid-row-end'/'grid-column-end' should be set to that <custom_ident>.
This commit is contained in:
parent
77718c0a66
commit
3e92ec80f3
Notes:
github-actions[bot]
2024-08-29 05:00:53 +00:00
Author: https://github.com/adamjoer
Commit: 3e92ec80f3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1214
4 changed files with 67 additions and 2 deletions
|
@ -0,0 +1,27 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x133 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x117 children: not-inline
|
||||
Box <div.grid-container> at (8,8) content-size 784x117 [GFC] children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <div.headline> at (8,8) content-size 100x17 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 8, rect: [8,8 65.28125x17] baseline: 13.296875
|
||||
"Headline"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <div.content> at (8,25) content-size 400x100 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 7, rect: [8,25 62.328125x17] baseline: 13.296875
|
||||
"Content"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x133]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x117]
|
||||
PaintableBox (Box<DIV>.grid-container) [8,8 784x117]
|
||||
PaintableWithLines (BlockContainer<DIV>.headline) [8,8 100x17]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<DIV>.content) [8,25 400x100]
|
||||
TextPaintable (TextNode<#text>)
|
Loading…
Add table
Add a link
Reference in a new issue