OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <html> |
| 3 <head> |
| 4 <meta charset=utf-8> |
| 5 <title></title> |
| 6 <script src=/resources/testharness.js></script> |
| 7 <script src=/resources/testharnessreport.js></script> |
| 8 <script> |
| 9 var loadedCount = 0; |
| 10 var nestingTest = async_test("Test <embed> nesting inside <object>"); |
| 11 onload = nestingTest.step_func_done(function() { |
| 12 assert_equals(loadedCount, 12, "Should have loaded all should-load eleme
nts"); |
| 13 }); |
| 14 </script> |
| 15 <style> |
| 16 object, embed { display: none } |
| 17 </style> |
| 18 </head> |
| 19 <body> |
| 20 <object data="../resources/should-load.html" style="width: 100px; height: 10
0px"> |
| 21 <embed type="text/html" src="../resources/should-not-load.html" |
| 22 test-description="<embed> inside <object>"> |
| 23 </object> |
| 24 <object style="width: 100px; height: 100px" data="data:application/x-does-no
t-exist,test"> |
| 25 <embed type="text/html" src="../resources/should-load.html" /> |
| 26 </object> |
| 27 <object style="width: 100px; height: 100px" data="data:application/x-does-no
t-exist,test"> |
| 28 <div></div> |
| 29 <embed type="text/html" src="../resources/should-load.html" /> |
| 30 </object> |
| 31 <object style="width: 100px; height: 100px" data="data:application/x-does-no
t-exist,test"> |
| 32 <div> |
| 33 <embed type="text/html" src="../resources/should-load.html" /> |
| 34 </div> |
| 35 </object> |
| 36 <object style="width: 100px; height: 100px" data="data:application/x-does-no
t-exist,test"> |
| 37 <embed type="text/html" src="../resources/should-load.html" /> |
| 38 <embed type="text/html" src="../resources/should-load.html" /> |
| 39 <object data="../resources/should-load.html"> |
| 40 <embed type="text/html" src="../resources/should-not-load.html" |
| 41 test-description="<embed> inside loaded <object> inside non-loade
d <object>"> |
| 42 </object> |
| 43 <object data="data:application/x-does-not-exist,test"> |
| 44 <embed type="text/html" src="../resources/should-load.html" /> |
| 45 </object> |
| 46 </object> |
| 47 <div> |
| 48 <object data="../resources/should-load.html" style="width: 100px; height:
100px"></object> |
| 49 <embed type="text/html" src="../resources/should-load.html" /> |
| 50 </div> |
| 51 <div> |
| 52 <embed type="text/html" src="../resources/should-load.html" /> |
| 53 <object data="../resources/should-load.html" style="width: 100px; height:
100px"></object> |
| 54 </div> |
| 55 </body> |
| 56 </html> |
OLD | NEW |