1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 15:47:35 +00:00

Tests/LibWeb: Add ref test for CSS gradients

This has to cheat and use a screenshot but thanks to the "Take Full
Screenshot" feature of Ladybird, it is very easy to update this test.

The steps are documented in the test.
This commit is contained in:
MacDue 2023-08-17 21:39:30 +01:00 committed by Andreas Kling
parent 6c9f1c396a
commit 3a42ef4118
4 changed files with 265 additions and 1 deletions

View file

@ -0,0 +1,15 @@
<style>
* {
margin: 0;
}
body {
background-color: white;
}
</style>
<!-- To rebase:
1. Open css-gradients.html in Ladybird
2. Resize the window just above the width of the largest gradient
3. Right click > "Take Full Screenshot"
4. Update the image below:
-->
<img src="./images/css-gradients-ref.png">