CSS3: head fails to match :not(:root)) (Acid3 bug) function () { // test 40: :root, :not() selectorTest(function (doc, add, expect) { var match = add(":not(:root)"); var p = doc.createElement('p'); doc.body.appendChild(p); expect(doc.documentElement, 0, "root was :not(:root)"); expect(doc.documentElement.childNodes[0], 0, "head was not :not(:root)"); expect(doc.documentElement.childNodes[1], 0, "body was not :not(:root)"); expect(doc.documentElement.childNodes[0].firstChild, 0, "title was not :not(:root)"); expect(p, 0, "p was not :not(:root)"); }); return 3; }, We'll need to make a nice stand-alone test case.
FYI: The test was invalid. The 0 should've been a 1. You might pass this one now.
I no longer see this in the Acid3 failures.