Files
ladybird/Tests/LibWeb/Layout/expected/css-revert.txt
Andreas Kling 8f29bdb62c LibWeb: Implement the CSS revert keyword
This is a universal value like `initial` and `inherit` and works by
reverting the current value to whatever we had at the start of the
current cascade origin.

The implementation is somewhat inefficient as we make a copy of all
current values at the start of each origin. I'm sure we can come up with
a way to make this faster eventually.
2023-07-29 19:16:08 +02:00

8 lines
455 B
Plaintext

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x17.46875 [BFC] children: not-inline
BlockContainer <body> at (0,0) content-size 800x17.46875 children: inline
line 0 width: 103.140625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 13, rect: [0,0 103.140625x17.46875]
"Hello friends"
TextNode <#text>