1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 18:35:07 +00:00
serenity/Userland/Libraries/LibWeb/CSS/Parser
Sam Atkins 52a1be5eae LibWeb: Allow whitespace when parsing "!important" in CSS
This accounts for cases like:
```css
.foo {
    color: blue ! important ;
}
```

That's rare now that minifying is so popular, but does appear on some
websites.

I've added spec comments to `consume_a_declaration()` while I was at it.
2021-10-28 16:05:48 +02:00
..
DeclarationOrAtRule.h LibWeb: Add accessors to CSS::DeclarationOrAtRule 2021-07-11 23:19:56 +02:00
Parser.cpp LibWeb: Allow whitespace when parsing "!important" in CSS 2021-10-28 16:05:48 +02:00
Parser.h LibWeb: Make CSS ParsingContext's Document* be const 2021-10-23 11:42:24 +02:00
StyleBlockRule.h Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
StyleComponentValueRule.h Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
StyleDeclarationRule.h Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
StyleFunctionRule.h LibWeb: Add missing headers 2021-10-06 23:52:40 +01:00
StyleRule.h Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
StyleRules.cpp Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
Token.cpp LibWeb: Make CSS 'An+B' parsing spec-compliant 2021-07-31 00:18:11 +02:00
Token.h LibWeb: Record position information in CSS Tokens 2021-10-23 19:07:44 +02:00
Tokenizer.cpp LibWeb: Record position information in CSS Tokens 2021-10-23 19:07:44 +02:00
Tokenizer.h LibWeb: Record position information in CSS Tokens 2021-10-23 19:07:44 +02:00