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