mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
LibWeb: Rough implementation of CSS namespace rule
This provides a rough implementation of the CSS @namespace rule. Currently we just support default namespaces, namespace prefixes are still to come.
This commit is contained in:
parent
3f7d97f098
commit
60e35f2a97
18 changed files with 266 additions and 3 deletions
13
Tests/LibWeb/Layout/expected/css-namespace-rule-no-match.txt
Normal file
13
Tests/LibWeb/Layout/expected/css-namespace-rule-no-match.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,20) content-size 784x21.828125 children: not-inline
|
||||
BlockContainer <p> at (8,20) content-size 784x21.828125 children: inline
|
||||
line 0 width: 151.328125, height: 21.828125, bottom: 21.828125, baseline: 16.890625
|
||||
frag 0 from TextNode start: 0, length: 13, rect: [13,20 141.328125x21.828125]
|
||||
"Should be red"
|
||||
TextNode <#text>
|
||||
InlineNode <a>
|
||||
TextNode <#text>
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> at (8,61.828125) content-size 784x0 children: inline
|
||||
TextNode <#text>
|
Loading…
Add table
Add a link
Reference in a new issue