ladybird/Libraries/LibWeb/CSS
Callum Law a8fc15c6b3 LibWeb: Don't fail on non-fill keyword parsing <border-image-slice>
Previously if we encountered a keyword other than `fill` when parsing
`<border-image-slice` we would return a nullptr.

This could cause issues when we parse `<border-image-slice>` as part of
parsing `border-image`, for example `border-image: 100% none` would fail
as we would try parse `none` as part of the `<border-image-slice>`
instead of `<border-image-source>`.

This change makes it so that we don't consume the token and leave it to
be parsed as part of the next section of the grammar.
2025-07-09 16:59:22 +01:00
..
Parser LibWeb: Don't fail on non-fill keyword parsing <border-image-slice> 2025-07-09 16:59:22 +01:00
StyleValues LibWeb: Rename "var_or_attr" to "arbitrary_substitution_function" 2025-07-09 16:44:20 +01:00
SyntaxHighlighter
Angle.cpp
Angle.h
AnimationEvent.cpp
AnimationEvent.h
AnimationEvent.idl
BooleanExpression.cpp
BooleanExpression.h
CalculatedOr.cpp
CalculatedOr.h
CascadedProperties.cpp
CascadedProperties.h
CascadeOrigin.h
CharacterTypes.h
Clip.cpp
Clip.h
ColumnCount.h
ComputedProperties.cpp LibWeb/CSS: Update definition for cursor property 2025-07-09 13:21:26 +02:00
ComputedProperties.h LibWeb/CSS: Add the text-rendering property 2025-06-27 16:51:30 +01:00
ComputedValues.h LibWeb/CSS: Update definition for cursor property 2025-07-09 13:21:26 +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
CSS.h
CSS.idl
CSSAnimation.cpp
CSSAnimation.h
CSSAnimation.idl
CSSConditionRule.cpp
CSSConditionRule.h
CSSConditionRule.idl
CSSDescriptors.cpp LibWeb/DOM: Stop including Element.h from AbstractElement.h 2025-06-19 12:35:31 +01:00
CSSDescriptors.h
CSSFontFaceDescriptors.cpp LibWeb/DOM: Stop including Element.h from AbstractElement.h 2025-06-19 12:35:31 +01:00
CSSFontFaceDescriptors.h
CSSFontFaceDescriptors.idl
CSSFontFaceRule.cpp
CSSFontFaceRule.h
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
CSSImportRule.h
CSSImportRule.idl
CSSKeyframeRule.cpp
CSSKeyframeRule.h
CSSKeyframeRule.idl
CSSKeyframesRule.cpp
CSSKeyframesRule.h
CSSKeyframesRule.idl
CSSLayerBlockRule.cpp
CSSLayerBlockRule.h
CSSLayerBlockRule.idl
CSSLayerStatementRule.cpp
CSSLayerStatementRule.h
CSSLayerStatementRule.idl
CSSMarginRule.cpp
CSSMarginRule.h
CSSMarginRule.idl
CSSMediaRule.cpp
CSSMediaRule.h
CSSMediaRule.idl
CSSNamespaceRule.cpp
CSSNamespaceRule.h
CSSNamespaceRule.idl
CSSNestedDeclarations.cpp
CSSNestedDeclarations.h
CSSNestedDeclarations.idl
CSSNumericType.cpp
CSSNumericType.h
CSSPageDescriptors.cpp LibWeb/DOM: Stop including Element.h from AbstractElement.h 2025-06-19 12:35:31 +01:00
CSSPageDescriptors.h
CSSPageDescriptors.idl
CSSPageRule.cpp
CSSPageRule.h
CSSPageRule.idl
CSSPropertyRule.cpp
CSSPropertyRule.h
CSSPropertyRule.idl
CSSRule.cpp LibWeb: Update CSSRule parent style sheet whenever parent rule changes 2025-06-23 15:21:36 +01:00
CSSRule.h
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
CSSStyleDeclaration.h LibWeb/DOM: Rename ElementReference to AbstractElement 2025-06-19 12:35:31 +01:00
CSSStyleDeclaration.idl
CSSStyleProperties.cpp LibWeb: Generate logical property mappings 2025-07-08 11:45:15 -06:00
CSSStyleProperties.h LibWeb/DOM: Stop including Element.h from AbstractElement.h 2025-06-19 12:35:31 +01:00
CSSStyleProperties.idl
CSSStyleRule.cpp LibWeb: Treat CSS selectors containing undeclared namespaces as invalid 2025-06-24 12:51:12 +01:00
CSSStyleRule.h
CSSStyleRule.idl
CSSStyleSheet.cpp LibWeb: Treat CSS selectors containing undeclared namespaces as invalid 2025-06-24 12:51:12 +01:00
CSSStyleSheet.h LibWeb: Treat CSS selectors containing undeclared namespaces as invalid 2025-06-24 12:51:12 +01:00
CSSStyleSheet.idl
CSSStyleValue.cpp LibWeb: Parse the border-image-slice property 2025-07-03 10:19:44 +01:00
CSSStyleValue.h LibWeb: Allow passing a resolution context to CSSStyleValue::to_color 2025-07-04 13:18:55 +01:00
CSSSupportsRule.cpp
CSSSupportsRule.h
CSSSupportsRule.idl
CSSTransition.cpp
CSSTransition.h
CSSTransition.idl
Default.css
Descriptor.cpp
Descriptor.h
Descriptors.json
Display.cpp
Display.h
EasingFunctions.json
EdgeRect.cpp
EdgeRect.h
ElementCSSInlineStyle.idl
Enums.json LibWeb: Create enum for <line-width> keywords 2025-07-09 13:28:12 +02:00
Fetch.cpp
Fetch.h
Filter.h
Flex.cpp
Flex.h
FontFace.cpp
FontFace.h
FontFace.idl
FontFaceSet.cpp LibWeb: Throw SyntaxError when FontFaceSet contains var 2025-07-01 11:50:05 +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
Frequency.h
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: Interpolate legacy colors in sRGB 2025-07-04 15:28:08 +01:00
Interpolation.h LibWeb: Interpolate legacy colors in sRGB 2025-07-04 15:28:08 +01:00
InvalidationSet.cpp
InvalidationSet.h
Keywords.json LibWeb/CSS: Add the text-rendering property 2025-06-27 16:51:30 +01:00
Length.cpp LibWeb: Allow creating Length::ResolutionContext with provided root 2025-07-04 13:18:55 +01:00
Length.h
LengthBox.cpp
LengthBox.h
LinkStyle.idl
LogicalPropertyGroups.json LibWeb: Generate logical property mappings 2025-07-08 11:45:15 -06:00
MathFunctions.json
MediaFeatures.json
MediaList.cpp
MediaList.h
MediaList.idl
MediaQuery.cpp
MediaQuery.h
MediaQueryList.cpp
MediaQueryList.h
MediaQueryList.idl
MediaQueryListEvent.cpp
MediaQueryListEvent.h
MediaQueryListEvent.idl
Number.cpp
Number.h
PageSelector.cpp
PageSelector.h
ParsedFontFace.cpp
ParsedFontFace.h
Percentage.h
PercentageOr.h
PreferredColorScheme.cpp
PreferredColorScheme.h
PreferredContrast.cpp
PreferredContrast.h
PreferredMotion.cpp
PreferredMotion.h
Properties.json LibWeb: Create enum for <line-width> keywords 2025-07-09 13:28:12 +02:00
PropertyName.h LibWeb: Don't treat "--" as a valid custom property name 2025-06-25 17:09:29 +01:00
PseudoClassBitmap.h
PseudoClasses.json LibWeb/CSS: Implement the :state(foo) pseudo-class 2025-07-04 18:10:28 +01:00
PseudoElements.json LibWeb: Remove GeneratedPseudoElement enum 2025-06-19 12:35:31 +01:00
QuirksMode.css
Ratio.cpp
Ratio.h
Resolution.cpp
Resolution.h
Screen.cpp
Screen.h
Screen.idl
ScreenOrientation.cpp
ScreenOrientation.h
ScreenOrientation.idl
Selector.cpp LibWeb/CSS: Implement the :state(foo) pseudo-class 2025-07-04 18:10:28 +01:00
Selector.h
SelectorEngine.cpp LibWeb: Capitalize "No Popover state" consistently 2025-07-08 17:08:39 +01:00
SelectorEngine.h
SerializationMode.h
Serialize.cpp
Serialize.h
Size.cpp
Size.h
Sizing.cpp
Sizing.h
StyleComputer.cpp LibWeb: Remove unused code in for_each_property_expanding_shorthands 2025-07-09 16:59:22 +01:00
StyleComputer.h LibWeb/CSS: Reimplement var()/attr() as arbitrary substitution functions 2025-07-09 16:44:20 +01:00
StyleInvalidation.cpp
StyleInvalidation.h
StyleInvalidationData.cpp
StyleInvalidationData.h
StyleProperty.cpp
StyleProperty.h
StyleSheet.cpp
StyleSheet.h
StyleSheet.idl
StyleSheetIdentifier.cpp
StyleSheetIdentifier.h
StyleSheetList.cpp
StyleSheetList.h
StyleSheetList.idl
Supports.cpp
Supports.h
SystemColor.cpp
SystemColor.h
Time.cpp
Time.h
Transformation.cpp
Transformation.h
TransformFunctions.json LibWeb/CSS: Disallow third argument in 2D scale functions 2025-06-15 15:59:02 +02:00
TransitionEvent.cpp
TransitionEvent.h
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
VisualViewport.cpp
VisualViewport.h
VisualViewport.idl