ladybird/Userland/Libraries/LibWeb/CSS
Andreas Kling c8f22f65d9 LibWeb: Filter rules to run before allocating vector of matches
By filtering first, we end up allocating much less vector space
most of the time.

This is mostly helpful in pathological cases where there's a huge number
of rules present, but most of them get rejected early.
2024-09-09 20:12:07 +02:00
..
Parser LibWeb/CSS: Parse @layer rules 2024-09-06 07:49:55 +02:00
StyleValues LibWeb: Support parsing columns 2024-08-26 08:26:22 +01:00
SyntaxHighlighter LibWeb/CSS: Remove tiny-oom propagation from CSS Tokenizer 2024-07-26 17:29:20 +02:00
Angle.cpp LibWeb: Make CSS::PercentageOr<T> non-virtual 2024-08-02 20:37:40 +02:00
Angle.h LibWeb/CSS: Introduce CSSNumericValue and CSSUnitValue type stubs 2024-08-21 10:51:48 +01:00
AnimationEvent.cpp LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
AnimationEvent.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
AnimationEvent.idl LibWeb: Add the AnimationEvent IDL objects 2024-02-16 12:02:11 -07:00
BackdropFilter.h LibWeb: Rename StyleValue -> CSSStyleValue 2024-08-15 13:58:38 +01:00
CalculatedOr.cpp LibWeb: Rename StyleValue -> CSSStyleValue 2024-08-15 13:58:38 +01:00
CalculatedOr.h LibWeb: Rename StyleValue -> CSSStyleValue 2024-08-15 13:58:38 +01:00
Clip.cpp
Clip.h
ColumnCount.h
ComputedValues.h LibWeb: Support parsing column-span 2024-08-26 08:26:22 +01:00
CountersSet.cpp LibWeb: Give DOM Elements a CountersSet 2024-07-26 11:04:30 +01:00
CountersSet.h LibWeb: Give DOM Elements a CountersSet 2024-07-26 11:04:30 +01:00
CSS.cpp
CSS.h
CSS.idl
CSSAnimation.cpp LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
CSSAnimation.h LibWeb: Rename StyleValue -> CSSStyleValue 2024-08-15 13:58:38 +01:00
CSSAnimation.idl LibWeb: Add the CSSAnimation IDL object 2024-02-16 12:02:11 -07:00
CSSConditionRule.cpp LibWeb/CSS: Replace style-rule iteration methods with a generic one 2024-09-06 07:49:55 +02:00
CSSConditionRule.h LibWeb/CSS: Replace style-rule iteration methods with a generic one 2024-09-06 07:49:55 +02:00
CSSConditionRule.idl LibWeb: Make CSSConditionRule.conditionText read-only 2024-02-28 22:14:58 +01:00
CSSFontFaceRule.cpp LibWeb: Rename CSS::FontFace to CSS::ParsedFontFace 2024-05-08 10:39:16 +02:00
CSSFontFaceRule.h LibWeb: Rename CSS::FontFace to CSS::ParsedFontFace 2024-05-08 10:39:16 +02:00
CSSFontFaceRule.idl
CSSGroupingRule.cpp LibWeb/CSS: Replace style-rule iteration methods with a generic one 2024-09-06 07:49:55 +02:00
CSSGroupingRule.h LibWeb/CSS: Replace style-rule iteration methods with a generic one 2024-09-06 07:49:55 +02:00
CSSGroupingRule.idl
CSSImportRule.cpp LibWeb: Note what's causing a style invalidation to happen 2024-09-08 09:45:31 +02:00
CSSImportRule.h AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00
CSSImportRule.idl LibWeb: Use 'FIXME' extended attribute where possible 2024-05-19 16:24:11 +02:00
CSSKeyframeRule.cpp LibWeb: Implement CSSStyleDeclaration.parentRule 2024-06-14 20:45:37 +02:00
CSSKeyframeRule.h LibWeb: Implement CSSKeyframesRule.cssRuleList 2024-06-14 20:45:37 +02:00
CSSKeyframeRule.idl
CSSKeyframesRule.cpp LibWeb: Make CSSKeyframeRule.parentRule actually point to parent rule 2024-06-14 20:45:37 +02:00
CSSKeyframesRule.h LibWeb: Make CSSKeyframeRule.parentRule actually point to parent rule 2024-06-14 20:45:37 +02:00
CSSKeyframesRule.idl LibWeb: Implement CSSKeyframesRule.cssRuleList 2024-06-14 20:45:37 +02:00
CSSLayerBlockRule.cpp LibWeb: Cache the qualified layer name in CSSRule 2024-09-07 13:23:55 +02:00
CSSLayerBlockRule.h LibWeb/CSS: Add CSSOM types for @layer rules 2024-09-06 07:49:55 +02:00
CSSLayerBlockRule.idl LibWeb/CSS: Add CSSOM types for @layer rules 2024-09-06 07:49:55 +02:00
CSSLayerStatementRule.cpp LibWeb: Cache the qualified layer name in CSSRule 2024-09-07 13:23:55 +02:00
CSSLayerStatementRule.h LibWeb/CSS: Add CSSOM types for @layer rules 2024-09-06 07:49:55 +02:00
CSSLayerStatementRule.idl LibWeb/CSS: Add CSSOM types for @layer rules 2024-09-06 07:49:55 +02:00
CSSMediaRule.cpp LibWeb: Serialize empty media rules with a single newline 2024-05-01 07:21:21 +02:00
CSSMediaRule.h LibWeb: Make CSSConditionRule.conditionText read-only 2024-02-28 22:14:58 +01:00
CSSMediaRule.idl
CSSNamespaceRule.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
CSSNamespaceRule.h
CSSNamespaceRule.idl LibWeb: Format all .idl files to use four space indentation 2024-01-18 14:00:06 +01:00
CSSNumericType.cpp LibWeb: Implement CounterStyleValue 2024-07-26 11:04:30 +01:00
CSSNumericType.h
CSSRule.cpp LibWeb: Cache the qualified layer name in CSSRule 2024-09-07 13:23:55 +02:00
CSSRule.h LibWeb: Cache the qualified layer name in CSSRule 2024-09-07 13:23:55 +02:00
CSSRule.idl
CSSRuleList.cpp LibWeb/CSS: Replace style-rule iteration methods with a generic one 2024-09-06 07:49:55 +02:00
CSSRuleList.h LibWeb/CSS: Replace style-rule iteration methods with a generic one 2024-09-06 07:49:55 +02:00
CSSRuleList.idl
CSSStyleDeclaration.cpp LibWeb: Rename StyleValue -> CSSStyleValue 2024-08-15 13:58:38 +01:00
CSSStyleDeclaration.h LibWeb: Rename StyleValue -> CSSStyleValue 2024-08-15 13:58:38 +01:00
CSSStyleDeclaration.idl LibWeb: Remove unnecessary FIXME marker for CSSStyleDeclaration.cssFloat 2024-06-14 20:45:37 +02:00
CSSStyleRule.cpp LibWeb: Note what's causing a style invalidation to happen 2024-09-08 09:45:31 +02:00
CSSStyleRule.h LibWeb/CSS: Implement cascade layers (aka @layer) 2024-09-06 07:49:55 +02:00
CSSStyleRule.idl
CSSStyleSheet.cpp LibWeb: Note what's causing a style invalidation to happen 2024-09-08 09:45:31 +02:00
CSSStyleSheet.h LibWeb/CSS: Replace style-rule iteration methods with a generic one 2024-09-06 07:49:55 +02:00
CSSStyleSheet.idl LibWeb: Remove first rule if no argument is given for remove_rule() 2024-02-24 21:59:28 +01:00
CSSStyleValue.cpp LibWeb: Rename ColorStyleValue -> CSSColorValue 2024-08-21 10:51:48 +01:00
CSSStyleValue.h LibWeb: Rename ColorStyleValue -> CSSColorValue 2024-08-21 10:51:48 +01:00
CSSSupportsRule.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
CSSSupportsRule.h LibWeb: Make CSSConditionRule.conditionText read-only 2024-02-28 22:14:58 +01:00
CSSSupportsRule.idl
CSSTransition.cpp LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
CSSTransition.h LibWeb: Rename StyleValue -> CSSStyleValue 2024-08-15 13:58:38 +01:00
CSSTransition.idl LibWeb: Add the CSSTransition IDL object 2024-03-29 21:58:12 +01:00
Default.css LibWeb: Add background color to input fields 2024-09-03 10:16:13 +01:00
Display.cpp
Display.h
EasingFunctions.json
EdgeRect.cpp
EdgeRect.h
ElementCSSInlineStyle.idl
Enums.json LibWeb: Support parsing column-span 2024-08-26 08:26:22 +01:00
Flex.cpp
Flex.h LibWeb/CSS: Introduce CSSNumericValue and CSSUnitValue type stubs 2024-08-21 10:51:48 +01:00
FontFace.cpp LibGfx+LibWeb: Replace remaining OpenType implementation with Skia 2024-09-05 19:21:52 +02:00
FontFace.h LibGfx+LibWeb: Rename Gfx::VectorFont to Gfx::Typeface 2024-06-30 13:09:23 +02:00
FontFace.idl LibWeb: Support loading FontFaces constructed with binary data 2024-05-14 12:31:10 -06:00
FontFaceSet.cpp LibWeb/CSS: Implement FontFaceSet.onloadingerror 2024-06-07 19:30:35 +02:00
FontFaceSet.h LibWeb/CSS: Implement FontFaceSet.onloadingerror 2024-06-07 19:30:35 +02:00
FontFaceSet.idl LibWeb/CSS: Implement FontFaceSet.onloadingerror 2024-06-07 19:30:35 +02:00
Frequency.cpp LibWeb: Make CSS::PercentageOr<T> non-virtual 2024-08-02 20:37:40 +02:00
Frequency.h LibWeb/CSS: Introduce CSSNumericValue and CSSUnitValue type stubs 2024-08-21 10:51:48 +01:00
GeneralEnclosed.h
GridTrackPlacement.cpp
GridTrackPlacement.h
GridTrackSize.cpp LibWeb: Implement grid-template function fit-content() 2024-07-25 13:12:26 +02:00
GridTrackSize.h LibWeb: Implement grid-template function fit-content() 2024-07-25 13:12:26 +02:00
Keywords.json LibWeb: Use CSSKeywordValue for CSS-wide keywords 2024-08-15 13:58:38 +01:00
Length.cpp LibWeb/CSS: Introduce CSSNumericValue and CSSUnitValue type stubs 2024-08-21 10:51:48 +01:00
Length.h LibWeb/CSS: Introduce CSSNumericValue and CSSUnitValue type stubs 2024-08-21 10:51:48 +01:00
LengthBox.cpp
LengthBox.h LibWeb: Rename StyleValue -> CSSStyleValue 2024-08-15 13:58:38 +01:00
LinkStyle.idl
MathFunctions.json
MediaFeatures.json
MediaList.cpp Bindings: Implement is_supported_property_index in terms of item_value 2024-07-26 14:26:16 +02:00
MediaList.h Bindings: Implement is_supported_property_index in terms of item_value 2024-07-26 14:26:16 +02:00
MediaList.idl
MediaQuery.cpp LibWeb: Rename "identifier" and "ValueID" to "Keyword" where correct 2024-08-15 13:58:38 +01:00
MediaQuery.h LibWeb: Rename "identifier" and "ValueID" to "Keyword" where correct 2024-08-15 13:58:38 +01:00
MediaQueryList.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
MediaQueryList.h
MediaQueryList.idl
MediaQueryListEvent.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
MediaQueryListEvent.h
MediaQueryListEvent.idl
Number.h
ParsedFontFace.cpp LibWeb: Rename CSS::FontFace to CSS::ParsedFontFace 2024-05-08 10:39:16 +02:00
ParsedFontFace.h LibWeb: Rename CSS::FontFace to CSS::ParsedFontFace 2024-05-08 10:39:16 +02:00
Percentage.h
PercentageOr.cpp LibWeb: Make CSS::PercentageOr<T> non-virtual 2024-08-02 20:37:40 +02:00
PercentageOr.h LibWeb: Make CSS::PercentageOr<T> non-virtual 2024-08-02 20:37:40 +02:00
PreferredColorScheme.cpp
PreferredColorScheme.h
PreferredContrast.cpp LibWeb: Add Contrast preference 2024-06-13 11:18:38 +02:00
PreferredContrast.h LibWeb: Add Contrast preference 2024-06-13 11:18:38 +02:00
PreferredMotion.cpp LibWeb: Add motion preference 2024-06-18 10:31:54 -04:00
PreferredMotion.h LibWeb: Add motion preference 2024-06-18 10:31:54 -04:00
Properties.json LibWeb: Support parsing columns 2024-08-26 08:26:22 +01:00
PseudoClasses.json LibWeb: Implement the :has() pseudo-class 2024-07-15 11:52:03 +01:00
QuirksMode.css
Ratio.cpp LibWeb: Limit ratio parts to 5 decimal places when printing 2024-03-03 19:50:25 +01:00
Ratio.h
Resolution.cpp LibWeb: Make resolution calculable 2023-12-30 20:11:24 +01:00
Resolution.h LibWeb/CSS: Introduce CSSNumericValue and CSSUnitValue type stubs 2024-08-21 10:51:48 +01:00
ResolvedCSSStyleDeclaration.cpp LibWeb: Return used values for grid tracks in getComputedStyle() 2024-09-09 12:48:06 +02:00
ResolvedCSSStyleDeclaration.h LibWeb: Rename StyleValue -> CSSStyleValue 2024-08-15 13:58:38 +01:00
Screen.cpp LibWeb: Stub out Window-Management proposal extensions to Screen API 2024-05-27 17:24:51 -06:00
Screen.h LibWeb: Stub out Window-Management proposal extensions to Screen API 2024-05-27 17:24:51 -06:00
Screen.idl LibWeb: Stub out Window-Management proposal extensions to Screen API 2024-05-27 17:24:51 -06:00
ScreenOrientation.cpp LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
ScreenOrientation.h LibWeb: Add stubs for the Screen Orientation API 2024-04-03 10:09:58 +01:00
ScreenOrientation.idl LibWeb: Add stubs for the Screen Orientation API 2024-04-03 10:09:58 +01:00
Selector.cpp LibWeb: Include immediate child (>) combinator in ancestor filter 2024-09-09 12:46:55 +02:00
Selector.h LibWeb: Rename "identifier" and "ValueID" to "Keyword" where correct 2024-08-15 13:58:38 +01:00
SelectorEngine.cpp LibWeb: Make CSS :hover selector match shadow-inclusive ancestors 2024-08-25 12:53:08 +02:00
SelectorEngine.h LibWeb: Implement :host and :host(<compound-selector>) selector matching 2024-07-23 18:03:46 +02:00
Serialize.cpp LibWeb: Limit color alpha values to 4 decimal places when serializing 2024-03-03 19:50:25 +01:00
Serialize.h
Size.cpp LibWeb: Forbid using CSS::Length as reference value in resolved() 2024-01-07 09:03:57 +01:00
Size.h LibWeb: Forbid using CSS::Length as reference value in resolved() 2024-01-07 09:03:57 +01:00
StyleComputer.cpp LibWeb: Filter rules to run before allocating vector of matches 2024-09-09 20:12:07 +02:00
StyleComputer.h LibWeb: Filter rules to run before allocating vector of matches 2024-09-09 20:12:07 +02:00
StyleInvalidation.cpp LibWeb: Rename "identifier" and "ValueID" to "Keyword" where correct 2024-08-15 13:58:38 +01:00
StyleInvalidation.h LibWeb: Rename StyleValue -> CSSStyleValue 2024-08-15 13:58:38 +01:00
StyleProperties.cpp LibWeb: Support parsing column-span 2024-08-26 08:26:22 +01:00
StyleProperties.h LibWeb: Support parsing column-span 2024-08-26 08:26:22 +01:00
StyleProperty.cpp LibWeb: Rename StyleValue -> CSSStyleValue 2024-08-15 13:58:38 +01:00
StyleProperty.h LibWeb: Rename StyleValue -> CSSStyleValue 2024-08-15 13:58:38 +01:00
StyleSheet.cpp LibWeb: Align StyleSheet title getter with the specification 2024-04-29 08:10:38 +02:00
StyleSheet.h LibWeb: Align StyleSheet title getter with the specification 2024-04-29 08:10:38 +02:00
StyleSheet.idl LibWeb: Align StyleSheet title getter with the specification 2024-04-29 08:10:38 +02:00
StyleSheetIdentifier.cpp LibWeb: Add method for listing all style sheets on a page 2024-09-03 10:12:07 +01:00
StyleSheetIdentifier.h LibWeb: Add method for listing all style sheets on a page 2024-09-03 10:12:07 +01:00
StyleSheetList.cpp LibWeb: Note what's causing a style invalidation to happen 2024-09-08 09:45:31 +02:00
StyleSheetList.h LibWeb: Only invalidate shadow root when style sheet inside changes 2024-08-20 16:10:33 +02:00
StyleSheetList.idl
Supports.cpp LibWeb: Don't leak entire realm after parsing CSS @supports rule 2024-04-05 08:14:19 +02:00
Supports.h LibWeb: Don't leak entire realm after parsing CSS @supports rule 2024-04-05 08:14:19 +02:00
SystemColor.cpp
SystemColor.h
Time.cpp LibWeb: Make CSS::PercentageOr<T> non-virtual 2024-08-02 20:37:40 +02:00
Time.h LibWeb/CSS: Introduce CSSNumericValue and CSSUnitValue type stubs 2024-08-21 10:51:48 +01:00
Transformation.cpp LibWeb: Use transform-box for resolving percentage transform values 2024-09-05 19:22:26 +02:00
Transformation.h LibWeb: Allow percentages on CSS transform scale functions 2024-01-10 09:48:25 +01:00
TransformFunctions.json LibWeb: Add missing CSS Transforms Module Level 2 functions 2024-01-10 09:48:25 +01:00
VisualViewport.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
VisualViewport.h
VisualViewport.idl