1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 14:35:07 +00:00
serenity/Tests/LibWeb/Layout/input/css-revert.html
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

6 lines
88 B
HTML

<!doctype html><style>
* {
all: unset;
display: revert;
}
</style>Hello friends