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

Side by Side Diff: LayoutTests/css-parser/not-pseudo-class-whitespace.html

Issue 1119983002: Allow whitespace at end of :not() pseudo-class, i.e. :not(div ) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | Source/core/css/parser/CSSSelectorParser.cpp » ('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 <!doctype html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4
5 <div id="div1"></div>
6 <div id="div2"></div>
7
8 <script>
9 test(function () {
10 assert_equals(div1, document.querySelector("div:not(#div2)"));
11 assert_equals(div1, document.querySelector("div:not( #div2)"));
12 assert_equals(div2, document.querySelector("div:not( #div1 )"));
13 assert_equals(div2, document.querySelector("div:not(#div1 )"));
14 }, "Checks that whitespaces are allowed in the :not pseudo-class");
15 </script>
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/parser/CSSSelectorParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698