mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Previously, clip-path was applied only during painting in StackingContext::paint(), which meant hit testing did not respect clip-path boundaries. Clicks outside the visible clipped region but inside the element's bounding box would incorrectly register as hits. By moving clip-path into AccumulatedVisualContext, it becomes part of the same system that handles transforms, clips, and scroll offsets for both painting and hit testing, ensuring consistent behavior.
4 lines
76 B
Plaintext
4 lines
76 B
Plaintext
Inside circle: PASS
|
|
Outside circle (in bbox): PASS
|
|
Inside circle edge: PASS
|