ladybird/Userland/Libraries/LibWeb/CSS/Parser
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
..
ComponentValue.cpp LibWeb/CSS: Preserve original source text for ComponentValues 2024-10-16 08:34:31 +02:00
ComponentValue.h LibWeb/CSS: Preserve original source text for ComponentValues 2024-10-16 08:34:31 +02:00
Dimension.h LibWeb: Implement Flex and FlexStyleValue types 2023-09-28 20:33:20 +01:00
GradientParsing.cpp LibWeb/CSS: Rewrite CSS Parser core methods according to new spec 2024-10-14 08:08:37 +02:00
Helpers.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
MediaParsing.cpp LibWeb/CSS: Parse nested rules in style blocks 2024-10-17 20:55:55 +02:00
Parser.cpp LibWeb/CSS: Parse and use nested style rules 2024-10-17 20:55:55 +02:00
Parser.h LibWeb/CSS: Parse nested rules in style blocks 2024-10-17 20:55:55 +02:00
ParsingContext.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ParsingContext.h LibWeb: Add CSS ParsingContext constructor with a realm and URL 2024-05-16 08:02:43 +02:00
SelectorParsing.cpp LibWeb/CSS: Use SelectorList type instead of Vector<NNRP<Selector>> 2024-10-17 20:55:55 +02:00
Token.cpp AK: Make String::number() infallible 2024-10-14 20:47:35 +02:00
Token.h LibWeb/CSS: Rename Token::representation() to original_source_text() 2024-10-16 08:34:31 +02:00
Tokenizer.cpp LibWeb/CSS: Tokenize comments as whitespace tokens 2024-10-16 08:34:31 +02:00
Tokenizer.h LibWeb/CSS: Remove tiny-oom propagation from CSS Tokenizer 2024-07-26 17:29:20 +02:00
TokenStream.h LibWeb/CSS: Bring TokenStream in line with spec 2024-10-09 17:29:29 +01:00
Types.cpp LibWeb/CSS: Preserve original source text for ComponentValues 2024-10-16 08:34:31 +02:00
Types.h LibWeb/CSS: Preserve original source text for ComponentValues 2024-10-16 08:34:31 +02:00