1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:18:12 +00:00

LibWeb: Add tests for background-position

The css-backgrounds.html ref test file only tests the most basic usage
of this, which failed to catch some regressions, so let's add a more
extensive test. :^)
This commit is contained in:
Sam Atkins 2023-12-04 16:27:21 +00:00 committed by Andreas Kling
parent ef48d967d4
commit 4c4daf4a62
3 changed files with 121 additions and 0 deletions

View file

@ -0,0 +1,15 @@
<style>
* {
margin: 0;
}
body {
background-color: white;
}
</style>
<!-- To rebase:
1. Open css-background-position.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-background-position-ref.png">