ladybird/Tests/LibWeb/Text/input/css
Aliaksandr Kalenik 98691810b1 LibWeb: Fix insert/delete rule invalidation for adopted style sheets
Invalidation for adopted style sheets was broken because we had an
assumption that "active" style sheet is always attached to
StyleSheetList which is not true for adopted style sheets. This change
addresses that by keeping track of all documents/shadow roots that own
a style sheet and notifying them about invalidation instead of going
through the StyleSheetList.
2025-01-13 23:03:07 +01:00
..
animating-transform-with-calc-crash.html LibWeb: Use LengthPercentage for calc values in Transformation matrix 2024-05-25 22:19:47 +02:00
animating-unresolved-properties-crash.html LibWeb: Add tests for animating unresolved properties 2024-03-20 09:17:33 +01:00
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 LibWeb: Support calc(...) in box-shadow's values of type Length 2023-06-25 10:27:08 +01:00
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 LibWeb: Add a test for changing animation-name 2024-03-02 19:58:12 +01:00
constructed-style-sheets.html LibWeb: Evaluate media rules for adopted style sheets 2024-04-29 08:10:38 +02:00
css-hsl-with-calc.html LibWeb/CSS: Resolve NumericCalculationNode to percentage when requested 2024-01-11 08:01:47 +01:00
CSSConditionRule-conditionText-readonly.html LibWeb: Fix typo on CSSConditionRule test 2024-02-29 09:01:04 +01:00
cssFloat-property.html LibWeb: Remove unnecessary FIXME marker for CSSStyleDeclaration.cssFloat 2024-06-14 20:45:37 +02:00
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.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 LibWeb: Invalidate style when CSSStyleRule selectorText changes 2024-04-15 22:12:49 +02:00
CSSStyleSheet-addRule.html LibWeb: Implement CSSStyleSheet.addRule() 2024-02-24 21:59:28 +01:00
CSSStyleSheet-constructor.html LibWeb: Align StyleSheet title getter with the specification 2024-04-29 08:10:38 +02:00
CSSStyleSheet-removeRule.html LibWeb: Remove first rule if no argument is given for remove_rule() 2024-02-24 21:59:28 +01:00
CSSStyleSheet-replace.html LibWeb: Implement CSSStyleSheet.replace() 2024-02-24 21:59:28 +01:00
CSSStyleSheet-replaceSync.html LibWeb: Implement CSSStyleSheet.replaceSync() 2024-02-24 21:59:28 +01:00
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 LibWeb/CSS: Parse custom-idents more consistently 2024-07-27 14:45:33 +02:00
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 LibWeb: Cast to the correct type in Element::auto_directionality() 2024-05-28 09:51:07 +02:00
element-opacity-change-invalidation.html LibWeb: Don't assume opacity values are CSS numbers 2023-07-31 09:16:18 +02:00
font-face-serialization.html LibWeb: Serialize more @font-face descriptors 2024-10-02 16:28:55 +01:00
font-family-with-dash-prefix.html LibWeb: Allow font-family names to start with - 2023-07-06 14:30:06 +02: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 LibWeb: Implement or stub FontFace interface's attribute getters/setters 2024-05-11 07:30:29 +01:00
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 LibWeb: Add a test for getComputedStyle() 2023-09-29 20:20:55 +02:00
getComputedStyle-pseudo-element.html LibWeb: Implement getComputedStyle() pseudoElement parameter 2024-08-07 16:14:49 +02:00
getComputedStyle-relative-property-values.html LibWeb: Calculate width property resolved value correctly 2024-05-28 08:08:31 +02:00
getComputedStyle-transform.html LibWeb: Add missing CSS Transforms Module Level 2 functions 2024-01-10 09:48:25 +01: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 LibWeb: Disallow inserting @import rules into a constructed stylesheet 2024-02-24 21:59:28 +01:00
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
keyframes-css-rules.html LibWeb: Make CSSKeyframeRule.parentRule actually point to parent rule 2024-06-14 20:45:37 +02:00
layer-rule.html LibWeb/CSS: Implement cascade layers (aka @layer) 2024-09-06 07:49:55 +02:00
legacy-color-value.html Tests/LibWeb: Add some text tests for 'parsing a legacy color value' 2023-06-05 06:54:33 +02:00
math-depth.html LibWeb: Implement the math-depth CSS property 2023-09-11 17:03:22 +01:00
media-query-serialization-basic.html LibWeb: Fix broken conversion of CSS <resolution> dpi/dpcm to dppx 2023-08-25 20:10:47 +02:00
move-loaded-link-stylesheet-between-documents.html LibWeb: Allow moving StyleSheets between documents without falling apart 2024-04-22 06:43:05 +02:00
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 LibWeb: Serialize custom properties in CSSStyleDeclaration::serialized() 2023-06-09 11:17:44 +01:00
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 LibWeb: Save time for animationcancel event before transitioning to idle 2024-05-24 07:25:10 +02:00
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 LibWeb: Serialize StringStyleValue with quotes 2023-09-12 14:29:21 +01:00
style-declaration-parent-rule.html LibWeb: Implement CSSStyleDeclaration.parentRule 2024-06-14 20:45:37 +02:00
style-sheet-with-byte-order-mark.css LibWeb: Decode linked style sheets before parsing them 2023-07-04 10:45:20 +02:00
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 LibWeb: Fix two problems where media queries didn't invalidate properly 2024-04-17 14:18:31 +02:00
transform-origin-serialization.html LibWeb: Bail parsing transform-origin if the parsed value is null 2023-10-29 11:22:53 +01:00
transform-serialization.html LibWeb/CSS: Serialize transform scale percentage values as numbers 2024-07-04 14:41:35 +02:00
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 LibWeb: Support obsolete but required -webkit- CSS parsing quirk 2023-12-11 16:54:59 +01:00
update-pseudo-elements-on-hover.html LibWeb: Invalidate layout if pseudo-element style changes 2024-07-30 09:45:45 +02:00