Re: [whatwg/dom] Make Attr inherit from Node again (#299)

>  
>  <ol>
> - <li>Let <var>reference</var> be the <a>context object</a>.
> - <li>If <var>other</var> and <var>reference</var> are the
> - same object, return zero.
> + <li><p>If <a>context object</a> is <var>other</var>, then return zero.
> +
> + <li><p>Let <var>node1</var> be <var>other</var> and <var>node2</var> be <a>context object</a>.
> +
> + <li><p>Let <var>attr1</var> be null.

Wow, this algorithm was more complicated than I thought. Is this a reverse engineering of Gecko's algorithm? I think I can spot some differences to what Blink does, and am not sure if they matter.

-- 
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/299/files/82df412250bd1321562cbe50574219860b976645#r75390282

Received on Thursday, 18 August 2016 21:13:41 UTC