Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: LayoutTests/fast/dom/shadow/getelementbyid-shadow.html

Issue 799543002: Let ShadowRoot.getElementById() fall back to DocumentFragment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update tests Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/getelementbyid-shadow-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/getelementbyid-shadow.html
diff --git a/LayoutTests/fast/dom/shadow/getelementbyid-shadow.html b/LayoutTests/fast/dom/shadow/getelementbyid-shadow.html
index eaa4ed1a176455c235721c70a4d5c25f53fe782e..9dd6e43bb72c116c37aa318650734fd565edda9e 100644
--- a/LayoutTests/fast/dom/shadow/getelementbyid-shadow.html
+++ b/LayoutTests/fast/dom/shadow/getelementbyid-shadow.html
@@ -30,6 +30,7 @@ shadowRootC.appendChild(D);
container.appendChild(A);
shouldBe('document.getElementById("A")', 'A');
+shouldThrow('shadowRootA.getElementById()');
shouldBe('shadowRootA.getElementById("B")', 'B');
shouldBe('shadowRootB.getElementById("C")', 'C');
shouldBe('shadowRootC.getElementById("D")', 'D');
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/getelementbyid-shadow-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698