<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[204522] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/204522">204522</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2016-08-16 13:58:00 -0700 (Tue, 16 Aug 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>querySelector() / querySelectorAll() should always throw a SyntaxError when failing to parse selector string
https://bugs.webkit.org/show_bug.cgi?id=160906

Reviewed by Ryosuke Niwa.

LayoutTests/imported/w3c:

Rebaseline several W3C tests now that more checks are passing.

* web-platform-tests/dom/nodes/Element-matches-expected.txt:
* web-platform-tests/dom/nodes/ParentNode-querySelector-All-expected.txt:
* web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht-expected.txt:

Source/WebCore:

querySelector() / querySelectorAll() should always throw a SyntaxError
when failing to parse selector string:
- https://dom.spec.whatwg.org/#dom-parentnode-queryselector
- https://dom.spec.whatwg.org/#scope-match-a-selectors-string

In some cases, WebKit was throwing a NamespaceError instead.

No new tests, rebaselined existing tests.

* dom/SelectorQuery.cpp:
(WebCore::SelectorQueryCache::add):

LayoutTests:

Rebaseline several layout tests now that we throw a different exception type.

* fast/css/parsing-css-attribute-case-insensitive-value-1-expected.txt:
* fast/css/parsing-css-attribute-case-insensitive-value-2-expected.txt:
* fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsfastcssparsingcssattributecaseinsensitivevalue1expectedtxt">trunk/LayoutTests/fast/css/parsing-css-attribute-case-insensitive-value-1-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastcssparsingcssattributecaseinsensitivevalue2expectedtxt">trunk/LayoutTests/fast/css/parsing-css-attribute-case-insensitive-value-2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomSelectorAPInotsupportednamespaceinselectorexpectedtxt">trunk/LayoutTests/fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cChangeLog">trunk/LayoutTests/imported/w3c/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementmatchesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-matches-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesParentNodequerySelectorAllexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesParentNodequerySelectorAllxhtexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht-expected.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoredomSelectorQuerycpp">trunk/Source/WebCore/dom/SelectorQuery.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (204521 => 204522)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-08-16 20:32:57 UTC (rev 204521)
+++ trunk/LayoutTests/ChangeLog        2016-08-16 20:58:00 UTC (rev 204522)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2016-08-16  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        querySelector() / querySelectorAll() should always throw a SyntaxError when failing to parse selector string
+        https://bugs.webkit.org/show_bug.cgi?id=160906
+
+        Reviewed by Ryosuke Niwa.
+
+        Rebaseline several layout tests now that we throw a different exception type.
+
+        * fast/css/parsing-css-attribute-case-insensitive-value-1-expected.txt:
+        * fast/css/parsing-css-attribute-case-insensitive-value-2-expected.txt:
+        * fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt:
+
</ins><span class="cx"> 2016-08-16  Brent Fulgham  &lt;bfulgham@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Upgrade-Insecure-Request state is improperly retained between navigations
</span></span></pre></div>
<a id="trunkLayoutTestsfastcssparsingcssattributecaseinsensitivevalue1expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/css/parsing-css-attribute-case-insensitive-value-1-expected.txt (204521 => 204522)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/css/parsing-css-attribute-case-insensitive-value-1-expected.txt        2016-08-16 20:32:57 UTC (rev 204521)
+++ trunk/LayoutTests/fast/css/parsing-css-attribute-case-insensitive-value-1-expected.txt        2016-08-16 20:58:00 UTC (rev 204522)
</span><span class="lines">@@ -7,7 +7,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo=bar i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo=bar i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo=bar i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -19,7 +19,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [foo=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [*|foo=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [|foo=bar i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo=bar i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo=bar i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;foo &gt;&gt; bar [foo=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [foo=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [*|foo=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [|foo=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-child(2n+1 of [foo=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [foo=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [*|foo=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [|foo=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-last-child(2n+1 of [foo=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [foo=bar i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [*|foo=bar i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [|foo=bar i], bar)&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:matches(foo, [WebKit|foo=bar i], bar)&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:matches(foo, [WebKit|foo=bar i], bar)&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:matches(foo, [foo=\&quot;bar\&quot; i], bar)&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -67,7 +67,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:not([foo=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([*|foo=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([|foo=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:not([WebKit|foo=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:not([WebKit|foo=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:not([foo=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -79,7 +79,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo=\&quot;bar\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo=\&quot;bar\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -91,7 +91,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [foo=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [*|foo=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [|foo=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo=\&quot;bar\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo=\&quot;bar\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;foo &gt;&gt; bar [foo=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -103,7 +103,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [foo=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [*|foo=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [|foo=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-child(2n+1 of [foo=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [foo=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [*|foo=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [|foo=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-last-child(2n+1 of [foo=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -127,7 +127,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [foo=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [*|foo=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [|foo=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:matches(foo, [WebKit|foo=\&quot;bar\&quot; i], bar)&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:matches(foo, [WebKit|foo=\&quot;bar\&quot; i], bar)&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:matches(foo, [foo=\&quot;bar\&quot; i], bar)&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:not([foo=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([*|foo=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([|foo=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:not([WebKit|foo=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:not([WebKit|foo=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:not([foo=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -151,7 +151,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo~=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo~=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo~=bar i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo~=bar i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo~=bar i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo~=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -163,7 +163,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [foo~=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [*|foo~=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [|foo~=bar i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo~=bar i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo~=bar i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;foo &gt;&gt; bar [foo~=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -175,7 +175,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [foo~=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [*|foo~=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [|foo~=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo~=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo~=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-child(2n+1 of [foo~=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -187,7 +187,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [foo~=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [*|foo~=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [|foo~=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo~=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo~=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-last-child(2n+1 of [foo~=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -199,7 +199,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [foo~=bar i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [*|foo~=bar i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [|foo~=bar i], bar)&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:matches(foo, [WebKit|foo~=bar i], bar)&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:matches(foo, [WebKit|foo~=bar i], bar)&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:matches(foo, [foo~=\&quot;bar\&quot; i], bar)&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -211,7 +211,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:not([foo~=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([*|foo~=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([|foo~=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:not([WebKit|foo~=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:not([WebKit|foo~=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:not([foo~=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -223,7 +223,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo~=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo~=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo~=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo~=\&quot;bar\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo~=\&quot;bar\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo~=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -235,7 +235,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [foo~=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [*|foo~=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [|foo~=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo~=\&quot;bar\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo~=\&quot;bar\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;foo &gt;&gt; bar [foo~=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -247,7 +247,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [foo~=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [*|foo~=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [|foo~=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo~=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo~=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-child(2n+1 of [foo~=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -259,7 +259,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [foo~=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [*|foo~=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [|foo~=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo~=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo~=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-last-child(2n+1 of [foo~=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -271,7 +271,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [foo~=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [*|foo~=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [|foo~=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:matches(foo, [WebKit|foo~=\&quot;bar\&quot; i], bar)&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:matches(foo, [WebKit|foo~=\&quot;bar\&quot; i], bar)&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:matches(foo, [foo~=\&quot;bar\&quot; i], bar)&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -283,7 +283,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:not([foo~=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([*|foo~=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([|foo~=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:not([WebKit|foo~=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:not([WebKit|foo~=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:not([foo~=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -295,7 +295,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo|=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo|=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo|=bar i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo|=bar i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo|=bar i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo|=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -307,7 +307,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [foo|=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [*|foo|=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [|foo|=bar i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo|=bar i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo|=bar i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;foo &gt;&gt; bar [foo|=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -319,7 +319,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [foo|=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [*|foo|=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [|foo|=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo|=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo|=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-child(2n+1 of [foo|=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -331,7 +331,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [foo|=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [*|foo|=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [|foo|=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo|=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo|=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-last-child(2n+1 of [foo|=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -343,7 +343,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [foo|=bar i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [*|foo|=bar i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [|foo|=bar i], bar)&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:matches(foo, [WebKit|foo|=bar i], bar)&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:matches(foo, [WebKit|foo|=bar i], bar)&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:matches(foo, [foo|=\&quot;bar\&quot; i], bar)&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -355,7 +355,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:not([foo|=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([*|foo|=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([|foo|=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:not([WebKit|foo|=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:not([WebKit|foo|=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:not([foo|=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -367,7 +367,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo|=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo|=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo|=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo|=\&quot;bar\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo|=\&quot;bar\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo|=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -379,7 +379,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [foo|=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [*|foo|=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [|foo|=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo|=\&quot;bar\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo|=\&quot;bar\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;foo &gt;&gt; bar [foo|=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -391,7 +391,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [foo|=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [*|foo|=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [|foo|=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo|=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo|=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-child(2n+1 of [foo|=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -403,7 +403,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [foo|=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [*|foo|=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [|foo|=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo|=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo|=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-last-child(2n+1 of [foo|=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -415,7 +415,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [foo|=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [*|foo|=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [|foo|=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:matches(foo, [WebKit|foo|=\&quot;bar\&quot; i], bar)&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:matches(foo, [WebKit|foo|=\&quot;bar\&quot; i], bar)&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:matches(foo, [foo|=\&quot;bar\&quot; i], bar)&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -427,7 +427,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:not([foo|=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([*|foo|=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([|foo|=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:not([WebKit|foo|=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:not([WebKit|foo|=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:not([foo|=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -439,7 +439,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo^=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo^=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo^=bar i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo^=bar i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo^=bar i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo^=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -451,7 +451,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [foo^=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [*|foo^=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [|foo^=bar i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo^=bar i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo^=bar i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;foo &gt;&gt; bar [foo^=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -463,7 +463,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [foo^=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [*|foo^=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [|foo^=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo^=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo^=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-child(2n+1 of [foo^=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -475,7 +475,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [foo^=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [*|foo^=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [|foo^=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo^=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo^=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-last-child(2n+1 of [foo^=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -487,7 +487,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [foo^=bar i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [*|foo^=bar i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [|foo^=bar i], bar)&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:matches(foo, [WebKit|foo^=bar i], bar)&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:matches(foo, [WebKit|foo^=bar i], bar)&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:matches(foo, [foo^=\&quot;bar\&quot; i], bar)&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -499,7 +499,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:not([foo^=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([*|foo^=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([|foo^=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:not([WebKit|foo^=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:not([WebKit|foo^=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:not([foo^=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -511,7 +511,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo^=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo^=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo^=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo^=\&quot;bar\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo^=\&quot;bar\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo^=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -523,7 +523,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [foo^=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [*|foo^=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [|foo^=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo^=\&quot;bar\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo^=\&quot;bar\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;foo &gt;&gt; bar [foo^=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -535,7 +535,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [foo^=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [*|foo^=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [|foo^=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo^=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo^=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-child(2n+1 of [foo^=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -547,7 +547,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [foo^=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [*|foo^=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [|foo^=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo^=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo^=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-last-child(2n+1 of [foo^=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -559,7 +559,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [foo^=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [*|foo^=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [|foo^=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:matches(foo, [WebKit|foo^=\&quot;bar\&quot; i], bar)&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:matches(foo, [WebKit|foo^=\&quot;bar\&quot; i], bar)&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:matches(foo, [foo^=\&quot;bar\&quot; i], bar)&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -571,7 +571,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:not([foo^=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([*|foo^=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([|foo^=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:not([WebKit|foo^=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:not([WebKit|foo^=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:not([foo^=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -583,7 +583,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo$=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo$=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo$=bar i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo$=bar i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo$=bar i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo$=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -595,7 +595,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [foo$=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [*|foo$=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [|foo$=bar i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo$=bar i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo$=bar i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;foo &gt;&gt; bar [foo$=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -607,7 +607,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [foo$=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [*|foo$=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [|foo$=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo$=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo$=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-child(2n+1 of [foo$=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -619,7 +619,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [foo$=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [*|foo$=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [|foo$=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo$=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo$=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-last-child(2n+1 of [foo$=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -631,7 +631,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [foo$=bar i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [*|foo$=bar i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [|foo$=bar i], bar)&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:matches(foo, [WebKit|foo$=bar i], bar)&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:matches(foo, [WebKit|foo$=bar i], bar)&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:matches(foo, [foo$=\&quot;bar\&quot; i], bar)&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -643,7 +643,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:not([foo$=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([*|foo$=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([|foo$=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:not([WebKit|foo$=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:not([WebKit|foo$=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:not([foo$=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -655,7 +655,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo$=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo$=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo$=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo$=\&quot;bar\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo$=\&quot;bar\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo$=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -667,7 +667,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [foo$=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [*|foo$=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [|foo$=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo$=\&quot;bar\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo$=\&quot;bar\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;foo &gt;&gt; bar [foo$=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -679,7 +679,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [foo$=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [*|foo$=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [|foo$=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo$=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo$=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-child(2n+1 of [foo$=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -691,7 +691,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [foo$=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [*|foo$=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [|foo$=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo$=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo$=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-last-child(2n+1 of [foo$=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -703,7 +703,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [foo$=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [*|foo$=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [|foo$=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:matches(foo, [WebKit|foo$=\&quot;bar\&quot; i], bar)&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:matches(foo, [WebKit|foo$=\&quot;bar\&quot; i], bar)&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:matches(foo, [foo$=\&quot;bar\&quot; i], bar)&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -715,7 +715,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:not([foo$=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([*|foo$=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([|foo$=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:not([WebKit|foo$=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:not([WebKit|foo$=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:not([foo$=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -727,7 +727,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo*=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo*=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo*=bar i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo*=bar i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo*=bar i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo*=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -739,7 +739,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [foo*=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [*|foo*=bar i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [|foo*=bar i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo*=bar i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo*=bar i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;foo &gt;&gt; bar [foo*=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -751,7 +751,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [foo*=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [*|foo*=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [|foo*=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo*=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo*=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-child(2n+1 of [foo*=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -763,7 +763,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [foo*=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [*|foo*=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [|foo*=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo*=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo*=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-last-child(2n+1 of [foo*=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -775,7 +775,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [foo*=bar i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [*|foo*=bar i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [|foo*=bar i], bar)&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:matches(foo, [WebKit|foo*=bar i], bar)&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:matches(foo, [WebKit|foo*=bar i], bar)&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:matches(foo, [foo*=\&quot;bar\&quot; i], bar)&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -787,7 +787,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:not([foo*=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([*|foo*=bar i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([|foo*=bar i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:not([WebKit|foo*=bar i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:not([WebKit|foo*=bar i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:not([foo*=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -799,7 +799,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo*=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo*=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo*=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo*=\&quot;bar\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo*=\&quot;bar\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo*=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -811,7 +811,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [foo*=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [*|foo*=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;foo &gt;&gt; bar [|foo*=\&quot;bar\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo*=\&quot;bar\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;foo &gt;&gt; bar [WebKit|foo*=\&quot;bar\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;foo &gt;&gt; bar [foo*=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -823,7 +823,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [foo*=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [*|foo*=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-child(2n+1 of [|foo*=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo*=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-child(2n+1 of [WebKit|foo*=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-child(2n+1 of [foo*=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -835,7 +835,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [foo*=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [*|foo*=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:nth-last-child(2n+1 of [|foo*=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo*=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:nth-last-child(2n+1 of [WebKit|foo*=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:nth-last-child(2n+1 of [foo*=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -847,7 +847,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [foo*=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [*|foo*=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:matches(foo, [|foo*=\&quot;bar\&quot; i], bar)&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:matches(foo, [WebKit|foo*=\&quot;bar\&quot; i], bar)&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:matches(foo, [WebKit|foo*=\&quot;bar\&quot; i], bar)&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:matches(foo, [foo*=\&quot;bar\&quot; i], bar)&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -859,7 +859,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;:not([foo*=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([*|foo*=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;:not([|foo*=\&quot;bar\&quot; i])&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;:not([WebKit|foo*=\&quot;bar\&quot; i])&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;:not([WebKit|foo*=\&quot;bar\&quot; i])&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;:not([foo*=\&quot;bar\&quot; i])&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span></span></pre></div>
<a id="trunkLayoutTestsfastcssparsingcssattributecaseinsensitivevalue2expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/css/parsing-css-attribute-case-insensitive-value-2-expected.txt (204521 => 204522)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/css/parsing-css-attribute-case-insensitive-value-2-expected.txt        2016-08-16 20:32:57 UTC (rev 204521)
+++ trunk/LayoutTests/fast/css/parsing-css-attribute-case-insensitive-value-2-expected.txt        2016-08-16 20:58:00 UTC (rev 204522)
</span><span class="lines">@@ -7,7 +7,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo=bar I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo=bar I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo=bar I]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo=bar I]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo=bar I]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -19,7 +19,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo=\&quot;bar\&quot; I]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo=\&quot;bar\&quot; I]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo~=bar I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo~=bar I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo~=bar I]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo~=bar I]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo~=bar I]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo~=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo~=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo~=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo~=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo~=\&quot;bar\&quot; I]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo~=\&quot;bar\&quot; I]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo~=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo|=bar I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo|=bar I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo|=bar I]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo|=bar I]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo|=bar I]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo|=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -67,7 +67,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo|=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo|=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo|=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo|=\&quot;bar\&quot; I]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo|=\&quot;bar\&quot; I]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo|=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -79,7 +79,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo^=bar I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo^=bar I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo^=bar I]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo^=bar I]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo^=bar I]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo^=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -91,7 +91,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo^=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo^=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo^=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo^=\&quot;bar\&quot; I]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo^=\&quot;bar\&quot; I]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo^=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -103,7 +103,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo$=bar I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo$=bar I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo$=bar I]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo$=bar I]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo$=bar I]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo$=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo$=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo$=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo$=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo$=\&quot;bar\&quot; I]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo$=\&quot;bar\&quot; I]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo$=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -127,7 +127,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo*=bar I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo*=bar I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo*=bar I]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo*=bar I]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo*=bar I]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo*=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo*=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo*=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo*=\&quot;bar\&quot; I]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo*=\&quot;bar\&quot; I]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo*=\&quot;bar\&quot; I]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo*=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -151,7 +151,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo=BaR i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo=BaR i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo=BaR i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo=BaR i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo=BaR i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo=\&quot;BaR\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -163,7 +163,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo=\&quot;BaR\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo=\&quot;BaR\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo=\&quot;BaR\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -175,7 +175,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo~=BaR i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo~=BaR i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo~=BaR i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo~=BaR i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo~=BaR i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo~=\&quot;BaR\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -187,7 +187,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo~=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo~=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo~=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo~=\&quot;BaR\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo~=\&quot;BaR\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo~=\&quot;BaR\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -199,7 +199,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo|=BaR i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo|=BaR i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo|=BaR i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo|=BaR i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo|=BaR i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo|=\&quot;BaR\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -211,7 +211,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo|=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo|=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo|=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo|=\&quot;BaR\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo|=\&quot;BaR\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo|=\&quot;BaR\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -223,7 +223,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo^=BaR i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo^=BaR i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo^=BaR i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo^=BaR i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo^=BaR i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo^=\&quot;BaR\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -235,7 +235,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo^=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo^=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo^=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo^=\&quot;BaR\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo^=\&quot;BaR\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo^=\&quot;BaR\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -247,7 +247,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo$=BaR i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo$=BaR i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo$=BaR i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo$=BaR i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo$=BaR i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo$=\&quot;BaR\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -259,7 +259,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo$=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo$=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo$=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo$=\&quot;BaR\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo$=\&quot;BaR\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo$=\&quot;BaR\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -271,7 +271,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo*=BaR i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo*=BaR i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo*=BaR i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo*=BaR i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo*=BaR i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo*=\&quot;BaR\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -283,7 +283,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo*=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo*=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo*=\&quot;BaR\&quot; i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo*=\&quot;BaR\&quot; i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo*=\&quot;BaR\&quot; i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo*=\&quot;BaR\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -295,7 +295,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo=bar        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo=bar        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo=bar        i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo=bar        i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo=bar        i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -307,7 +307,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo=\&quot;bar\&quot;        i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo=\&quot;bar\&quot;        i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -319,7 +319,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo~=bar        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo~=bar        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo~=bar        i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo~=bar        i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo~=bar        i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo~=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -331,7 +331,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo~=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo~=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo~=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo~=\&quot;bar\&quot;        i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo~=\&quot;bar\&quot;        i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo~=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -343,7 +343,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo|=bar        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo|=bar        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo|=bar        i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo|=bar        i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo|=bar        i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo|=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -355,7 +355,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo|=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo|=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo|=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo|=\&quot;bar\&quot;        i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo|=\&quot;bar\&quot;        i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo|=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -367,7 +367,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo^=bar        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo^=bar        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo^=bar        i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo^=bar        i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo^=bar        i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo^=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -379,7 +379,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo^=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo^=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo^=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo^=\&quot;bar\&quot;        i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo^=\&quot;bar\&quot;        i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo^=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -391,7 +391,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo$=bar        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo$=bar        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo$=bar        i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo$=bar        i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo$=bar        i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo$=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -403,7 +403,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo$=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo$=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo$=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo$=\&quot;bar\&quot;        i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo$=\&quot;bar\&quot;        i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo$=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -415,7 +415,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo*=bar        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo*=bar        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo*=bar        i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo*=bar        i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo*=bar        i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo*=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -427,7 +427,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo*=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo*=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo*=\&quot;bar\&quot;        i]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo*=\&quot;bar\&quot;        i]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo*=\&quot;bar\&quot;        i]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo*=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -439,7 +439,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo=bar i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo=bar i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo=bar i ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo=bar i ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo=bar i ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -451,7 +451,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo=\&quot;bar\&quot; i ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo=\&quot;bar\&quot; i ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -463,7 +463,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo~=bar i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo~=bar i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo~=bar i ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo~=bar i ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo~=bar i ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo~=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -475,7 +475,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo~=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo~=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo~=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo~=\&quot;bar\&quot; i ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo~=\&quot;bar\&quot; i ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo~=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -487,7 +487,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo|=bar i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo|=bar i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo|=bar i ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo|=bar i ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo|=bar i ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo|=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -499,7 +499,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo|=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo|=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo|=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo|=\&quot;bar\&quot; i ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo|=\&quot;bar\&quot; i ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo|=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -511,7 +511,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo^=bar i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo^=bar i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo^=bar i ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo^=bar i ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo^=bar i ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo^=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -523,7 +523,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo^=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo^=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo^=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo^=\&quot;bar\&quot; i ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo^=\&quot;bar\&quot; i ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo^=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -535,7 +535,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo$=bar i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo$=bar i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo$=bar i ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo$=bar i ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo$=bar i ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo$=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -547,7 +547,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo$=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo$=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo$=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo$=\&quot;bar\&quot; i ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo$=\&quot;bar\&quot; i ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo$=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -559,7 +559,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo*=bar i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo*=bar i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo*=bar i ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo*=bar i ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo*=bar i ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo*=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -571,7 +571,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo*=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo*=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo*=\&quot;bar\&quot; i ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo*=\&quot;bar\&quot; i ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo*=\&quot;bar\&quot; i ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo*=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -583,7 +583,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo=bar i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo=bar i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo=bar i        ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo=bar i        ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo=bar i        ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -595,7 +595,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo=\&quot;bar\&quot; i        ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo=\&quot;bar\&quot; i        ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -607,7 +607,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo~=bar i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo~=bar i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo~=bar i        ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo~=bar i        ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo~=bar i        ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo~=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -619,7 +619,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo~=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo~=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo~=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo~=\&quot;bar\&quot; i        ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo~=\&quot;bar\&quot; i        ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo~=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -631,7 +631,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo|=bar i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo|=bar i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo|=bar i        ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo|=bar i        ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo|=bar i        ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo|=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -643,7 +643,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo|=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo|=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo|=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo|=\&quot;bar\&quot; i        ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo|=\&quot;bar\&quot; i        ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo|=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -655,7 +655,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo^=bar i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo^=bar i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo^=bar i        ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo^=bar i        ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo^=bar i        ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo^=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -667,7 +667,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo^=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo^=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo^=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo^=\&quot;bar\&quot; i        ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo^=\&quot;bar\&quot; i        ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo^=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -679,7 +679,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo$=bar i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo$=bar i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo$=bar i        ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo$=bar i        ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo$=bar i        ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo$=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -691,7 +691,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo$=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo$=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo$=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo$=\&quot;bar\&quot; i        ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo$=\&quot;bar\&quot; i        ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo$=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -703,7 +703,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo*=bar i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo*=bar i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo*=bar i        ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo*=bar i        ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo*=bar i        ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo*=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -715,7 +715,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo*=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo*=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo*=\&quot;bar\&quot; i        ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo*=\&quot;bar\&quot; i        ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo*=\&quot;bar\&quot; i        ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo*=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -727,7 +727,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo=bar          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo=bar          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo=bar          i          ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo=bar          i          ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo=bar          i          ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -739,7 +739,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo=\&quot;bar\&quot;          i          ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo=\&quot;bar\&quot;          i          ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -751,7 +751,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo~=bar          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo~=bar          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo~=bar          i          ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo~=bar          i          ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo~=bar          i          ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo~=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -763,7 +763,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo~=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo~=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo~=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo~=\&quot;bar\&quot;          i          ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo~=\&quot;bar\&quot;          i          ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo~=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -775,7 +775,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo|=bar          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo|=bar          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo|=bar          i          ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo|=bar          i          ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo|=bar          i          ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo|=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -787,7 +787,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo|=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo|=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo|=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo|=\&quot;bar\&quot;          i          ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo|=\&quot;bar\&quot;          i          ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo|=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -799,7 +799,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo^=bar          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo^=bar          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo^=bar          i          ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo^=bar          i          ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo^=bar          i          ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo^=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -811,7 +811,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo^=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo^=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo^=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo^=\&quot;bar\&quot;          i          ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo^=\&quot;bar\&quot;          i          ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo^=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -823,7 +823,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo$=bar          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo$=bar          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo$=bar          i          ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo$=bar          i          ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo$=bar          i          ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo$=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -835,7 +835,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo$=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo$=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo$=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo$=\&quot;bar\&quot;          i          ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo$=\&quot;bar\&quot;          i          ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo$=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -847,7 +847,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo*=bar          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo*=bar          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo*=bar          i          ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo*=bar          i          ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo*=bar          i          ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo*=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="lines">@@ -859,7 +859,7 @@
</span><span class="cx"> PASS document.querySelector(&quot;[foo*=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[*|foo*=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><span class="cx"> PASS document.querySelector(&quot;[|foo*=\&quot;bar\&quot;          i          ]&quot;) did not throw exception.
</span><del>-PASS document.querySelector(&quot;[WebKit|foo*=\&quot;bar\&quot;          i          ]&quot;) threw exception NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML..
</del><ins>+PASS document.querySelector(&quot;[WebKit|foo*=\&quot;bar\&quot;          i          ]&quot;) threw exception SyntaxError (DOM Exception 12): The string did not match the expected pattern..
</ins><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is &quot;[foo*=\&quot;bar\&quot; i]&quot;
</span><span class="cx"> PASS document.getElementById('style-container').sheet.cssRules.length is 1
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomSelectorAPInotsupportednamespaceinselectorexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt (204521 => 204522)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt        2016-08-16 20:32:57 UTC (rev 204521)
+++ trunk/LayoutTests/fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt        2016-08-16 20:58:00 UTC (rev 204522)
</span><span class="lines">@@ -1,9 +1,9 @@
</span><span class="cx"> This tests that we throw a NAMESPACE_ERR when parsing a selector string for querySelector and querySelectorAll that contains a namespace.
</span><span class="cx"> 
</span><del>-PASS: document.querySelector('bbb|pre') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
-PASS: document.querySelectorAll('bbb|pre') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
-PASS: document.body.matches('bbb|pre') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
-PASS: document.body.webkitMatchesSelector('bbb|pre') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
</del><ins>+PASS: document.querySelector('bbb|pre') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
+PASS: document.querySelectorAll('bbb|pre') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
+PASS: document.body.matches('bbb|pre') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
+PASS: document.body.webkitMatchesSelector('bbb|pre') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
</ins><span class="cx"> PASS: document.querySelector('*|pre') did not throw
</span><span class="cx"> PASS: document.querySelectorAll('*|pre') did not throw
</span><span class="cx"> PASS: document.body.matches('*|pre') did not throw
</span><span class="lines">@@ -12,10 +12,10 @@
</span><span class="cx"> PASS: document.querySelectorAll('|pre') did not throw
</span><span class="cx"> PASS: document.body.matches('|pre') did not throw
</span><span class="cx"> PASS: document.body.webkitMatchesSelector('|pre') did not throw
</span><del>-PASS: document.querySelector('div bbb|pre') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
-PASS: document.querySelectorAll('div bbb|pre') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
-PASS: document.body.matches('div bbb|pre') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
-PASS: document.body.webkitMatchesSelector('div bbb|pre') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
</del><ins>+PASS: document.querySelector('div bbb|pre') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
+PASS: document.querySelectorAll('div bbb|pre') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
+PASS: document.body.matches('div bbb|pre') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
+PASS: document.body.webkitMatchesSelector('div bbb|pre') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
</ins><span class="cx"> PASS: document.querySelector('div *|pre') did not throw
</span><span class="cx"> PASS: document.querySelectorAll('div *|pre') did not throw
</span><span class="cx"> PASS: document.body.matches('div *|pre') did not throw
</span><span class="lines">@@ -24,10 +24,10 @@
</span><span class="cx"> PASS: document.querySelectorAll('div |pre') did not throw
</span><span class="cx"> PASS: document.body.matches('div |pre') did not throw
</span><span class="cx"> PASS: document.body.webkitMatchesSelector('div |pre') did not throw
</span><del>-PASS: document.querySelector('[bbb|name=value]') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
-PASS: document.querySelectorAll('[bbb|name=value]') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
-PASS: document.body.matches('[bbb|name=value]') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
-PASS: document.body.webkitMatchesSelector('[bbb|name=value]') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
</del><ins>+PASS: document.querySelector('[bbb|name=value]') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
+PASS: document.querySelectorAll('[bbb|name=value]') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
+PASS: document.body.matches('[bbb|name=value]') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
+PASS: document.body.webkitMatchesSelector('[bbb|name=value]') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
</ins><span class="cx"> PASS: document.querySelector('[*|name=value]') did not throw
</span><span class="cx"> PASS: document.querySelectorAll('[*|name=value]') did not throw
</span><span class="cx"> PASS: document.body.matches('[*|name=value]') did not throw
</span><span class="lines">@@ -36,11 +36,11 @@
</span><span class="cx"> PASS: document.querySelectorAll('[|name=value]') did not throw
</span><span class="cx"> PASS: document.body.matches('[|name=value]') did not throw
</span><span class="cx"> PASS: document.body.webkitMatchesSelector('[|name=value]') did not throw
</span><del>-PASS: document.querySelector(':-webkit-any(bbb|pre)') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
-PASS: document.querySelector('div [bbb|name=value]') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
-PASS: document.querySelectorAll('div [bbb|name=value]') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
-PASS: document.body.matches('div [bbb|name=value]') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
-PASS: document.body.webkitMatchesSelector('div [bbb|name=value]') throws: NamespaceError (DOM Exception 14): The operation is not allowed by Namespaces in XML.
</del><ins>+PASS: document.querySelector(':-webkit-any(bbb|pre)') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
+PASS: document.querySelector('div [bbb|name=value]') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
+PASS: document.querySelectorAll('div [bbb|name=value]') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
+PASS: document.body.matches('div [bbb|name=value]') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
+PASS: document.body.webkitMatchesSelector('div [bbb|name=value]') throws: SyntaxError (DOM Exception 12): The string did not match the expected pattern.
</ins><span class="cx"> PASS: document.querySelector('div [*|name=value]') did not throw
</span><span class="cx"> PASS: document.querySelectorAll('div [*|name=value]') did not throw
</span><span class="cx"> PASS: document.body.matches('div [*|name=value]') did not throw
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (204521 => 204522)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog        2016-08-16 20:32:57 UTC (rev 204521)
+++ trunk/LayoutTests/imported/w3c/ChangeLog        2016-08-16 20:58:00 UTC (rev 204522)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2016-08-16  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        querySelector() / querySelectorAll() should always throw a SyntaxError when failing to parse selector string
+        https://bugs.webkit.org/show_bug.cgi?id=160906
+
+        Reviewed by Ryosuke Niwa.
+
+        Rebaseline several W3C tests now that more checks are passing.
+
+        * web-platform-tests/dom/nodes/Element-matches-expected.txt:
+        * web-platform-tests/dom/nodes/ParentNode-querySelector-All-expected.txt:
+        * web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht-expected.txt:
+
</ins><span class="cx"> 2016-08-13  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Move 'embeds' / 'plugins'/ 'scripts' attributes from HTMLDocument to Document
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementmatchesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-matches-expected.txt (204521 => 204522)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-matches-expected.txt        2016-08-16 20:32:57 UTC (rev 204521)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-matches-expected.txt        2016-08-16 20:58:00 UTC (rev 204522)
</span><span class="lines">@@ -42,12 +42,8 @@
</span><span class="cx"> PASS Detached Element.matches: Unknown pseudo-element: div::example 
</span><span class="cx"> PASS Detached Element.matches: Unknown pseudo-element: ::example 
</span><span class="cx"> PASS Detached Element.matches: Invalid pseudo-element: :::before 
</span><del>-FAIL Detached Element.matches: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-          root.matches(q)
-        }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Detached Element.matches: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-          root.matches(q)
-        }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
</del><ins>+PASS Detached Element.matches: Undeclared namespace: ns|div 
+PASS Detached Element.matches: Undeclared namespace: :not(ns|div) 
</ins><span class="cx"> PASS Detached Element.matches: Invalid namespace: ^|div 
</span><span class="cx"> PASS Detached Element.matches: Invalid namespace: $|div 
</span><span class="cx"> PASS In-document Element.matches: Empty String:  
</span><span class="lines">@@ -80,12 +76,8 @@
</span><span class="cx"> PASS In-document Element.matches: Unknown pseudo-element: div::example 
</span><span class="cx"> PASS In-document Element.matches: Unknown pseudo-element: ::example 
</span><span class="cx"> PASS In-document Element.matches: Invalid pseudo-element: :::before 
</span><del>-FAIL In-document Element.matches: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-          root.matches(q)
-        }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL In-document Element.matches: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-          root.matches(q)
-        }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
</del><ins>+PASS In-document Element.matches: Undeclared namespace: ns|div 
+PASS In-document Element.matches: Undeclared namespace: :not(ns|div) 
</ins><span class="cx"> PASS In-document Element.matches: Invalid namespace: ^|div 
</span><span class="cx"> PASS In-document Element.matches: Invalid namespace: $|div 
</span><span class="cx"> PASS In-document Element.matches: Type selector, matching html element (with no refNodes): html 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesParentNodequerySelectorAllexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-expected.txt (204521 => 204522)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-expected.txt        2016-08-16 20:32:57 UTC (rev 204521)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-expected.txt        2016-08-16 20:58:00 UTC (rev 204522)
</span><span class="lines">@@ -109,18 +109,10 @@
</span><span class="cx"> PASS Document.querySelectorAll: Unknown pseudo-element: ::example 
</span><span class="cx"> PASS Document.querySelector: Invalid pseudo-element: :::before 
</span><span class="cx"> PASS Document.querySelectorAll: Invalid pseudo-element: :::before 
</span><del>-FAIL Document.querySelector: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-        root.querySelector(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Document.querySelectorAll: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-        root.querySelectorAll(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Document.querySelector: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-        root.querySelector(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Document.querySelectorAll: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-        root.querySelectorAll(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
</del><ins>+PASS Document.querySelector: Undeclared namespace: ns|div 
+PASS Document.querySelectorAll: Undeclared namespace: ns|div 
+PASS Document.querySelector: Undeclared namespace: :not(ns|div) 
+PASS Document.querySelectorAll: Undeclared namespace: :not(ns|div) 
</ins><span class="cx"> PASS Document.querySelector: Invalid namespace: ^|div 
</span><span class="cx"> PASS Document.querySelectorAll: Invalid namespace: ^|div 
</span><span class="cx"> PASS Document.querySelector: Invalid namespace: $|div 
</span><span class="lines">@@ -185,18 +177,10 @@
</span><span class="cx"> PASS Detached Element.querySelectorAll: Unknown pseudo-element: ::example 
</span><span class="cx"> PASS Detached Element.querySelector: Invalid pseudo-element: :::before 
</span><span class="cx"> PASS Detached Element.querySelectorAll: Invalid pseudo-element: :::before 
</span><del>-FAIL Detached Element.querySelector: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-        root.querySelector(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Detached Element.querySelectorAll: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-        root.querySelectorAll(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Detached Element.querySelector: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-        root.querySelector(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Detached Element.querySelectorAll: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-        root.querySelectorAll(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
</del><ins>+PASS Detached Element.querySelector: Undeclared namespace: ns|div 
+PASS Detached Element.querySelectorAll: Undeclared namespace: ns|div 
+PASS Detached Element.querySelector: Undeclared namespace: :not(ns|div) 
+PASS Detached Element.querySelectorAll: Undeclared namespace: :not(ns|div) 
</ins><span class="cx"> PASS Detached Element.querySelector: Invalid namespace: ^|div 
</span><span class="cx"> PASS Detached Element.querySelectorAll: Invalid namespace: ^|div 
</span><span class="cx"> PASS Detached Element.querySelector: Invalid namespace: $|div 
</span><span class="lines">@@ -261,18 +245,10 @@
</span><span class="cx"> PASS Fragment.querySelectorAll: Unknown pseudo-element: ::example 
</span><span class="cx"> PASS Fragment.querySelector: Invalid pseudo-element: :::before 
</span><span class="cx"> PASS Fragment.querySelectorAll: Invalid pseudo-element: :::before 
</span><del>-FAIL Fragment.querySelector: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-        root.querySelector(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Fragment.querySelectorAll: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-        root.querySelectorAll(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Fragment.querySelector: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-        root.querySelector(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Fragment.querySelectorAll: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-        root.querySelectorAll(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
</del><ins>+PASS Fragment.querySelector: Undeclared namespace: ns|div 
+PASS Fragment.querySelectorAll: Undeclared namespace: ns|div 
+PASS Fragment.querySelector: Undeclared namespace: :not(ns|div) 
+PASS Fragment.querySelectorAll: Undeclared namespace: :not(ns|div) 
</ins><span class="cx"> PASS Fragment.querySelector: Invalid namespace: ^|div 
</span><span class="cx"> PASS Fragment.querySelectorAll: Invalid namespace: ^|div 
</span><span class="cx"> PASS Fragment.querySelector: Invalid namespace: $|div 
</span><span class="lines">@@ -337,18 +313,10 @@
</span><span class="cx"> PASS In-document Element.querySelectorAll: Unknown pseudo-element: ::example 
</span><span class="cx"> PASS In-document Element.querySelector: Invalid pseudo-element: :::before 
</span><span class="cx"> PASS In-document Element.querySelectorAll: Invalid pseudo-element: :::before 
</span><del>-FAIL In-document Element.querySelector: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-        root.querySelector(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL In-document Element.querySelectorAll: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-        root.querySelectorAll(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL In-document Element.querySelector: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-        root.querySelector(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL In-document Element.querySelectorAll: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-        root.querySelectorAll(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
</del><ins>+PASS In-document Element.querySelector: Undeclared namespace: ns|div 
+PASS In-document Element.querySelectorAll: Undeclared namespace: ns|div 
+PASS In-document Element.querySelector: Undeclared namespace: :not(ns|div) 
+PASS In-document Element.querySelectorAll: Undeclared namespace: :not(ns|div) 
</ins><span class="cx"> PASS In-document Element.querySelector: Invalid namespace: ^|div 
</span><span class="cx"> PASS In-document Element.querySelectorAll: Invalid namespace: ^|div 
</span><span class="cx"> PASS In-document Element.querySelector: Invalid namespace: $|div 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesParentNodequerySelectorAllxhtexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht-expected.txt (204521 => 204522)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht-expected.txt        2016-08-16 20:32:57 UTC (rev 204521)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht-expected.txt        2016-08-16 20:58:00 UTC (rev 204522)
</span><span class="lines">@@ -109,18 +109,10 @@
</span><span class="cx"> PASS Document.querySelectorAll: Unknown pseudo-element: ::example 
</span><span class="cx"> PASS Document.querySelector: Invalid pseudo-element: :::before 
</span><span class="cx"> PASS Document.querySelectorAll: Invalid pseudo-element: :::before 
</span><del>-FAIL Document.querySelector: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-        root.querySelector(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Document.querySelectorAll: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-        root.querySelectorAll(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Document.querySelector: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-        root.querySelector(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Document.querySelectorAll: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-        root.querySelectorAll(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
</del><ins>+PASS Document.querySelector: Undeclared namespace: ns|div 
+PASS Document.querySelectorAll: Undeclared namespace: ns|div 
+PASS Document.querySelector: Undeclared namespace: :not(ns|div) 
+PASS Document.querySelectorAll: Undeclared namespace: :not(ns|div) 
</ins><span class="cx"> PASS Document.querySelector: Invalid namespace: ^|div 
</span><span class="cx"> PASS Document.querySelectorAll: Invalid namespace: ^|div 
</span><span class="cx"> PASS Document.querySelector: Invalid namespace: $|div 
</span><span class="lines">@@ -185,18 +177,10 @@
</span><span class="cx"> PASS Detached Element.querySelectorAll: Unknown pseudo-element: ::example 
</span><span class="cx"> PASS Detached Element.querySelector: Invalid pseudo-element: :::before 
</span><span class="cx"> PASS Detached Element.querySelectorAll: Invalid pseudo-element: :::before 
</span><del>-FAIL Detached Element.querySelector: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-        root.querySelector(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Detached Element.querySelectorAll: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-        root.querySelectorAll(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Detached Element.querySelector: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-        root.querySelector(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Detached Element.querySelectorAll: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-        root.querySelectorAll(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
</del><ins>+PASS Detached Element.querySelector: Undeclared namespace: ns|div 
+PASS Detached Element.querySelectorAll: Undeclared namespace: ns|div 
+PASS Detached Element.querySelector: Undeclared namespace: :not(ns|div) 
+PASS Detached Element.querySelectorAll: Undeclared namespace: :not(ns|div) 
</ins><span class="cx"> PASS Detached Element.querySelector: Invalid namespace: ^|div 
</span><span class="cx"> PASS Detached Element.querySelectorAll: Invalid namespace: ^|div 
</span><span class="cx"> PASS Detached Element.querySelector: Invalid namespace: $|div 
</span><span class="lines">@@ -261,18 +245,10 @@
</span><span class="cx"> PASS Fragment.querySelectorAll: Unknown pseudo-element: ::example 
</span><span class="cx"> PASS Fragment.querySelector: Invalid pseudo-element: :::before 
</span><span class="cx"> PASS Fragment.querySelectorAll: Invalid pseudo-element: :::before 
</span><del>-FAIL Fragment.querySelector: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-        root.querySelector(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Fragment.querySelectorAll: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-        root.querySelectorAll(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Fragment.querySelector: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-        root.querySelector(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL Fragment.querySelectorAll: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-        root.querySelectorAll(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
</del><ins>+PASS Fragment.querySelector: Undeclared namespace: ns|div 
+PASS Fragment.querySelectorAll: Undeclared namespace: ns|div 
+PASS Fragment.querySelector: Undeclared namespace: :not(ns|div) 
+PASS Fragment.querySelectorAll: Undeclared namespace: :not(ns|div) 
</ins><span class="cx"> PASS Fragment.querySelector: Invalid namespace: ^|div 
</span><span class="cx"> PASS Fragment.querySelectorAll: Invalid namespace: ^|div 
</span><span class="cx"> PASS Fragment.querySelector: Invalid namespace: $|div 
</span><span class="lines">@@ -337,18 +313,10 @@
</span><span class="cx"> PASS In-document Element.querySelectorAll: Unknown pseudo-element: ::example 
</span><span class="cx"> PASS In-document Element.querySelector: Invalid pseudo-element: :::before 
</span><span class="cx"> PASS In-document Element.querySelectorAll: Invalid pseudo-element: :::before 
</span><del>-FAIL In-document Element.querySelector: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-        root.querySelector(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL In-document Element.querySelectorAll: Undeclared namespace: ns|div assert_throws: function &quot;function () {
-        root.querySelectorAll(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL In-document Element.querySelector: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-        root.querySelector(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
-FAIL In-document Element.querySelectorAll: Undeclared namespace: :not(ns|div) assert_throws: function &quot;function () {
-        root.querySelectorAll(q)
-      }&quot; threw object &quot;NamespaceError (DOM Exception 14): The operation is not a...&quot; that is not a DOMException SyntaxError: property &quot;code&quot; is equal to 14, expected 12
</del><ins>+PASS In-document Element.querySelector: Undeclared namespace: ns|div 
+PASS In-document Element.querySelectorAll: Undeclared namespace: ns|div 
+PASS In-document Element.querySelector: Undeclared namespace: :not(ns|div) 
+PASS In-document Element.querySelectorAll: Undeclared namespace: :not(ns|div) 
</ins><span class="cx"> PASS In-document Element.querySelector: Invalid namespace: ^|div 
</span><span class="cx"> PASS In-document Element.querySelectorAll: Invalid namespace: ^|div 
</span><span class="cx"> PASS In-document Element.querySelector: Invalid namespace: $|div 
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (204521 => 204522)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-08-16 20:32:57 UTC (rev 204521)
+++ trunk/Source/WebCore/ChangeLog        2016-08-16 20:58:00 UTC (rev 204522)
</span><span class="lines">@@ -1,3 +1,22 @@
</span><ins>+2016-08-16  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        querySelector() / querySelectorAll() should always throw a SyntaxError when failing to parse selector string
+        https://bugs.webkit.org/show_bug.cgi?id=160906
+
+        Reviewed by Ryosuke Niwa.
+
+        querySelector() / querySelectorAll() should always throw a SyntaxError
+        when failing to parse selector string:
+        - https://dom.spec.whatwg.org/#dom-parentnode-queryselector
+        - https://dom.spec.whatwg.org/#scope-match-a-selectors-string
+
+        In some cases, WebKit was throwing a NamespaceError instead.
+
+        No new tests, rebaselined existing tests.
+
+        * dom/SelectorQuery.cpp:
+        (WebCore::SelectorQueryCache::add):
+
</ins><span class="cx"> 2016-08-16  Brent Fulgham  &lt;bfulgham@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Upgrade-Insecure-Request state is improperly retained between navigations
</span></span></pre></div>
<a id="trunkSourceWebCoredomSelectorQuerycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/SelectorQuery.cpp (204521 => 204522)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/SelectorQuery.cpp        2016-08-16 20:32:57 UTC (rev 204521)
+++ trunk/Source/WebCore/dom/SelectorQuery.cpp        2016-08-16 20:58:00 UTC (rev 204522)
</span><span class="lines">@@ -630,9 +630,8 @@
</span><span class="cx">         return nullptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    // Throw a NAMESPACE_ERR if the selector includes any namespace prefixes.
</del><span class="cx">     if (selectorList.selectorsNeedNamespaceResolution()) {
</span><del>-        ec = NAMESPACE_ERR;
</del><ins>+        ec = SYNTAX_ERR;
</ins><span class="cx">         return nullptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>