1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:57:45 +00:00

LibWeb: Add ref test for general CSS background properties

This is an adaptation of the "misc/backgrounds.html" file in the
Serenity image. It tests a lot of background-related properties that we
otherwise have no tests for.
This commit is contained in:
Sam Atkins 2023-11-10 16:07:35 +00:00 committed by Sam Atkins
parent 1f0149e5a6
commit d10f4a8590
4 changed files with 96 additions and 0 deletions

View file

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