Rename getElementInShadowTreeStack to getNodeInShadowTreeStack
[WebKit-https.git] / LayoutTests / fast / dom / shadow / get-element-by-id-in-shadow-root.html
index 93370f95f3ac9626f0d1763955b9dbed44f33d3c..14ffde3be3284b08db172a8cd30c824dac28bf9e 100644 (file)
@@ -29,11 +29,11 @@ function test()
         layoutTestController.dumpAsText();
 
     prepareDomTree(document.body);
-    shouldBeEqualToString("getElementInShadowTreeStack('divA/inputB').id", 'inputB');
-    shouldBeEqualToString("getElementInShadowTreeStack('divA/divC').id", 'divC');
-    shouldBeEqualToString("getElementInShadowTreeStack('divA/divC/inputD').id", 'inputD');
-    shouldBeEqualToString("getElementInShadowTreeStack('divA/divC//inputE').id", 'inputE');
-    shouldBeEqualToString("getElementInShadowTreeStack('divA/divC///inputF').id", 'inputF');
+    shouldBeEqualToString("getNodeInShadowTreeStack('divA/inputB').id", 'inputB');
+    shouldBeEqualToString("getNodeInShadowTreeStack('divA/divC').id", 'divC');
+    shouldBeEqualToString("getNodeInShadowTreeStack('divA/divC/inputD').id", 'inputD');
+    shouldBeEqualToString("getNodeInShadowTreeStack('divA/divC//inputE').id", 'inputE');
+    shouldBeEqualToString("getNodeInShadowTreeStack('divA/divC///inputF').id", 'inputF');
 }
 
 test();