ladybird/Tests/LibWeb/Ref/input
Sam Atkins 6a4a60cbd5 LibWeb/CSS: Invalidate color-stop caches when source data changes
We previously only invalidated the cached color-stop data when the
painted area's size changed. However, multiple elements can use the
same gradient and be the same size, but have different parameters that
affect the gradient stop positions, for example if a stop has an em
position. This can also change for the same element over time.

The new cache instead uses these parameters as the cache key. So we
recompute the cache if lengths would resolve differently, or the area's
size is different.

The included test fails without this change.
2025-02-28 13:50:13 +01:00
..
css LibWeb/CSS: Invalidate color-stop caches when source data changes 2025-02-28 13:50:13 +01:00
wpt-import LibWeb: Handle interleaved table-row and table-row-group boxes 2025-02-26 13:50:01 +01:00
abspos-escapes-scroll-container.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
abspos-z-index-painting-order.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
alternative-style-sheets.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
anonymous-wrapper-css-visibility.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
background-clip-text-inside-scrollable.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
background-clip-text.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
background-size-calc.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
block-element-inside-inline-element.html LibWeb: Retain display: contents in ancestor stack for continuations 2025-02-18 23:31:49 +01:00
body-link-attribute.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
border-radius-shrink-zero-sized-box.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
border-radius-with-padding.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
box-with-transform-should-be-above-other-boxes.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
box-without-scrollable-overflow-should-not-consume-scroll-events.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
button-inside-scroll-container.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
calc-border-radius.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
change-opacity.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
clip-abspos-children.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
clip-border-radius-with-css-transform.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
clip-offscreen.html LibWeb/Painting: Apply clip and mask operations that are off-screen 2024-11-13 16:10:15 +01:00
clip-path-scrolling.html LibWeb: Fix CSS clip-path ignoring scroll position 2025-01-13 20:03:28 -07:00
clip.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
color-hsl.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
color-hwb.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
color-oklab.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
color-oklch.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
color-rgb.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
corner-clip-inside-scrollable.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-any-link-selector.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-attr-basic.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-attr-fallback.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-attr-typed-fallback.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-attr-typed.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-case-insensitive-html-attributes-selector.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-functional-unknown-webkit-pseudo-element.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-gradient-currentcolor.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-has-compound.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-has-descendant.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-has-direct-child.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-has-next-sibling.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-has-subsequent-sibling.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-invalid-var.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-isolation.html LibWeb: Implement CSS 'isolation' property 2025-01-13 11:07:55 +00:00
css-keyframe-fill-forwards.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-keyframe-invalid-transform-should-not-render.html Tests: Make test less flaky 2024-12-04 16:56:30 +00:00
css-lang-selector.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-local-link-selector.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-nested-declarations.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-nested-has.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-nesting.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-open-closed-selectors.html LibWeb: Remove :closed pseudo class 2024-12-06 04:49:36 +00:00
css-placeholder-shown-selector.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-pseudo-element-in-has.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-quotes.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-read-only-read-write-selectors.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
css-tag-selector-case-sensitivity-html.html LibWeb: Fix CSS tag seletor case sensitivity for SVG elements 2025-01-13 12:11:34 +00:00
css-tag-selector-case-sensitivity-svg.html LibWeb: Fix CSS tag seletor case sensitivity for SVG elements 2025-01-13 12:11:34 +00:00
css-tag-selector-case-sensitivity-xhtml.xhtml LibWeb: Fix CSS tag seletor case sensitivity for SVG elements 2025-01-13 12:11:34 +00:00
css-unknown-webkit-pseudo-element.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
empty-radial-gradient-crash.html LibWeb: Do not crash when Radial Gradient height is 0 2024-11-19 22:31:51 +01:00
first-available-font-should-include-whitespace.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
grid-item-and-css-filter.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
grid-items-painting-order.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
iframe-contains-scrollable-box.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
img-srcset-viewport-relative-sizes.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
inline-block-with-css-background.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
inline-nested-node.html LibWeb: Improve painting of nested inline elements 2024-12-04 11:23:54 +00:00
inline-paintable-background-clip-text.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
inline-paintable-inside-translated-container.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
inline-stacking-context.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
inline-visibility-hidden.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
input-background.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
invalidate-css-transform-property.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
item-with-negative-z-index.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
mismatch-test.html WebContent+headless-browser: Implement mismatch conditions for ref tests 2024-12-04 19:50:00 +00:00
nested-svg-as-img.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
non-positioned-stacking-context-with-z-index-0.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
object-fit-scale-down.html LibWeb: Add support for object-fit: scale-down 2024-12-16 20:47:32 +01:00
object-fit-with-zoom-0.5.html Tests: Add tests that verify object-fit and -position with zoom 2025-01-21 16:05:12 +01:00
object-fit-with-zoom-2.0.html Tests: Add tests that verify object-fit and -position with zoom 2025-01-21 16:05:12 +01:00
object-fit-with-zoom-4.0.html Tests: Add tests that verify object-fit and -position with zoom 2025-01-21 16:05:12 +01:00
options-set-index.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
outlines.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
overflow-hidden-2.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
overflow-hidden-3.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
overflow-hidden-4.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
overflow-hidden-5.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
overflow-hidden-6.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
overflow-hidden-7.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
overflow-hidden-text-inside-translated-container.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
overflow-hidden.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
paintablewithlines-corner-clip-in-scroll-container.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
position-sticky-bottom.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
position-sticky-left.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
position-sticky-right.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
position-sticky-should-stay-within-containing-block.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
position-sticky-top.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
positioned-elements-in-scroll-container.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
resolve-paint-only-properties-after-layout.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
scroll-iframe.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
scroll-using-mousewheel-event.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
scrollable-box-with-nested-stacking-context.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
scrollable-contains-box-with-gradient-background.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
scrollable-contains-boxes-with-hidden-overflow-1.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
scrollable-contains-boxes-with-hidden-overflow-2.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
scrollable-contains-boxes-with-hidden-overflow-and-opacity.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
scrollable-contains-iframe.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
scrollable-contains-rotated-boxes.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
scrollable-contains-table.html LibGfx+LibWeb: Draw glyph runs with subpixel accuracy 2024-12-21 23:09:52 +01:00
scrollable-content-inside-fixed-position-box.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
scrollable-overflow-viewport-bug.html LibWeb: Remove non-spec condition in scrollable overflow calculation 2024-12-04 17:14:10 +00:00
scrolled-text-with-clipped-corners.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
select-chevron-color.html LibWeb: Make SelectElement arrow use text color 2025-02-20 14:06:23 -05:00
select-option-use-label.html LibWeb: Make select element use option's label, not text content 2025-01-04 11:44:03 +00:00
separate-borders-inline-table.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
simple-svg-mask.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
space-glyph-width.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
square-flex.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
sticky-box-with-percentage-insets.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
sticky-positioned-box-with-border.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-alpha-mask-attribute.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-alpha-mask.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-display-attr.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-file-matches-html-file.svg Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-image-in-iframe.html LibWeb: Resolve SVGImageElement source URL correctly 2025-01-19 15:02:38 +01:00
svg-image-positioning.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-inside-scroll-container.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-invalid-number-arguments.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-mask-in-defs.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-mask-maskUnits-userSpaceOnUse.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-non-local-clip-path-display-none.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-overflow-hidden.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-overflow-visible.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-path-incomplete-args.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-polygon-with-incomplete-points.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-restore-after-filter.html LibWeb: Unapply CSS filters after applying them to SVG 2024-11-23 21:39:50 +00:00
svg-symbol.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-text-crash.html LibWeb: Fix crash from text inside SVG 2024-11-19 13:41:15 +01:00
svg-use-defined-later.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
svg-with-css-transform.html LibWeb: Make SVGs respect their CSS transforms 2024-11-24 14:30:32 +01:00
tables-with-z-index.html LibWeb: Move z-index to table wrapper box 2025-02-16 21:05:59 +01:00
text-decoration-in-anonymous-wrapper.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
text-overflow.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
textnode-segmenter-invalidation.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
transform-2d-translate.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
transform-box.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
transform-calc-length-percentage.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
unicode-range.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
webkit-box-shadow.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
webkit-text-fill-color.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
z-index-should-not-affect-svg-painting-order.html Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others 2024-11-05 14:02:07 +00:00
zero-area-child-creating-scrollable-overflow.html LibWeb: Stop zero-area children from causing scrollable overflow 2024-11-24 11:10:47 +01:00