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

Unified Diff: LayoutTests/fast/css/css-selector-text.html

Issue 1326403002: Selectors with unknown namespace prefixes should be dropped. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated test cases Created 5 years, 3 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/css/namespaces/namespaces-invalid-prefix.xhtml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/css-selector-text.html
diff --git a/LayoutTests/fast/css/css-selector-text.html b/LayoutTests/fast/css/css-selector-text.html
index 7b704ba49b8dc9d82f2346884aad3458fb53f5e7..58e6389359b0da271c42bea40fd1c91b7d6292c0 100644
--- a/LayoutTests/fast/css/css-selector-text.html
+++ b/LayoutTests/fast/css/css-selector-text.html
@@ -19,8 +19,9 @@ function parseThenSerializeRule(rule)
var head = document.getElementById("head");
head.appendChild(styleElement);
+ styleElement.appendChild(document.createTextNode("@namespace n url('test');"));
styleElement.appendChild(document.createTextNode(rule));
- return styleElement.sheet.cssRules[0].cssText;
+ return styleElement.sheet.cssRules[1].cssText;
}
function testSelectorRoundTrip(selector)
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/css/namespaces/namespaces-invalid-prefix.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698