mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Correctly place images with background-position: center
Add a regression ref test. See also #19680.
This commit is contained in:
parent
3692f13dcb
commit
859f002bf2
4 changed files with 60 additions and 1 deletions
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Centered Background Gradient</title>
|
||||
<style>
|
||||
#a {
|
||||
width: 200px;
|
||||
height: 150px;
|
||||
border-style: solid;
|
||||
border-width: 10px;
|
||||
background-position: 0px 0px;
|
||||
background-image: repeating-radial-gradient(blue, green 20px);
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div id="a"></div>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue