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:
parent
1f0149e5a6
commit
d10f4a8590
4 changed files with 96 additions and 0 deletions
15
Tests/LibWeb/Ref/reference/css-backgrounds-ref.html
Normal file
15
Tests/LibWeb/Ref/reference/css-backgrounds-ref.html
Normal 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">
|
Loading…
Add table
Add a link
Reference in a new issue