Bug 1729777 [wpt PR 30405] - Parsing for contain-intrinsic-size: auto <length>, a...
[gecko.git] / testing / web-platform / tests / css / css-backgrounds / background-size-percentage-root.html
blob896ce85336ed35daa4b80dc43c7d968966cda810
1 <!doctype html>
2 <title>Percentage background-size on the root, when it's out-of-flow</title>
3 <link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
4 <link rel="author" href="https://mozilla.org" title="Mozilla">
5 <link rel="help" href="https://drafts.csswg.org/css-backgrounds/#background-size">
6 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1658140">
7 <link rel="match" href="background-size-percentage-root-ref.html">
8 <style>
9 :root {
10 position: fixed;
11 width: 100px;
12 height: 50px;
13 background-size: 100%;
14 background-repeat: no-repeat;
15 background-image: url('/images/green-100x50.png');
17 </style>