2 <script src=
"../resources/testharness.js"></script>
3 <script src=
"../resources/testharnessreport.js"></script>
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");