object-in-object-fallback-2.html (2413B)
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 <object> nesting inside <object>"); 11 onload = nestingTest.step_func_done(function() { 12 assert_equals(loadedCount, 12, "Should have loaded all should-load elements"); 13 }); 14 </script> 15 </head> 16 <body> 17 <object data="../resources/should-load.html" style="width: 100px; height: 100px"> 18 <object type="text/html" data="../resources/should-not-load.html" 19 test-description="<object> inside <object>"></object> 20 </object> 21 <object style="width: 100px; height: 100px" data="data:application/x-does-not-exist,test"> 22 <object type="text/html" data="../resources/should-load.html"></object> 23 </object> 24 <object style="width: 100px; height: 100px" data="data:application/x-does-not-exist,test"> 25 <div></div> 26 <object type="text/html" data="../resources/should-load.html"></object> 27 </object> 28 <object style="width: 100px; height: 100px" data="data:application/x-does-not-exist,test"> 29 <div> 30 <object type="text/html" data="../resources/should-load.html"></object> 31 </div> 32 </object> 33 <object style="width: 100px; height: 100px" data="data:application/x-does-not-exist,test"> 34 <object type="text/html" data="../resources/should-load.html"></object> 35 <object type="text/html" data="../resources/should-load.html"></object> 36 <object data="../resources/should-load.html"> 37 <object type="text/html" data="../resources/should-not-load.html" 38 test-description="<object> inside loaded <object> inside non-loaded <object>"></object> 39 </object> 40 <object data="data:application/x-does-not-exist,test"> 41 <object type="text/html" data="../resources/should-load.html"></object> 42 </object> 43 </object> 44 <div> 45 <object data="../resources/should-load.html" style="width: 100px; height: 100px"></object> 46 <object type="text/html" data="../resources/should-load.html"></object> 47 </div> 48 <div> 49 <object type="text/html" data="../resources/should-load.html"></object> 50 <object data="../resources/should-load.html" style="width: 100px; height: 100px"></object> 51 </div> 52 </body> 53 </html>