1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 16:35:08 +00:00
serenity/Userland/Libraries/LibWeb/CSS
Sam Atkins 8dc4f3763d LibWeb: Only apply the unitless-length quirk to needed properties
Previously, we applied the unitless length quirk to all numbers in
quirks mode. Now, we correctly only do so for the set of properties
listed in the quirks-mode spec:
https://quirks.spec.whatwg.org/#quirky-length-value

However, we do not yet prevent this quirk inside CSS expressions (like
`calc()`) as the spec directs.
2021-09-12 16:30:38 +02:00
..
Parser LibWeb: Only apply the unitless-length quirk to needed properties 2021-09-12 16:30:38 +02:00
.gitignore Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ComputedValues.h LibWeb: Add auto as a recognized argument of flex-basis 2021-08-07 15:21:34 +02:00
CSSImportRule.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CSSImportRule.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
CSSRule.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CSSRule.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
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 Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CSSStyleSheet.h AK: Rename downcast<T> => verify_cast<T> 2021-06-24 19:57:01 +02:00
CSSStyleSheet.idl LibWeb: Start exposing CSS style sheets to JavaScript :^) 2021-03-08 11:50:36 +01:00
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 LibWeb: Handle CSS "ch" length unit (mostly) 2021-08-25 17:55:53 +02:00
Length.h LibWeb: Handle CSS "ch" length unit (mostly) 2021-08-25 17:55:53 +02:00
LengthBox.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Properties.json LibWeb: Add CSS quirks information to Properties.json 2021-09-12 16:30:38 +02:00
QuirksMode.css Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Screen.cpp LibWeb: Add DOM::Window::page() 2021-09-09 21:25:10 +02:00
Screen.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Screen.idl LibWeb: Implement the Screen interface 2021-04-04 00:37:54 +02:00
Selector.cpp AK: Move FormatParser definition from header to implementation file 2021-08-19 23:49:25 +02:00
Selector.h Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
SelectorEngine.cpp Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
SelectorEngine.h LibWeb: Convert CSS Dump, Selector, & SelectorEngine to east const 2021-07-14 13:31:00 +02:00
StyleInvalidator.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
StyleInvalidator.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
StyleProperties.cpp LibWeb: Remove outdated FIXME about ACID2 2021-08-26 23:41:37 +02:00
StyleProperties.h LibWeb: Remove unused CSS::StyleProperties::string_or_fallback() 2021-08-26 13:25:52 +02:00
StyleResolver.cpp Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
StyleResolver.h LibWeb: Replace is_inherited_property() with generated code 2021-08-16 23:26:16 +02:00
StyleSheet.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StyleSheet.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StyleSheet.idl LibWeb: Implement StyleSheet.type 2021-03-08 16:16:28 +01:00
StyleSheetList.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StyleSheetList.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
StyleSheetList.idl LibWeb: Start exposing CSS style sheets to JavaScript :^) 2021-03-08 11:50:36 +01:00
StyleValue.cpp Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
StyleValue.h Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00