Created attachment 435200 [details]
Screenshot of failling test
The tests imported/w3c/web-platform-tests/css/css-overflow/clip-006.html and imported/w3c/web-platform-tests/css/css-overflow/clip-007.html fail on both GTK and WPE, with the resulting images showing no green square when there is supposed to be a green square. Running the test directly from http://wpt.live does show a green square but the div containing the green square div has scroll bars which it is not supposed to. Attached is a scrrenshot from the wpt.live test.
Created attachment 435201 [details]
The problem IIRC was that the underlying rendering engine (cairo?) react strange to a clip path with large double minimum/maximum dimension, instead it seems to have some smaller min/max values. I don't think it is unreasonable to use double minimum/maximum so I think some clamping is missing in lower layers.
Committed r280793 (240371@main): <https://commits.webkit.org/240371@main>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 435201 [details].
Underlying bug is not fixed.