| <!doctype html> |
| <title>Percentage background-size on the root, when it's out-of-flow</title> |
| <link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez"> |
| <link rel="author" href="https://mozilla.org" title="Mozilla"> |
| <link rel="help" href="https://drafts.csswg.org/css-backgrounds/#background-size"> |
| <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1658140"> |
| <link rel="match" href="background-size-percentage-root-ref.html"> |
| <style> |
| :root { |
| position: fixed; |
| width: 100px; |
| height: 50px; |
| background-size: 100%; |
| background-repeat: no-repeat; |
| background-image: url('/images/green-100x50.png'); |
| } |
| </style> |