Aliaksandr Kalenik
64a48065b0
LibWeb: Check if corners have radius after converting to device pixels
...
Check needs to happen after conversion because non-zero radius in
CSSPixels could turn into zero in device pixels.
Fixes https://github.com/SerenityOS/serenity/issues/22765
2024-01-15 15:21:17 +01:00
Andreas Kling
3ac77dac99
Tests/LibWeb: Remove the "scroll.html" layout test for now
...
This test is flaky, so let's remove it until we have a stable version.
2023-11-06 09:42:41 +01:00
Andreas Kling
c01c4b41e2
LibWeb: Add ViewportPaintable to represent viewports in the paint tree
...
This patch just adds the new root paintable and updates the tests
expectations. The next patch will move painting logic from the layout
viewport to the paint viewport.
2023-08-20 05:02:59 +02:00
Aliaksandr Kalenik
dc08e9138c
LibWeb/Tests: Add basic test for Element::scroll(x, y)
2023-08-07 05:23:31 +02:00
Andreas Kling
09eed8eea2
LibWeb+headless-browser: Include paint tree in layout test output
...
This will give us a more comprehensive look at what actually gets
rendered in the end, and also allows us to catch more behavior changes.
2023-08-03 13:21:26 +02:00
Andi Gallo
db121c7af1
LibWeb: Handle leading whitespace in grid-template-* block components
...
We're already handling whitespace between components, do the same for
leading whitespace. Fixes crash on https://distill.pub/2021/gnn-intro .
2023-06-18 13:41:15 +02:00
Andreas Kling
6cb9d755d9
LibWeb: Don't crash on percentage values for CSS stroke-width
...
Fixes a crash when loading https://vercel.com/
2023-05-21 12:40:27 +02:00