1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 06:25:07 +00:00
serenity/Userland/Libraries/LibWeb/CSS
Andreas Kling 20caea2f86 LibWeb: Split CSS box type transformations into a helper function
Let's have one function that determines the type of transformation
needed, and another to actually perform the transformation.

This makes it much easier to read, and we don't have to duplicate the
logic for doing the transformation.
2022-02-28 14:17:44 +01:00
..
Parser LibWeb: Implement :nth-of-type and :nth-last-of-type selectors :^) 2022-02-26 15:30:24 +01:00
SyntaxHighlighter LibWeb: Implement first draft of CSS syntax highlighting :^) 2021-10-23 19:07:44 +02:00
.gitignore Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Angle.cpp LibWeb: Implement CSS Angle class 2022-02-24 08:04:25 +01:00
Angle.h LibWeb: Implement CSS Angle class 2022-02-24 08:04:25 +01:00
ComputedValues.h LibWeb: Add vertical-align to ComputedValues 2022-02-26 01:35:06 +01:00
CSSConditionRule.cpp LibWeb: Remove for_first_not_loaded_import_rule() :^) 2021-11-18 21:11:19 +01:00
CSSConditionRule.h LibWeb: Remove for_first_not_loaded_import_rule() :^) 2021-11-18 21:11:19 +01:00
CSSConditionRule.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
CSSGroupingRule.cpp LibWeb: Remove for_first_not_loaded_import_rule() :^) 2021-11-18 21:11:19 +01:00
CSSGroupingRule.h LibWeb: Remove for_first_not_loaded_import_rule() :^) 2021-11-18 21:11:19 +01:00
CSSGroupingRule.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
CSSImportRule.cpp LibWeb: Don't delay document load event forever with cached CSS imports 2022-02-15 14:14:02 +01:00
CSSImportRule.h Everywhere: Fix -Winconsistent-missing-override warnings from Clang 2021-12-11 13:14:15 -08:00
CSSMediaRule.cpp LibWeb: Add serialization code for CSS{Media,Supports}Rule 2021-10-15 18:12:20 +01:00
CSSMediaRule.h LibWeb: Add serialization code for CSS{Media,Supports}Rule 2021-10-15 18:12:20 +01:00
CSSRule.cpp LibWeb: Use W3C urls for CSSOM spec links 2021-10-15 21:05:35 +01:00
CSSRule.h LibWeb: Make CSSStyleSheet::m_owner_css_rule a WeakPtr 2021-12-06 19:22:16 +01:00
CSSRule.idl LibWeb: Implement CSSRule and CSSStyleDeclaration serialization 2021-10-01 20:17:15 +02:00
CSSRuleList.cpp LibWeb: Only invalidate styles if a @media rule changes match status 2022-02-17 19:56:19 +01:00
CSSRuleList.h LibWeb: Only invalidate styles if a @media rule changes match status 2022-02-17 19:56:19 +01:00
CSSRuleList.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
CSSStyleDeclaration.cpp LibWeb: Add an enum for !important 2022-02-12 16:13:27 +00:00
CSSStyleDeclaration.h LibWeb: Add an enum for !important 2022-02-12 16:13:27 +00:00
CSSStyleDeclaration.idl LibWeb: Support simplest form of CSSStyleDeclaration.setProperty() 2021-09-26 19:07:03 +02:00
CSSStyleRule.cpp LibWeb: Serialize selectors only in CSSStyleRule::selector_text() 2021-10-16 15:16:27 +01:00
CSSStyleRule.h LibWeb: Implement CSSRule and CSSStyleDeclaration serialization 2021-10-01 20:17:15 +02:00
CSSStyleRule.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
CSSStyleSheet.cpp LibWeb: Only invalidate styles if a @media rule changes match status 2022-02-17 19:56:19 +01:00
CSSStyleSheet.h LibWeb: Only invalidate styles if a @media rule changes match status 2022-02-17 19:56:19 +01:00
CSSStyleSheet.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
CSSSupportsRule.cpp LibWeb: Add serialization code for CSS{Media,Supports}Rule 2021-10-15 18:12:20 +01:00
CSSSupportsRule.h LibWeb: Add serialization code for CSS{Media,Supports}Rule 2021-10-15 18:12:20 +01:00
Default.css LibWeb: Make i, em, address, cite, dfn and var elements italic 2022-02-20 11:50:38 +01:00
Display.cpp LibWeb: Don't crash on unknown CSS display types, fall back to inline 2022-02-13 01:03:49 +01:00
Display.h LibWeb: Don't crash on unknown CSS display types, fall back to inline 2022-02-13 01:03:49 +01:00
Frequency.cpp LibWeb: Implement CSS Frequency class 2022-02-24 08:04:25 +01:00
Frequency.h LibWeb: Implement CSS Frequency class 2022-02-24 08:04:25 +01:00
GeneralEnclosed.h LibWeb: Implement independent GeneralEnclosed class 2021-11-24 22:57:46 +01:00
Identifiers.json LibWeb: Add support for CSS image-rendering property 2022-02-19 11:38:46 +01:00
Length.cpp LibWeb: Move length-unit-from-string code into Length 2022-02-24 08:04:25 +01:00
Length.h LibWeb: Move length-unit-from-string code into Length 2022-02-24 08:04:25 +01:00
LengthBox.h LibWeb: Convert width/height and min-/max- versions to LengthPercentage 2022-01-20 00:04:10 +01:00
MediaList.cpp LibWeb: Move media-query-list serialization code to MediaQuery.{h,cpp} 2021-10-15 18:12:20 +01:00
MediaList.h LibWeb: Implement MediaQuery matching :^) 2021-10-05 18:51:39 +02:00
MediaList.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
MediaQuery.cpp LibWeb: Implement <resolution> as a media feature type 2022-02-24 08:04:25 +01:00
MediaQuery.h LibWeb: Implement <resolution> as a media feature type 2022-02-24 08:04:25 +01:00
MediaQueryList.cpp LibWeb: Add support for the options variant of {add,remove}EventListener 2022-02-20 02:03:24 +01:00
MediaQueryList.h LibWeb: Separate "event listener" from "EventListener" 2022-02-16 22:21:45 +01:00
MediaQueryList.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
MediaQueryListEvent.h LibWeb: Fire MediaQueryListEvents when an MQL's match-state changes 2021-10-05 18:51:39 +02:00
MediaQueryListEvent.idl LibWeb: Fire MediaQueryListEvents when an MQL's match-state changes 2021-10-05 18:51:39 +02:00
Percentage.cpp LibWeb: Implement CSS Time class 2022-02-24 08:04:25 +01:00
Percentage.h LibWeb: Implement CSS Time class 2022-02-24 08:04:25 +01:00
PreferredColorScheme.cpp LibWeb: Add Web::CSS::PreferredColorScheme enum 2021-10-31 18:39:13 +01:00
PreferredColorScheme.h LibWeb: Add Web::CSS::PreferredColorScheme enum 2021-10-31 18:39:13 +01:00
Properties.json LibWeb: Parse the content property 2022-02-25 19:35:34 +01:00
QuirksMode.css Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Resolution.cpp LibWeb: Implement CSS Resolution class 2022-02-24 08:04:25 +01:00
Resolution.h LibWeb: Implement CSS Resolution class 2022-02-24 08:04:25 +01:00
ResolvedCSSStyleDeclaration.cpp LibWeb: Add vertical-align to ComputedValues 2022-02-26 01:35:06 +01:00
ResolvedCSSStyleDeclaration.h LibWeb: Implement CSSRule and CSSStyleDeclaration serialization 2021-10-01 20:17:15 +02:00
Screen.cpp LibWeb: Make CSS::Screen forward its ref count to DOM::Window 2021-12-09 21:28:52 +01:00
Screen.h LibWeb: Make CSS::Screen forward its ref count to DOM::Window 2021-12-09 21:28:52 +01:00
Screen.idl LibWeb: Implement the Screen interface 2021-04-04 00:37:54 +02:00
Selector.cpp LibWeb: Implement :nth-of-type and :nth-last-of-type selectors :^) 2022-02-26 15:30:24 +01:00
Selector.h LibWeb: Implement :nth-of-type and :nth-last-of-type selectors :^) 2022-02-26 15:30:24 +01:00
SelectorEngine.cpp LibWeb: Implement :nth-of-type and :nth-last-of-type selectors :^) 2022-02-26 15:30:24 +01:00
SelectorEngine.h LibWeb: Match styles for pseudo-elements 2022-02-25 19:35:34 +01:00
Serialize.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Serialize.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
StyleComputer.cpp LibWeb: Split CSS box type transformations into a helper function 2022-02-28 14:17:44 +01:00
StyleComputer.h LibWeb: Add a rule-cache for PseudoElements 2022-02-25 19:35:34 +01:00
StyleProperties.cpp LibWeb: Add vertical-align to ComputedValues 2022-02-26 01:35:06 +01:00
StyleProperties.h LibWeb: Add vertical-align to ComputedValues 2022-02-26 01:35:06 +01:00
StyleSheet.cpp LibWeb: Make StyleSheet::m_parent_style_sheet a WeakPtr 2021-12-06 19:22:16 +01:00
StyleSheet.h LibWeb: Make StyleSheet::m_parent_style_sheet a WeakPtr 2021-12-06 19:22:16 +01:00
StyleSheet.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
StyleSheetList.cpp LibWeb: Cache CSS rules in buckets to reduce number of rules checked 2022-02-10 20:52:11 +01:00
StyleSheetList.h LibWeb: Cache CSS rules in buckets to reduce number of rules checked 2022-02-10 20:52:11 +01:00
StyleSheetList.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
StyleValue.cpp LibWeb: Make StyleValue absolutization non-destructive 2022-02-26 01:35:25 +01:00
StyleValue.h LibWeb: Make StyleValue absolutization non-destructive 2022-02-26 01:35:25 +01:00
Supports.cpp LibWeb: Implement @supports selector(.foo) 2022-02-19 19:33:54 +01:00
Supports.h LibWeb: Implement @supports selector(.foo) 2022-02-19 19:33:54 +01:00
Time.cpp LibWeb: Implement CSS Time class 2022-02-24 08:04:25 +01:00
Time.h LibWeb: Implement CSS Time class 2022-02-24 08:04:25 +01:00