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:
parent
6c9f1c396a
commit
3a42ef4118
4 changed files with 265 additions and 1 deletions
15
Tests/LibWeb/Ref/css-gradients-ref.html
Normal file
15
Tests/LibWeb/Ref/css-gradients-ref.html
Normal 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">
|
Loading…
Add table
Add a link
Reference in a new issue