ladybird/Userland/Libraries/LibWeb/CSS
Sam Atkins 6034fc0ee6 LibWeb: Make CSS 'An+B' parsing spec-compliant
Parsing this pattern from CSS tokens turns out to be slightly crazy, but
thankfully well documented in the spec.

The spec lists the cases in order of simple -> complicated, but this
would cause problems in code, since `<n-dimension> <signed-.integer>`
would never by reached, as `<n-dimension>` comes before. Instead, I
have grouped them by their first token.

Also renamed the NthChildPattern class to ANPlusBPattern, to match spec
terminology.
2021-07-31 00:18:11 +02:00
..
Parser LibWeb: Make CSS 'An+B' parsing spec-compliant 2021-07-31 00:18:11 +02:00
.gitignore
ComputedValues.h LibWeb: Make box-shadow known throughout the CSS subsystem 2021-07-24 22:16:48 +02:00
CSSImportRule.cpp
CSSImportRule.h
CSSRule.cpp
CSSRule.h
CSSStyleDeclaration.cpp
CSSStyleDeclaration.h
CSSStyleDeclaration.idl LibWeb: Add a CustomHasProperty trait to WrapperGenerator 2021-07-26 15:56:15 +01:00
CSSStyleRule.cpp LibWeb: Make CSS::Selector reference counted 2021-07-14 13:31:00 +02:00
CSSStyleRule.h LibWeb: Make CSS::Selector reference counted 2021-07-14 13:31:00 +02:00
CSSStyleSheet.cpp
CSSStyleSheet.h AK: Rename downcast<T> => verify_cast<T> 2021-06-24 19:57:01 +02:00
CSSStyleSheet.idl
Default.css
Identifiers.json LibWeb: Resolve CSS text-decoration from value list 2021-07-22 23:09:01 +02:00
Length.cpp LibWeb: Add calc() resolution to CSS::Length 2021-07-24 03:02:07 +04:30
Length.h LibWeb: Add calc() resolution to CSS::Length 2021-07-24 03:02:07 +04:30
LengthBox.h
Properties.json LibWeb: Add box-shadow as a known ValueID 2021-07-24 22:16:48 +02:00
QuirksMode.css
Screen.cpp
Screen.h
Screen.idl
Selector.cpp LibWeb: Make CSS 'An+B' parsing spec-compliant 2021-07-31 00:18:11 +02:00
Selector.h LibWeb: Make CSS 'An+B' parsing spec-compliant 2021-07-31 00:18:11 +02:00
SelectorEngine.cpp LibWeb: Bring Selector terminology in line with the CSS spec 2021-07-31 00:18:11 +02:00
SelectorEngine.h LibWeb: Convert CSS Dump, Selector, & SelectorEngine to east const 2021-07-14 13:31:00 +02:00
StyleInvalidator.cpp
StyleInvalidator.h
StyleProperties.cpp LibWeb: Make box-shadow known throughout the CSS subsystem 2021-07-24 22:16:48 +02:00
StyleProperties.h LibWeb: Make box-shadow known throughout the CSS subsystem 2021-07-24 22:16:48 +02:00
StyleResolver.cpp LibWeb: Resolve CSS text-decoration from value list 2021-07-22 23:09:01 +02:00
StyleResolver.h LibWeb: Convert StyleResolver.{h,cpp} to east const 2021-07-22 23:09:01 +02:00
StyleSheet.cpp
StyleSheet.h
StyleSheet.idl
StyleSheetList.cpp
StyleSheetList.h
StyleSheetList.idl
StyleValue.cpp LibWeb: Add CSS ValueListStyleValue 2021-07-22 23:09:01 +02:00
StyleValue.h LibWeb: Remove unused enum value CSS::StyleValue::Position 2021-07-29 15:01:47 +02:00