diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/html/semantics/embedded-content/the-object-element/object-in-object-fallback-2.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/html/semantics/embedded-content/the-object-element/object-in-object-fallback-2.html')
-rw-r--r-- | testing/web-platform/tests/html/semantics/embedded-content/the-object-element/object-in-object-fallback-2.html | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-object-element/object-in-object-fallback-2.html b/testing/web-platform/tests/html/semantics/embedded-content/the-object-element/object-in-object-fallback-2.html new file mode 100644 index 0000000000..47cf801693 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-object-element/object-in-object-fallback-2.html @@ -0,0 +1,56 @@ +<!doctype html> +<html> + <head> + <meta charset=utf-8> + <title></title> + <script src=/resources/testharness.js></script> + <script src=/resources/testharnessreport.js></script> + <script> + var loadedCount = 0; + var nestingTest = async_test("Test <object> nesting inside <object>"); + onload = nestingTest.step_func_done(function() { + assert_equals(loadedCount, 12, "Should have loaded all should-load elements"); + }); + </script> + <style> + object { display: none } + </style> + </head> + <body> + <object data="../resources/should-load.html" style="width: 100px; height: 100px"> + <object type="text/html" data="../resources/should-not-load.html" + test-description="<object> inside <object>"></object> + </object> + <object style="width: 100px; height: 100px" data="data:application/x-does-not-exist,test"> + <object type="text/html" data="../resources/should-load.html"></object> + </object> + <object style="width: 100px; height: 100px" data="data:application/x-does-not-exist,test"> + <div></div> + <object type="text/html" data="../resources/should-load.html"></object> + </object> + <object style="width: 100px; height: 100px" data="data:application/x-does-not-exist,test"> + <div> + <object type="text/html" data="../resources/should-load.html"></object> + </div> + </object> + <object style="width: 100px; height: 100px" data="data:application/x-does-not-exist,test"> + <object type="text/html" data="../resources/should-load.html"></object> + <object type="text/html" data="../resources/should-load.html"></object> + <object data="../resources/should-load.html"> + <object type="text/html" data="../resources/should-not-load.html" + test-description="<object> inside loaded <object> inside non-loaded <object>"></object> + </object> + <object data="data:application/x-does-not-exist,test"> + <object type="text/html" data="../resources/should-load.html"></object> + </object> + </object> + <div> + <object data="../resources/should-load.html" style="width: 100px; height: 100px"></object> + <object type="text/html" data="../resources/should-load.html"></object> + </div> + <div> + <object type="text/html" data="../resources/should-load.html"></object> + <object data="../resources/should-load.html" style="width: 100px; height: 100px"></object> + </div> + </body> +</html> |