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:
parent
ef48d967d4
commit
4c4daf4a62
3 changed files with 121 additions and 0 deletions
15
Tests/LibWeb/Ref/reference/css-background-position-ref.html
Normal file
15
Tests/LibWeb/Ref/reference/css-background-position-ref.html
Normal 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">
|
Loading…
Add table
Add a link
Reference in a new issue