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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/content-element-select-namespace.html

Issue 1616423003: Fix selector namespace prefix resolution. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed review issues Created 4 years, 11 months 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
Index: third_party/WebKit/LayoutTests/fast/dom/shadow/content-element-select-namespace.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/content-element-select-namespace.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/content-element-select-namespace.html
new file mode 100644
index 0000000000000000000000000000000000000000..6cbdf3baf8fd97acf5db43ae438787799c3533fb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/content-element-select-namespace.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<p>You should see the word PASS below.</p>
+<host>
+ <span id="s1">FAIL</span>
+ <span id="s2">PASS</span>
+</host>
+<script>
+ var h = document.querySelector("host");
+ var r = h.createShadowRoot();
+ r.innerHTML = '<content select="bogus|span#s1"></content><content select="*|span#s2"></content>';
+</script>

Powered by Google App Engine
This is Rietveld 408576698