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

Side by Side Diff: LayoutTests/fast/css/namespaces/namespaces-invalid-prefix.xhtml

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 unified diff | Download patch
« no previous file with comments | « LayoutTests/fast/css/css-selector-text.html ('k') | Source/core/css/parser/CSSSelectorParser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <style>
3 abc|div {
4 background-color: red;
5 }
6
7 [abc|id] {
8 background-color: green;
9 }
10 </style>
11 <div id="target"></div>
12
13 <script src="../../../resources/testharness.js"></script>
14 <script src="../../../resources/testharnessreport.js"></script>
15
16 <script>
17 test(function(){
18 assert_equals(document.styleSheets[0].cssRules.length, 0);
19 }, "Style rules with namespace prefixes not declared before, should be ignored") ;
20 </script>
21
22 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/css-selector-text.html ('k') | Source/core/css/parser/CSSSelectorParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698