-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editorial: deduplicate the relative state #509
Conversation
Helps with #504.
(file state is very similar to this, but I'll tackle that in a separate PR for clarity and ease of reviewing.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for validating with whatwg-url.
<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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might want to split this into two steps while you're here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we want to do that we should probably do that across the whole file.
Helps with #504.
(I'll double check with whatwg-url that this is okay in a bit.)
Preview | Diff