1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-15 00:32:21 +00:00
serenity/Userland/Libraries/LibWeb/CSS
Sam Atkins 0fba71a655 LibWeb: Replace is_inherited_property() with generated code
We already include the inheritance for each property in Properties.json,
so made sense to use that instead of a list in StyleResolver.

Added `inherited: true` to a couple of properties to match the previous
code's behavior. One of those had a FIXME which I've moved to the JSON
file, which is hacky, but it works.
2021-08-16 23:26:16 +02:00
..
Parser LibWeb: Treat multi-value CSS properties as StyleValueList by default 2021-08-14 15:09:19 +02:00
.gitignore
ComputedValues.h LibWeb: Add auto as a recognized argument of flex-basis 2021-08-07 15:21:34 +02:00
CSSImportRule.cpp
CSSImportRule.h
CSSRule.cpp
CSSRule.h
CSSStyleDeclaration.cpp LibWeb: Ensure inline CSS loaded from HTML is ElementInline 2021-08-15 15:11:59 +02:00
CSSStyleDeclaration.h LibWeb: Ensure inline CSS loaded from HTML is ElementInline 2021-08-15 15:11:59 +02:00
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 LibWeb: Use -libweb-palette-base-text for text color in default CSS 2021-05-19 23:23:48 +01:00
Identifiers.json LibWeb: Resolve CSS text-decoration from value list 2021-07-22 23:09:01 +02:00
Length.cpp Everywhere: Use tobyase@serenityos.org for my copyright headers 2021-08-09 21:43:05 +02:00
Length.h LibWeb: Add calc() resolution to CSS::Length 2021-07-24 03:02:07 +04:30
LengthBox.h
Properties.json LibWeb: Replace is_inherited_property() with generated code 2021-08-16 23:26:16 +02:00
QuirksMode.css
Screen.cpp
Screen.h
Screen.idl
Selector.cpp LibWeb: Remove unused header includes 2021-08-01 08:10:16 +02:00
Selector.h LibWeb: Make CSS 'An+B' parsing spec-compliant 2021-07-31 00:18:11 +02:00
SelectorEngine.cpp LibWeb: Switch to new CSS Parser :^) 2021-08-02 19:01:25 +04:30
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 '0' always be both a number and a length in CSS 2021-08-14 12:45:01 +02:00
StyleProperties.h LibWeb: Make box-shadow known throughout the CSS subsystem 2021-07-24 22:16:48 +02:00
StyleResolver.cpp LibWeb: Replace is_inherited_property() with generated code 2021-08-16 23:26:16 +02:00
StyleResolver.h LibWeb: Replace is_inherited_property() with generated code 2021-08-16 23:26:16 +02:00
StyleSheet.cpp
StyleSheet.h
StyleSheet.idl
StyleSheetList.cpp
StyleSheetList.h
StyleSheetList.idl
StyleValue.cpp LibWeb: Remove ValueListStyleValue :^) 2021-08-14 12:45:01 +02:00
StyleValue.h LibWeb: Remove ValueListStyleValue :^) 2021-08-14 12:45:01 +02:00