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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/content-selector-query.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-selector-query.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/content-selector-query.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/content-selector-query.html
index 69fdb32afd86eed2c8726785b11e420ea032830f..927720ced552ac2248976f812a6a91df982993c1 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/content-selector-query.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/content-selector-query.html
@@ -25,9 +25,7 @@ function test(select, valid) {
}
var dataOfValidCases = [
- null, '',
- 'ns|div', '*|div', '|div', 'div',
- 'ns|*', '*|*', '|*', '*',
+ null, '', '*|div', '|div', 'div', '*|*', '|*', '*',
'.elem', 'p.elem', 'foo.elem', '*.right',
'#elem', 'p#elem', 'foo#elem', '*#something',
'div[title]', 'div[class="example"]', 'div[hello="Cleveland"][goodbye="Columbus"]',
@@ -39,7 +37,7 @@ var dataOfValidCases = [
var dataOfInvalidCases = [
'div div', 'div > div', 'div + div', 'div ~ div',
- 'div:root', 'div:lang(en)',
+ 'ns|div', 'ns|*', 'div:root', 'div:lang(en)',
'div::before', 'div::after', 'div::first-line', 'div::first-letter',
'div:active', 'div:hover', 'div:focus',
'div div:not(div)', 'div:not(div) div', 'div span div',

Powered by Google App Engine
This is Rietveld 408576698