Index: LayoutTests/fast/dom/shadow/shadow-disable.html |
diff --git a/LayoutTests/fast/dom/shadow/shadow-disable.html b/LayoutTests/fast/dom/shadow/shadow-disable.html |
index 28904c94412e6dd23ff6fd34933cbd786b933451..9234c342184d7ade39981a57ef1ef6afc9f4b4c9 100644 |
--- a/LayoutTests/fast/dom/shadow/shadow-disable.html |
+++ b/LayoutTests/fast/dom/shadow/shadow-disable.html |
@@ -5,7 +5,11 @@ |
</head> |
<body> |
<p id="description"></p> |
-<svg xmlns="http://www.w3.org/2000/svg" style="display:none"><tref id="tref" /></svg> |
+<svg xmlns="http://www.w3.org/2000/svg" style="display:none"> |
+ <g id="g"></g> |
+ <rect id="rect"></rect> |
+ <svg id="svg"></svg> |
+</svg> |
<pre id="console"></pre> |
<script> |
description("Tests to ensure that shadow element cannot be created in elements having dynamically created shadow root."); |
@@ -28,11 +32,13 @@ var elementsToSuccess = [ |
document.createElement('applet'), |
document.createElement('embed'), |
document.createElement('object'), |
+ document.getElementById('g'), |
+ document.getElementById('rect'), |
+ document.getElementById('svg'), |
]; |
// See crbug.com/234020 . |
var elementsToFail = [ |
- document.getElementById('tref'), |
document.createElement('audio'), |
document.createElement('video'), |
document.createElement('select'), |