Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / body-propagation / background-image / 007.html
blob14c71ab6094a16e67022887a2ba387ca08ddc9ff
1 <!DOCTYPE html>
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>background on body should not cover the viewport when not child of root</title>
5 <style>
6 html { background-color:transparent; background-image:none; }
7 body { background-image:url(resources/red.png); padding:0; }
8 p { background-image:url(resources/lime.png); }
9 </style>
10 <script>
11 window.onload = function() {
12 var newElm = document.createElement("bogus"); // namespace doesn't matter in this case
13 newElm.appendChild(document.getElementsByTagName("body")[0]);
14 document.documentElement.appendChild(newElm);
15 document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
17 </script>
18 </head>
19 <body>
20 <p>FAIL (script didn't run)</p>
21 </body>
22 </html>