Repository navigation
Conversation
|
Note to self: make this consistent about "the element" vs "element" (former is better). |
There was a problem hiding this comment.
Name should not contain HyperLink; it should be Hyperlink. The document uses hyperlink as all one word, not two words.
Maybe name it with a "mixin" suffix, or "utils"? Everything following the HTML___Element pattern is an actual class, not a mixin. So e.g. HTMLHyperlinkUtils or HTMLHyperlinkElementUtils would help clarify IMO.
I would actually prefer "this element" :) |
There was a problem hiding this comment.
Minor: there is some inconsistency in how you call other specs algorithms. Here it is "given url and the given value", i.e. as positional arguments. Later it is "with url as url and host state as state override," i.e. named arguments. Might be better to stick to named arguments everywhere.
There was a problem hiding this comment.
I use named arguments when it gets ambiguous. Would love to get rid of that though. Hopefully at some point we have a good meta-language for writing algorithms that has all this stuff covered.
|
All comments should have been addressed. I left them as separate commits for now. |
There was a problem hiding this comment.
relative to element -> relative to this element
|
LGTM after fixing the ? vs. # confusion. |
See whatwg/url#62 for the background. This defines a mixin used by both a and area elements to define their IDL members previously defined by the URL standard. It also fixes a small error in the WorkerLocation text.
whatwg#219 fixed this for the CI Dockerfile.
See whatwg/url#62 for the background. This
defines a mixin used by both a and area elements to define their IDL
members previously defined by the URL standard.
It also fixes a small error in the WorkerLocation text.