ladybird/Userland
Sam Atkins 53f99e51f8 LibWeb/CSS: Parse and use nested style rules
For example, this:

```css
.foo {
  color: red;
  &:hover {
    color: green;
  }
}
```

now has the same effect as this:

```css
.foo {
  color: red;
}
.foo:hover {
  color: green;
}
```

CSSStyleRule now has "absolutized selectors", which are its selectors
with any `&`s resolved. We use these instead of the "real" selectors
when matching them, meaning the style computer doesn't have to know or
care about where the selector appears in the CSS document.
2024-10-17 20:55:55 +02:00
..
Libraries LibWeb/CSS: Parse and use nested style rules 2024-10-17 20:55:55 +02:00
Services LibWeb: Rename Layout::Node::paintable() to first_paintable() 2024-10-16 20:25:42 +02:00
Utilities LibWeb+LibXML: Cache the result of parsing the XHTML DTD and reuse it 2024-10-13 00:24:44 +02:00