diff options
Diffstat (limited to 'layout/reftests/webcomponents/adjacent-insertion-points-2.html')
-rw-r--r-- | layout/reftests/webcomponents/adjacent-insertion-points-2.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/webcomponents/adjacent-insertion-points-2.html b/layout/reftests/webcomponents/adjacent-insertion-points-2.html new file mode 100644 index 000000000..f90cb206b --- /dev/null +++ b/layout/reftests/webcomponents/adjacent-insertion-points-2.html @@ -0,0 +1,17 @@ +<!DOCTYPE HTML> +<html> +<head> + <script> + function tweak() { + var oldShadowRoot = document.getElementById('outer').createShadowRoot(); + oldShadowRoot.innerHTML = 'Hello'; + + var youngShadowRoot = document.getElementById('outer').createShadowRoot(); + youngShadowRoot.innerHTML = '<shadow></shadow><content></content>World'; + } + </script> +</head> +<body onload="tweak()"> +<div id="outer"></div> +</body> +</html> |