Re: [whatwg/url] Editorial: deduplicate the relative state (#509)

@annevk commented on this pull request.



>  
         <ol>
-         <li><p>Set <var>url</var>'s <a for=url>username</a> to
-         <var>base</var>'s <a for=url>username</a>,
-         <var>url</var>'s <a for=url>password</a> to
-         <var>base</var>'s <a for=url>password</a>,
-         <var>url</var>'s <a for=url>host</a> to
-         <var>base</var>'s <a for=url>host</a>,
-         <var>url</var>'s <a for=url>port</a> to
-         <var>base</var>'s <a for=url>port</a>,
-         <var>url</var>'s <a for=url>path</a> to a <a for=list>clone</a> of
-         <var>base</var>'s <a for=url>path</a>, and then <a for=list>remove</a>
-         <var>url</var>'s <a for=url>path</a>'s last item, if any.
+         <li><p>Set <var>url</var>'s <a for=url>query</a> to null.
+
+         <li><p><a for=list>Remove</a> <var>url</var>'s <a for=url>path</a>'s last item, if any.
 
          <li><p>Set <var>state</var> to <a>path state</a> and decrease <var>pointer</var> by 1.

If we want to do that we should probably do that across the whole file.

-- 
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/url/pull/509#discussion_r423202997

Received on Monday, 11 May 2020 17:31:23 UTC