Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / w3c / web-platform-tests / shadow-dom / elements-and-dom-objects / the-shadow-html-element / test-002.html
index f3b8745..be3f07c 100644 (file)
@@ -30,10 +30,10 @@ test(unit(function (ctx) {
        d.body.appendChild(host);
 
        //old tree
-       var s1 = createSR(host);
+       var s1 = host.createShadowRoot();
        s1.innerHTML = '<span id="sp1">This is an old tree</span>';
        //young tree
-       var s2 = createSR(host);
+       var s2 = host.createShadowRoot();
 
        var div = d.createElement('div');
        div.innerHTML = '' +