| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>CSS Background Test: A SVG background should fully cover the positioning area</title> |
| <link rel="author" title="schenney" href="mailto:schenney@chromium.org"> |
| <link rel="help" href="http://www.w3.org/TR/css3-background"> |
| <link rel="match" href="reference/background-size-cover-svg-ref.html"> |
| <style> |
| div { |
| height: 400px; |
| width: 600px; |
| position: relative; |
| background-color: red; |
| background-size: cover; |
| background-repeat: no-repeat; |
| background-position: bottom center; |
| background-image: url("support/rectangle-2560x208.svg"); |
| } |
| </style> |
| </head> |
| |
| <body> |
| <div></div> |
| </body> |
| </html> |