nested_tree_reftest-ref.html (780B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8" > 5 <title>Shadow DOM Test Ref file - Tests nested shadow tree.</title> 6 <link rel="author" title="shingo.miyazawa" href="mailto:kumatronik@gmail.com" > 7 <script src="../../../../html/resources/common.js"></script> 8 <meta name="assert" content="nested shadow tree style is valid." > 9 <style> 10 #host { 11 width: 100px; 12 height: 100px; 13 background-color: red; 14 } 15 </style> 16 </head> 17 <body> 18 <p>The test passes if there is a green square. Test failed if there is a red square.</p> 19 <div id='host'> 20 <div id="sub" style="width: 100%;height:100%;"> 21 <div style="width:100%; height:100%;background-color: green;"></div> 22 </div> 23 </div> 24 </body> 25 </html>