ladybird/Libraries/LibWeb/CSS
Sam Atkins 012f4735a7 LibWeb/CSS: Introduce structured reporting for CSS errors
Instead of random dbgln_if(CSS_PARSER_DEBUG) messages, this lets us
report what kind of error it was. Repeated errors are combined instead
of spamming the console.

Ideally this would also record where the error occurred, but not yet.
2025-08-04 10:50:09 +01:00
..
Parser LibWeb/CSS: Introduce structured reporting for CSS errors 2025-08-04 10:50:09 +01:00
StyleValues LibWeb: Parse anchor() function for inset properties 2025-08-03 22:09:31 +02:00
SyntaxHighlighter
Angle.cpp LibWeb: Mark CalculatedStyleValue::resolve_* methods as deprecated 2025-07-16 13:05:33 +01:00
Angle.h LibWeb/CSS: Make dimension types serialize in resolved form 2025-05-17 07:53:24 +01:00
AnimationEvent.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
AnimationEvent.h
AnimationEvent.idl
BooleanExpression.cpp LibWeb: Implement generic boolean logic for media/supports queries 2025-03-17 10:00:19 +00:00
BooleanExpression.h LibWeb/CSS: Make media type and feature evaluation combination explicit 2025-05-23 10:17:58 +01:00
CalculatedOr.cpp LibWeb: Mark CalculatedStyleValue::resolve_* methods as deprecated 2025-07-16 13:05:33 +01:00
CalculatedOr.h LibWeb/CSS: Extract SerializationMode into its own header 2025-05-17 07:53:24 +01:00
CascadedProperties.cpp LibWeb: Support shorthand properties as presentational hints 2025-05-29 12:04:28 +02:00
CascadedProperties.h LibWeb/CSS: Move and rename PseudoElement types to prep for code gen 2025-03-24 09:49:50 +00:00
CascadeOrigin.h
CharacterTypes.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
Clip.cpp
Clip.h
ColumnCount.h
ComputedProperties.cpp LibWeb: Implement anchor-size(..) function parsing 2025-07-30 18:13:59 +01:00
ComputedProperties.h LibWeb/SVG: Add FEFloodElement 2025-07-09 18:07:12 +01:00
ComputedValues.h LibWeb: Support CSS content property images (and lists, too!) 2025-07-28 22:46:27 +02:00
CountersSet.cpp LibWeb: Support counter-* properties on pseudo-elements 2025-06-19 12:35:31 +01:00
CountersSet.h LibWeb: Support counter-* properties on pseudo-elements 2025-06-19 12:35:31 +01:00
CSS.cpp LibWeb/CSS: Add CSS.registerProperty JS method 2025-07-22 10:57:54 +01:00
CSS.h LibWeb/CSS: Add CSS.registerProperty JS method 2025-07-22 10:57:54 +01:00
CSS.idl LibWeb/CSS: Add CSS.registerProperty JS method 2025-07-22 10:57:54 +01:00
CSSAnimation.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
CSSAnimation.h
CSSAnimation.idl
CSSConditionRule.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
CSSConditionRule.h
CSSConditionRule.idl
CSSCounterStyleRule.cpp LibWeb: Stub CSSCounterStyleRule 2025-07-18 11:51:41 +01:00
CSSCounterStyleRule.h LibWeb: Stub CSSCounterStyleRule 2025-07-18 11:51:41 +01:00
CSSCounterStyleRule.idl LibWeb: Stub CSSCounterStyleRule 2025-07-18 11:51:41 +01:00
CSSDescriptors.cpp LibWeb/DOM: Stop including Element.h from AbstractElement.h 2025-06-19 12:35:31 +01:00
CSSDescriptors.h LibWeb/CSS: Allow descriptors to be shorthands 2025-05-15 09:53:29 +01:00
CSSFontFaceDescriptors.cpp LibWeb/DOM: Stop including Element.h from AbstractElement.h 2025-06-19 12:35:31 +01:00
CSSFontFaceDescriptors.h LibWeb/CSS: Extract a CSSDescriptors base class 2025-05-08 16:21:32 +01:00
CSSFontFaceDescriptors.idl LibWeb/CSS: Add CSSFontFaceDescriptors type 2025-04-04 10:40:32 +01:00
CSSFontFaceRule.cpp LibWeb/CSS: Extract SerializationMode into its own header 2025-05-17 07:53:24 +01:00
CSSFontFaceRule.h LibWeb: Dump CSSDescriptors in a generic way 2025-05-08 16:21:32 +01:00
CSSFontFaceRule.idl
CSSGroupingRule.cpp LibWeb: Treat CSS selectors containing undeclared namespaces as invalid 2025-06-24 12:51:12 +01:00
CSSGroupingRule.h
CSSGroupingRule.idl
CSSImportRule.cpp LibWeb/CSS: Remove URL parameter to the CSS Parser 2025-05-03 12:01:43 +01:00
CSSImportRule.h LibWeb/CSS: Don't resolve @import URLs until they are used 2025-04-09 18:45:57 +01:00
CSSImportRule.idl LibWeb/CSS: Mark CSSImportRule.media as nullable 2025-04-09 18:45:57 +01:00
CSSKeyframeRule.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
CSSKeyframeRule.h LibWeb/CSS: Merge style declaration subclasses into CSSStyleProperties 2025-03-19 13:53:00 +00:00
CSSKeyframeRule.idl LibWeb/CSS: Merge style declaration subclasses into CSSStyleProperties 2025-03-19 13:53:00 +00:00
CSSKeyframesRule.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
CSSKeyframesRule.h
CSSKeyframesRule.idl
CSSLayerBlockRule.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
CSSLayerBlockRule.h
CSSLayerBlockRule.idl
CSSLayerStatementRule.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
CSSLayerStatementRule.h
CSSLayerStatementRule.idl LibWeb: Convert trivial attributes to FrozenArray 2025-04-25 16:43:43 +02:00
CSSMarginRule.cpp LibWeb/CSS: Add basic implementation of CSSMarginRule 2025-05-16 11:01:39 +01:00
CSSMarginRule.h LibWeb/CSS: Add basic implementation of CSSMarginRule 2025-05-16 11:01:39 +01:00
CSSMarginRule.idl LibWeb/CSS: Add basic implementation of CSSMarginRule 2025-05-16 11:01:39 +01:00
CSSMediaRule.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
CSSMediaRule.h LibWeb: Implement matches attribute on CSSSupportsRule and CSSMediaRule 2025-07-11 10:57:19 +02:00
CSSMediaRule.idl LibWeb: Implement matches attribute on CSSSupportsRule and CSSMediaRule 2025-07-11 10:57:19 +02:00
CSSNamespaceRule.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
CSSNamespaceRule.h
CSSNamespaceRule.idl
CSSNestedDeclarations.cpp LibWeb: Return correct type from CSSNestedDeclarations::style 2025-04-25 08:48:29 +02:00
CSSNestedDeclarations.h LibWeb: Return correct type from CSSNestedDeclarations::style 2025-04-25 08:48:29 +02:00
CSSNestedDeclarations.idl LibWeb: Return correct type from CSSNestedDeclarations::style 2025-04-25 08:48:29 +02:00
CSSNumericType.cpp LibWeb/CSS: Add String->ValueType conversion function 2025-07-16 14:47:45 +01:00
CSSNumericType.h
CSSPageDescriptors.cpp LibWeb/DOM: Stop including Element.h from AbstractElement.h 2025-06-19 12:35:31 +01:00
CSSPageDescriptors.h LibWeb: Add basic implementation of @page 2025-05-15 09:53:29 +01:00
CSSPageDescriptors.idl LibWeb: Add basic implementation of @page 2025-05-15 09:53:29 +01:00
CSSPageRule.cpp LibWeb/CSS: Implement CSSPageRule.setSelectorText() 2025-05-16 16:42:10 +01:00
CSSPageRule.h LibWeb/CSS: Move PageSelector into its own files 2025-05-16 16:42:10 +01:00
CSSPageRule.idl LibWeb: Add basic implementation of @page 2025-05-15 09:53:29 +01:00
CSSPropertyRule.cpp LibWeb/CSS: Extract SerializationMode into its own header 2025-05-17 07:53:24 +01:00
CSSPropertyRule.h LibWeb/CSS: Add basic registered properties with initial values 2025-07-18 11:12:39 +01:00
CSSPropertyRule.idl
CSSRule.cpp LibWeb: Update CSSRule parent style sheet whenever parent rule changes 2025-06-23 15:21:36 +01:00
CSSRule.h LibWeb: Stub CSSCounterStyleRule 2025-07-18 11:51:41 +01:00
CSSRule.idl
CSSRuleList.cpp LibWeb: Treat CSS selectors containing undeclared namespaces as invalid 2025-06-24 12:51:12 +01:00
CSSRuleList.h LibWeb: Treat CSS selectors containing undeclared namespaces as invalid 2025-06-24 12:51:12 +01:00
CSSRuleList.idl
CSSStyleDeclaration.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
CSSStyleDeclaration.h LibWeb/DOM: Rename ElementReference to AbstractElement 2025-06-19 12:35:31 +01:00
CSSStyleDeclaration.idl LibWeb/CSS: Move property code from CSSStyleDeclaration to *Properties 2025-03-19 13:53:00 +00:00
CSSStyleProperties.cpp LibGfx+LibMedia+LibWeb: Use new Matrix subscript operator 2025-07-28 09:15:23 +02:00
CSSStyleProperties.h LibWeb/DOM: Stop including Element.h from AbstractElement.h 2025-06-19 12:35:31 +01:00
CSSStyleProperties.idl LibWeb/CSS: Move property code from CSSStyleDeclaration to *Properties 2025-03-19 13:53:00 +00:00
CSSStyleRule.cpp LibWeb: Treat CSS selectors containing undeclared namespaces as invalid 2025-06-24 12:51:12 +01:00
CSSStyleRule.h LibWeb/CSS: Let CSSStyleValue know its CSSStyleSheet 2025-04-15 09:54:35 +01:00
CSSStyleRule.idl LibWeb/CSS: Merge style declaration subclasses into CSSStyleProperties 2025-03-19 13:53:00 +00:00
CSSStyleSheet.cpp LibWeb: Make StyleComputer and FontLoader GC-allocated 2025-07-30 16:35:08 +02:00
CSSStyleSheet.h LibWeb: Make StyleComputer and FontLoader GC-allocated 2025-07-30 16:35:08 +02:00
CSSStyleSheet.idl
CSSStyleValue.cpp LibWeb: Parse anchor() function for inset properties 2025-08-03 22:09:31 +02:00
CSSStyleValue.h LibWeb: Parse anchor() function for inset properties 2025-08-03 22:09:31 +02:00
CSSSupportsRule.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
CSSSupportsRule.h LibWeb: Implement matches attribute on CSSSupportsRule and CSSMediaRule 2025-07-11 10:57:19 +02:00
CSSSupportsRule.idl LibWeb: Implement matches attribute on CSSSupportsRule and CSSMediaRule 2025-07-11 10:57:19 +02:00
CSSTransition.cpp LibWeb: Implement CSS transitions support for pseudo elements 2025-05-30 15:48:16 +02:00
CSSTransition.h LibWeb: Implement CSS transitions support for pseudo elements 2025-05-30 15:48:16 +02:00
CSSTransition.idl
Default.css LibWeb/CSS: Update UA styling for view-transition pseudo-elements 2025-07-21 15:29:31 +02:00
Descriptor.cpp LibWeb: Parse descriptors as style values, using the JSON data 2025-04-04 10:40:32 +01:00
Descriptor.h LibWeb: Parse descriptors as style values, using the JSON data 2025-04-04 10:40:32 +01:00
Descriptors.json LibWeb/CSS: Parse @page bleed, marks, page-orientation descriptors 2025-05-15 09:53:29 +01:00
Display.cpp
Display.h LibWeb: Implement CSS 'contain' property 2025-01-28 11:24:40 +00:00
EasingFunctions.json
EdgeRect.cpp
EdgeRect.h
ElementCSSInlineStyle.idl LibWeb/CSS: Merge style declaration subclasses into CSSStyleProperties 2025-03-19 13:53:00 +00:00
Enums.json LibWeb: Parse anchor() function for inset properties 2025-08-03 22:09:31 +02:00
Fetch.cpp LibWeb: Set the initiator type for script-initiated CSS requests 2025-05-06 17:37:34 +01:00
Fetch.h LibWeb/CSS: Parse and use CSS URL request modifiers 2025-05-03 23:22:40 +01:00
Filter.h LibWeb/SVG: Implement resolution for a subset of SVG filters 2025-07-09 18:07:12 +01:00
Flex.cpp LibWeb/CSS: Make dimension types serialize in resolved form 2025-05-17 07:53:24 +01:00
Flex.h LibWeb/CSS: Make dimension types serialize in resolved form 2025-05-17 07:53:24 +01:00
FontFace.cpp LibWeb: Make StyleComputer and FontLoader GC-allocated 2025-07-30 16:35:08 +02:00
FontFace.h LibWeb/CSS: Parse and use tech() in @font-face { src } 2025-06-05 12:10:29 +01:00
FontFace.idl
FontFaceSet.cpp LibWeb: Resolve FontFaceSet::load promise with all loaded FontFaces 2025-07-21 16:29:55 +01:00
FontFaceSet.h IDLGenerators: Add a callback for when a setlike's set is modified 2025-07-04 18:10:28 +01:00
FontFaceSet.idl
Frequency.cpp LibWeb: Mark CalculatedStyleValue::resolve_* methods as deprecated 2025-07-16 13:05:33 +01:00
Frequency.h LibWeb/CSS: Make dimension types serialize in resolved form 2025-05-17 07:53:24 +01:00
GridTrackPlacement.cpp LibWeb: Parse grid track placements closer to spec 2025-07-08 17:26:16 +01:00
GridTrackPlacement.h LibWeb: Parse grid track placements closer to spec 2025-07-08 17:26:16 +01:00
GridTrackSize.cpp LibWeb: Skip serialization of implicit grid lines created during layout 2025-06-25 20:45:48 +02:00
GridTrackSize.h LibWeb: Skip serialization of implicit grid lines created during layout 2025-06-25 20:45:48 +02:00
Interpolation.cpp LibWeb/CSS: Support interpolating filter and backdrop-filter values 2025-07-30 23:29:07 +02:00
Interpolation.h LibWeb: Interpolate legacy colors in sRGB 2025-07-04 15:28:08 +01:00
InvalidationSet.cpp LibWeb: Allow to early break from InvalidationSet::for_each_property() 2025-01-29 09:30:18 +01:00
InvalidationSet.h LibWeb: Skip tree traversal if invalidation set doesn't have properties 2025-07-14 09:32:05 +02:00
Keywords.json LibWeb: Implement anchor-size(..) function parsing 2025-07-30 18:13:59 +01:00
Length.cpp LibWeb: Mark CalculatedStyleValue::resolve_* methods as deprecated 2025-07-16 13:05:33 +01:00
Length.h LibWeb/CSS: Make dimension types serialize in resolved form 2025-05-17 07:53:24 +01:00
LengthBox.cpp
LengthBox.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
LinkStyle.idl
LogicalPropertyGroups.json LibWeb: Generate logical property mappings 2025-07-08 11:45:15 -06:00
MathFunctions.json LibWeb/CSS: Add some FIXME comments for missing math-function features 2025-01-30 19:31:54 +01:00
MediaFeatures.json LibWeb/CSS: Correct how we evaluate boolean media-features 2025-05-23 10:17:58 +01:00
MediaList.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
MediaList.h LibWeb: Invalidate style (and rule cache) on MediaList changes 2025-03-04 19:07:40 +01:00
MediaList.idl
MediaQuery.cpp LibWeb/CSS: Correct how we evaluate boolean media-features 2025-05-23 10:17:58 +01:00
MediaQuery.h LibWeb/CSS: Maintain original form of media-feature ranges 2025-05-23 10:17:58 +01:00
MediaQueryList.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
MediaQueryList.h LibWeb: Don't lose change events on MediaQueryList internal state change 2025-02-13 20:52:31 +01:00
MediaQueryList.idl
MediaQueryListEvent.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
MediaQueryListEvent.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
MediaQueryListEvent.idl
Number.cpp LibWeb: Only serialize CSS numbers with up to 5 decimals 2025-05-18 17:23:34 +02:00
Number.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
PageSelector.cpp LibWeb/CSS: Move PageSelector into its own files 2025-05-16 16:42:10 +01:00
PageSelector.h LibWeb/CSS: Move PageSelector into its own files 2025-05-16 16:42:10 +01:00
ParsedFontFace.cpp LibWeb: Mark CalculatedStyleValue::resolve_* methods as deprecated 2025-07-16 13:05:33 +01:00
ParsedFontFace.h LibWeb/CSS: Parse and use tech() in @font-face { src } 2025-06-05 12:10:29 +01:00
Percentage.h
PercentageOr.h LibWeb/CSS: Extract SerializationMode into its own header 2025-05-17 07:53:24 +01:00
PreferredColorScheme.cpp
PreferredColorScheme.h
PreferredContrast.cpp
PreferredContrast.h
PreferredMotion.cpp
PreferredMotion.h
Properties.json LibWeb: Parse anchor() function for inset properties 2025-08-03 22:09:31 +02:00
PropertyName.h LibWeb: Don't treat "--" as a valid custom property name 2025-06-25 17:09:29 +01:00
PseudoClassBitmap.h LibWeb: Make :hover invalidation logic reusable for all pseudo classes 2025-04-17 19:45:55 +02:00
PseudoClasses.json LibWeb/CSS: Add :unchecked pseudo-class 2025-07-15 21:27:44 +02:00
PseudoElements.json LibWeb/CSS: Parse the ::slotted pseudo-element 2025-07-15 13:54:17 +01:00
QuirksMode.css LibWeb/CSS: Update quirks-mode styling for form elements 2025-03-26 09:47:45 +00:00
Ratio.cpp
Ratio.h
Resolution.cpp LibWeb/CSS: Treat x resolution unit separately from dppx 2025-05-17 07:53:24 +01:00
Resolution.h LibWeb/CSS: Treat x resolution unit separately from dppx 2025-05-17 07:53:24 +01:00
Screen.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
Screen.h
Screen.idl
ScreenOrientation.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
ScreenOrientation.h
ScreenOrientation.idl
Selector.cpp LibWeb/CSS: Add :unchecked pseudo-class 2025-07-15 21:27:44 +02:00
Selector.h LibWeb/CSS: Parse the ::slotted pseudo-element 2025-07-15 13:54:17 +01:00
SelectorEngine.cpp LibWeb/CSS: Add :unchecked pseudo-class 2025-07-15 21:27:44 +02:00
SelectorEngine.h LibWeb: Make :hover invalidation logic reusable for all pseudo classes 2025-04-17 19:45:55 +02:00
SerializationMode.h LibWeb/CSS: Extract SerializationMode into its own header 2025-05-17 07:53:24 +01:00
Serialize.cpp LibWeb/CSS: Stub out a function for serializing ComponentValue sequences 2025-05-23 10:17:58 +01:00
Serialize.h LibWeb/CSS: Stub out a function for serializing ComponentValue sequences 2025-05-23 10:17:58 +01:00
Size.cpp LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
Size.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
Sizing.cpp
Sizing.h
StyleComputer.cpp LibWeb: Make StyleComputer and FontLoader GC-allocated 2025-07-30 16:35:08 +02:00
StyleComputer.h LibWeb: Make StyleComputer and FontLoader GC-allocated 2025-07-30 16:35:08 +02:00
StyleInvalidation.cpp LibWeb/CSS: Invalidate layout tree for changes to counter definitions 2025-06-03 03:51:42 +02:00
StyleInvalidation.h LibGC+LibWeb+LibJS: Remove workaround for Swift boolean bitfield issue 2025-04-04 13:06:53 -06:00
StyleInvalidationData.cpp LibWeb: Implement the :default pseudo-class 2025-05-24 10:31:34 +01:00
StyleInvalidationData.h
StyleProperty.cpp LibWeb: Invalidate less elements affected by CSS custom properties 2025-07-30 11:06:05 +02:00
StyleProperty.h LibWeb: Invalidate less elements affected by CSS custom properties 2025-07-30 11:06:05 +02:00
StyleSheet.cpp LibWeb/CSS: Store CSSStyleSheet location as a URL 2025-04-09 18:45:57 +01:00
StyleSheet.h LibWeb/CSS: Make it clear that StyleSheet::media() is never null 2025-04-09 18:45:57 +01:00
StyleSheet.idl
StyleSheetIdentifier.cpp LibWeb+WebContent: Include rule count in listed CSS style sheets 2025-03-13 16:56:28 -04:00
StyleSheetIdentifier.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
StyleSheetList.cpp LibWeb/CSS: Remove document-URL hack from create_a_style_sheet() 2025-05-03 12:01:43 +01:00
StyleSheetList.h LibWeb/CSS: Return GC::Ref from style sheet parsing methods 2025-04-15 09:40:38 +01:00
StyleSheetList.idl
Supports.cpp LibWeb: Implement CSSImportRule.supportsText 2025-03-19 16:42:51 +01:00
Supports.h LibWeb/CSS: Implement @supports font-format() and font-tech() 2025-03-17 10:00:19 +00:00
SystemColor.cpp
SystemColor.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
Time.cpp LibWeb: Mark CalculatedStyleValue::resolve_* methods as deprecated 2025-07-16 13:05:33 +01:00
Time.h LibWeb/CSS: Make dimension types serialize in resolved form 2025-05-17 07:53:24 +01:00
Transformation.cpp LibWeb: Move Transformation::to_matrix to new CSV resolve methods 2025-07-17 08:31:52 +02:00
Transformation.h
TransformFunctions.json LibWeb/CSS: Disallow third argument in 2D scale functions 2025-06-15 15:59:02 +02:00
TransitionEvent.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
TransitionEvent.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
TransitionEvent.idl
URL.cpp LibWeb/CSS: Add alternative src() syntax for URLs 2025-06-11 16:26:23 +02:00
URL.h LibWeb/CSS: Add alternative src() syntax for URLs 2025-06-11 16:26:23 +02:00
ValueType.cpp LibWeb: Implement anchor-size(..) function parsing 2025-07-30 18:13:59 +01:00
ValueType.h LibWeb: Parse anchor() function for inset properties 2025-08-03 22:09:31 +02:00
VisualViewport.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
VisualViewport.h
VisualViewport.idl