Re: [whatwg/dom] Don't store is value when it won't be useful (#661)

smaug---- approved this pull request.



> @@ -6052,6 +6052,15 @@ given a <var>document</var>, <var>localName</var>, <var>namespace</var>, and opt
    <li><p>Let <var>interface</var> be the <a>element interface</a> for <var>localName</var> and
    <var>namespace</var>.
 
+   <li>
+    <p>If <var>localName</var> is a <a>valid custom element name</a>, or <var>is</var> is not a
+    <a>valid custom element name</a>, then set <var>is</var> to null.</p>
+

(Hmm, actually, I think I need to tweak one thing in Gecko and figure out if https://github.com/web-platform-tests/wpt/blob/master/custom-elements/pseudo-class-defined.html#L12 needs to be changed.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/661#pullrequestreview-133026460

Received on Thursday, 28 June 2018 21:25:06 UTC