ladybird/Tests/LibWeb/Text/input/css
Luke Wilde 751b93959f LibWeb/CSS: Use fallback var() value if custom property is empty
If the expansion of a custom property in variable expansion returns
tokens, then the custom property is not the initial guaranteed-invalid
value.

If it didn't return any tokens, then it is the initial
guaranteed-invalid value, and thus we should move on to the fallback
value.

Makes Shopify checkout show the background colours, borders, skeletons,
etc.
2025-02-16 09:19:19 +01:00
..
animating-transform-with-calc-crash.html
animating-unresolved-properties-crash.html
attr-serialization.html LibWeb/CSS: Insert whitespace between tokens in serialized UnresolvedSV 2024-10-16 08:34:31 +02:00
attribute-selector-case-sensitivity.html LibWeb: Match attribute selectors case insensitively in XML documents 2024-08-19 09:03:22 +02:00
box-shadow-resolves-length-functions.html
calc-coverage.html Tests: Add clip-path to calc() coverage test 2024-10-29 16:05:16 +01:00
calc-missing-context.html LibWeb: Handle calculations without a context better 2024-10-16 16:39:47 +02:00
changing-animation-name-crash.html
constructed-style-sheets.html
css-hsl-with-calc.html
CSSConditionRule-conditionText-readonly.html
cssFloat-property.html
CSSPropertyRule-invalid-rules.html LibWeb: Parse @property CSS directives 2024-10-23 06:55:37 +01:00
CSSPropertyRule-properties-readonly.html LibWeb: Parse @property CSS directives 2024-10-23 06:55:37 +01:00
CSSRule-type.html LibWeb/CSS: Return 0 from CSSRule.type for non-spec types 2024-10-30 17:30:58 +01:00
CSSStyleDeclaration-all-supported-properties-and-default-values.html LibWeb: Generate IDL attributes for all supported CSS properties 2024-11-14 19:50:22 +01:00
CSSStyleDeclaration-custom-properties-2.html LibWeb: Fix underinvalidation when inline style has custom properties 2025-01-28 11:38:06 +00:00
CSSStyleDeclaration-custom-properties.html LibWeb: Allow custom properties in getPropertyPriority() 2024-11-21 13:16:08 +01:00
CSSStyleDeclaration-has-indexed-property-getter.html LibWeb: Make CSSStyleDeclaration a legacy platform object with indices 2024-11-14 19:50:22 +01:00
CSSStyleDeclaration-modify-computed.html LibWeb: Return error on modification of a computed CSS style declaration 2024-08-05 09:55:50 +02:00
CSSStyleRule-set-selectorText.html
CSSStyleSheet-addRule.html
CSSStyleSheet-constructor.html
CSSStyleSheet-removeRule.html
CSSStyleSheet-replace.html
CSSStyleSheet-replaceSync.html
cubic-bezier-infinite-slope-crash.html LibWeb: Use machine epsilon when approximating cubic bezier 2024-11-03 17:35:20 +01:00
custom-ident-parsing.html
custom-properties-from-all-layers.html LibWeb: Keep custom properties from all cascade layers 2024-09-07 12:37:15 +02:00
dir-pseudo-on-form-associated-element.html
element-opacity-change-invalidation.html
font-face-serialization.html LibWeb: Serialize more @font-face descriptors 2024-10-02 16:28:55 +01:00
font-family-with-dash-prefix.html
font-implicitly-reset-properties.html LibWeb/CSS: Make font implicitly reset some properties 2025-02-12 16:00:42 +00:00
font-language-override-short.html LibWeb: Use correct specifier to pad font language override value 2024-11-18 17:38:03 -05:00
FontFace-binary-data.html Tests/LibWeb: Move assets used by multiple test types into Assets/ 2024-11-05 14:02:07 +00:00
FontFace-load-urls.html Tests/LibWeb: Move assets used by multiple test types into Assets/ 2024-11-05 14:02:07 +00:00
FontFace.html
FontFaceSet-load.html Tests/LibWeb: Move assets used by multiple test types into Assets/ 2024-11-05 14:02:07 +00:00
FontFaceSet-setlike.html Tests/LibWeb: Move assets used by multiple test types into Assets/ 2024-11-05 14:02:07 +00:00
getComputedStyle-display-short-serialization.html
getComputedStyle-item-does-not-return-invalid-propertyid-on-length-boundary.html LibWeb: Fix OBOE in bounds check of ResolvedCSSStyleDeclaration#item 2024-11-14 19:50:22 +01:00
getComputedStyle-no-paintable-box.html LibWeb: Don't crash when resolving grid properties of inline elements 2024-09-20 08:16:33 +02:00
getComputedStyle-print-all.html
getComputedStyle-pseudo-element.html LibWeb: Implement getComputedStyle() pseudoElement parameter 2024-08-07 16:14:49 +02:00
getComputedStyle-relative-property-values.html
getComputedStyle-transform.html
getComputedStyle-url-var-serialization.html LibWeb: Preserve opening quotation in string token original source text 2025-02-05 16:02:09 +00:00
hsl-with-number-percentage-calc.html LibWeb/CSS: Correct matching of calc() against <number-percentage> 2024-10-30 20:58:16 +01:00
import-rule-shift-jis.html LibWeb: Allow CSS @import rule to import non-UTF-8 style sheets 2024-10-12 19:20:22 +02:00
insert-import-rule-into-constructed-stylesheet.html
insert-rule-in-adopted-style-sheet.html LibWeb: Fix insert/delete rule invalidation for adopted style sheets 2025-01-13 23:03:07 +01:00
invalid-selector-in-has.html LibWeb/CSS: Disallow :has() and pseudo-elements in :has() when parsing 2024-11-14 19:51:45 +01:00
invalidate-sibling-affected-by-has.html LibWeb: Check all siblings in ancestors chain while invalidating :has() 2025-02-12 16:15:14 +01:00
keyframes-css-rules.html
layer-rule.html LibWeb/CSS: Implement cascade layers (aka @layer) 2024-09-06 07:49:55 +02:00
legacy-color-value.html
math-depth.html
media-query-serialization-basic.html
move-loaded-link-stylesheet-between-documents.html
parse-nested-pseudo-selectors-as-selectors.html LibWeb: Add a CSS parsing test for selectors containing ':' in @media 2024-10-14 08:08:37 +02:00
PropertyOwningCSSStyleDeclaration-serialized-custom-properties.html
replace-calc-function-with-same-kind-but-fewer-arguments.html LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
revert-all.html LibWeb: Don't crash on CSS all: revert 2024-08-04 11:49:44 +02:00
revert-ignores-layers.html LibWeb/CSS: Correct behavior of revert inside a @layer 2024-09-26 08:08:38 +02:00
revert-layer.html LibWeb/CSS: Implement revert-layer 2024-09-11 22:30:20 +01:00
sending-animationcancel-event-crash.html
serialize-invalid-forgiving-selectors.html LibWeb/CSS: Keep invalid parts of <forgiving-selector-list>s around 2024-11-14 13:20:01 +01:00
set-style-declaration-shorthand.html LibWeb: Allow setting shorthand CSS properties via CSSStyleDeclaration 2024-09-22 09:45:59 +02:00
singular-percentage-calc-crash.html LibWeb/CSS: Recalculate calc() numeric type when resolving percentages 2025-01-04 18:47:44 +00:00
small-aspect-ratio.html LibWeb: Don't crash when converting small CSS::Ratio to CSSPixelFraction 2024-08-22 13:49:41 +02:00
string-serializes-with-quotes.html
style-declaration-parent-rule.html
style-sheet-with-byte-order-mark.css
style-sheet-with-byte-order-mark.html LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
supports.html Tests: Add a test for @supports 2024-11-07 15:11:24 +01:00
text-transform-invalidation-on-media-query-change.html
transform-origin-serialization.html
transform-serialization.html
transition-basics.html LibWeb: Start transitions when affected properties change 2024-09-22 06:41:55 +02:00
transition-style-invalidation-crash.html LibWeb/CSS: Stop invalidating style when setting an animation's effect 2024-10-15 08:43:26 -04:00
unicode-bidi-computed-values.html LibWeb/CSS: Add support for unicode-bidi property 2024-10-07 14:57:15 +01:00
unicode-range-all-wildcard.html LibWeb: Use substrings instead of pointers when parsing unicode ranges 2024-11-05 14:01:45 +00:00
unknown-pseudo-elements-crash.html LibWeb: Add test for getComputedStyle with a PseudoElement argument 2024-12-19 19:35:57 +00:00
unknown-webkit-pseudo-element-serialization.html
update-pseudo-elements-on-hover.html LibWeb: Invalidate layout if pseudo-element style changes 2024-07-30 09:45:45 +02:00
var-uses-fallback-value-if-custom-property-is-empty.html LibWeb/CSS: Use fallback var() value if custom property is empty 2025-02-16 09:19:19 +01:00