ladybird/Tests/LibWeb/Screenshot/input
Jelle Raaijmakers f5bb5d0797 LibWeb: Don't tear down an active effect saveLayer during culling check
Before applying an effect context (filter, opacity, blend-mode), the
display list player runs a culling check by tentatively switching to the
effect's parent first. When the effect was already on the stack (i.e.
the current context was a descendant of the target) that walk restored
the saveLayer prematurely. The filter was then applied to a partial
batch of commands, and subsequent commands opened a fresh saveLayer for
a second, independent application, producing visibly wrong compositing.

Fold the culling check into switch_to_context: while walking down to
apply contexts, check the bounding rect right before each EffectsData
node and abort if the command is fully clipped. Walks that only go up
never traverse an EffectsData node, so an already-applied effect is
never torn down.

This regressed in cd0705334b.
2026-04-28 16:14:44 +02:00
..
acid2.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
border-radius.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
can-load-images-in-sandboxed-iframe-with-no-scripting.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
canvas-arcs-and-ellipses.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
canvas-fillstyle-gradients.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
canvas-fillstyle-opacity.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
canvas-fillstyle-rgb.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
canvas-filters.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
canvas-implict-moves-and-lines.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
canvas-path-rect.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
canvas-pattern-transform.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
canvas-pattern.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
canvas-shadow.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
canvas-stroke-styles.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
canvas-text.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
canvas-unpremultiplied-image.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
clip-path-basic-shapes.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
clip-path-inset-border-radius.html LibWeb: Support border-radius in clip-path: inset() 2026-03-21 02:44:49 +00:00
clip-path-polygon.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
clip-path-transformed.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
color-scheme.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
css-background-blob-url.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
css-background-clip-text.html LibWeb: Implement text-decoration-skip-ink painting 2026-03-26 12:15:36 +00:00
css-background-position.html LibWeb: Start fetching CSS image resources before document load event 2026-03-21 10:29:54 +01:00
css-background-repeat-x-and-zoomed.html LibWeb: Start fetching CSS image resources before document load event 2026-03-21 10:29:54 +01:00
css-background-repeat.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
css-backgrounds.html LibWeb: Start fetching CSS image resources before document load event 2026-03-21 10:29:54 +01:00
css-border-style-double.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
css-border-style-groove.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
css-border-style-ridge.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
css-color-functions.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
css-compositing.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
css-filter-drop-shadow.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
css-filter.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
css-gradients.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
css-transform-box.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
details-open-then-closed.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
filter-drop-shadow-no-bleed-with-overflow-child.html LibWeb: Don't tear down an active effect saveLayer during culling check 2026-04-28 16:14:44 +02:00
font-variation-settings-applies-to-system-provided-font.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
gradient-interpolation-method.html LibWeb: Support more gradient color spaces 2026-03-18 13:21:57 +00:00
image-downscaling.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
image-transformation-anti-aliasing.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
image-unpremultiplied-data.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
inline-node.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
input-placeholder.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
linear-gradient-dithering.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
meter.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
nested-boxes-with-hidden-overflow-and-border-radius.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
object-fit-position.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
ol-render-node-append-group-reversed.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
ol-render-node-append-reversed.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
ol-render-node-insert-last-group-reversed.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
ol-render-node-insert-last-reversed.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
opacity-stacking.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
ordered-list.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
outer-box-shadow.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
overlapping-inset-shape.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
selection-partial-nodes.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
selection-start-in-end-node-2.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
selection-start-in-end-node-3.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
selection-start-in-end-node.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
selection-text-color.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
selection-trailing-whitespace.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-axis-aligned-lines.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-background-no-natural-size.html LibWeb: Start fetching CSS image resources before document load event 2026-03-21 10:29:54 +01:00
svg-clip-path-and-mask.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-clip-path-transform.html LibWeb: Derive SVG clipPath bounds from descendants' geometry 2026-04-15 10:26:53 +01:00
svg-clip-rule.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-feDisplacementMap-channel-selectors.html LibWeb/SVG: Implement the feDisplacementMap filter 2026-03-02 14:03:32 +00:00
svg-feDisplacementMap.html LibWeb/SVG: Implement the feDisplacementMap filter 2026-03-02 14:03:32 +00:00
svg-feTurbulence-fractalNoise.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-feTurbulence.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-filters-lb-website.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-foreign-object-mask.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-gradient-componentTransfer.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-gradient-objectBoundingBox.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-gradient-paint-transformation.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-gradient-spreadMethod.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-gradient-userSpaceOnUse.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-image-document-nested-clip-path.html LibWeb: Derive SVG clipPath bounds from descendants' geometry 2026-04-15 10:26:53 +01:00
svg-maskContentUnits.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-non-local-clip-path.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-path-offset-rounding.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-paths-cardinal-directions-less-than-1px-wide.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-radialGradient.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-rotation-anti-aliasing.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-simple-clipPath.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-stroke-paintstyle-with-opacity.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-stroke-styles.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-text-effects.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
svg-textPath.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
text-decorations.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
text-direction.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
text-shadow.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
variable-font-weight.html LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
video-object-fit.html LibWeb: Handle object-fit in VideoPaintable 2026-04-21 19:11:24 -05:00
video.html Tests: Add a simple video element screenshot test 2026-04-21 19:11:24 -05:00