Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css-parser / not-pseudo-class-whitespace.html
blob157bf0382e166ed5a1fb4017670f225a2878cc86
1 <!doctype html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
5 <div id="div1"></div>
6 <div id="div2"></div>
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>