OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 /* relative positioning ensures underlying RenderLayer */ | 5 /* relative positioning ensures underlying RenderLayer */ |
6 .container { | 6 .container { |
7 position: relative; | 7 position: relative; |
8 } | 8 } |
9 | 9 |
10 .span { | 10 .span { |
11 display: boxed-inline; | 11 display: boxed-inline; |
12 margin: 2px; | 12 margin: 2px; |
13 border: solid; | 13 border: solid; |
14 } | 14 } |
15 </style> | 15 </style> |
16 <script src="../resources/shadow-test-driver.js"></script> | 16 <script src="../resources/shadow-test-driver.js"></script> |
17 <script src="resources/polyfill.js"></script> | |
18 <script> | 17 <script> |
19 | 18 |
20 var testFuncs = []; | 19 var testFuncs = []; |
21 | 20 |
22 testFuncs.push(function contentElementInVideoElement(callIfDone) { | 21 testFuncs.push(function contentElementInVideoElement(callIfDone) { |
23 document.getElementById('expect-container').innerHTML = "<div><video><div></
div></video></div>"; | 22 document.getElementById('expect-container').innerHTML = "<div><video><div></
div></video></div>"; |
24 | 23 |
25 var div = document.createElement('div'); | 24 var div = document.createElement('div'); |
26 div.appendChild(document.createElement('div')); | 25 div.appendChild(document.createElement('div')); |
27 | 26 |
(...skipping 12 matching lines...) Expand all Loading... |
40 </script> | 39 </script> |
41 </head> | 40 </head> |
42 <body onload="doTest(testFuncs)"> | 41 <body onload="doTest(testFuncs)"> |
43 | 42 |
44 <div id="actual-container" class="container"></div> | 43 <div id="actual-container" class="container"></div> |
45 <div id="expect-container" class="container"></div> | 44 <div id="expect-container" class="container"></div> |
46 <pre id="console"></pre> | 45 <pre id="console"></pre> |
47 | 46 |
48 </body> | 47 </body> |
49 </html> | 48 </html> |
OLD | NEW |