ladybird/Tests/LibWeb/Ref/input/css
sideshowbarker e356fd8188 LibWeb: Paint heavily-tiled non-image backgrounds as a single pattern
Problem: On https://turbovision.in6-addr.net a tiny-background-size +
background-repeat tile over a large painted area crashed WebContent.

Cause: BackgroundPainting was recording one paint command per tile for
any repeating background that’s not a decoded image. A small tile over a
large area could produce literally millions of commands — resulting in a
display list exceeding MAX_MESSAGE_PAYLOAD_SIZE, and tripping an assert.

Fix: When a repeating AbstractImageStyleValue would emit more tiles than
a fixed threshold, record a single tile into a nested display list and,
reusing some existing SVG pattern machinery, fill the coverage rect with
a PatternPaintStyle. We render the tile once, and repeat it with a
tiling shader — so the display list holds a single command regardless of
tile count. Normal backgrounds keep their exact per-tile painting.

Fixes https://github.com/LadybirdBrowser/ladybird/issues/9876
2026-06-06 09:34:09 +01:00
..
backgrounds LibWeb: Start fetching CSS image resources before document load event 2026-03-21 10:29:54 +01:00
borders LibWeb: Prevent thin double borders from disappearing 2026-02-11 11:17:11 +01:00
css-counter LibWeb: Clear counter style cache when CSSCounterStyleRule modified 2026-04-15 11:07:38 +01:00
css-masking LibWeb: Apply clip rect before painting images 2025-06-24 12:56:28 +01:00
css-text
overflow LibWeb: Only use overflow clip edge when overflow is set to clip 2026-02-14 22:58:21 +01:00
animated-font-size.html LibWeb: Account for animated values when computing font 2025-12-05 10:03:15 +00:00
background-clip-text-float.html LibWeb: Skip non-in-flow, non-floated in background-clip:text 2026-03-21 00:06:00 +00:00
background-clip-text-pseudo-element.html LibWeb: Skip non-in-flow, non-floated in background-clip:text 2026-03-21 00:06:00 +00:00
background-repeat-gradient.html LibWeb: Paint heavily-tiled non-image backgrounds as a single pattern 2026-06-06 09:34:09 +01:00
border-radius-slash-syntax.html LibWeb/CSS: Allow a slash in border-radius longhand properties 2025-12-15 14:30:20 +00:00
content-for-marker-tiered.html LibWeb/CSS: Test cases for content inside the ::marker pseudo-element 2025-10-10 12:02:16 +01:00
duplicate-keyframe-offset-merge.html LibWeb: Merge duplicate @keyframe rule selector values 2026-03-30 12:42:57 +01:00
font-face-descriptor-relative-length-iframe.html Tests: Wait for iframe paint in font face descriptor test 2026-05-30 02:13:14 +02:00
font-weight-range.html LibWeb/CSS: Parse @font-face { font-weight } with two values 2026-02-24 10:05:09 +00:00
gradient-calc-inside-stop-color.html LibWeb: Always parse calc() inside CSS color functions consistently 2025-07-22 08:47:22 +01:00
gradient-em-positions.html LibWeb/CSS: Invalidate color-stop caches when source data changes 2025-02-28 13:50:13 +01:00
gradient-premultiplied-alpha-repeating.html LibWeb: Use premultiplied alpha when interpolating gradient color stops 2026-05-30 23:50:42 +02:00
gradient-premultiplied-alpha-transition-hint.html LibWeb: Use premultiplied alpha when interpolating gradient color stops 2026-05-30 23:50:42 +02:00
hidden-list-item-markers.html LibWeb/Painting: Don't paint invisible paintables 2025-07-03 12:39:05 +02:00
images-load-relative-to-imported-style-sheet.html LibWeb: Start fetching CSS image resources before document load event 2026-03-21 10:29:54 +01:00
images-load-relative-to-linked-style-sheet.html LibWeb: Start fetching CSS image resources before document load event 2026-03-21 10:29:54 +01:00
lang-selector-invalidation.html LibWeb: Cache the value of Element::lang() 2025-11-12 12:36:16 +01:00
line-height-zero.html LibWeb: Draw text even if it needs to go into a 0-size inline box 2025-05-12 10:49:46 +02:00
margins-borders-and-padding-on-inline-with-collapsed-whitespace.html LibWeb: Do not remove inline start padding when collapsing whitespace 2026-02-27 12:05:03 +01:00
recomputing-inherited-style-doesnt-remove-important.html LibWeb: Avoid resetting important flag when recomputing inherited style 2025-11-28 16:15:49 +00:00
stacking-context-with-unclipped-transformed-descendant.html LibWeb: Don't clip descendants outside stacking context root rect 2025-07-24 11:15:01 -04:00
svg-element-should-be-allowed-to-establish-stacking-context.html LibWeb: Allow <svg> to establish a stacking context 2025-07-12 11:01:15 +02:00
transparent-borders.html LibWeb/Painting: Keep alpha for inset/outset border colors 2025-07-02 15:11:04 +02:00
vendor-prefixed-font.html LibWeb/CSS: Stop rejecting declarations with vendor-prefixed keywords 2025-10-02 13:26:26 +02:00