You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement HTMLHyperlinkElementUtils for HTMLAnchorElement #7857
A-content/domInteracting with the DOM from web contentC-assignedThere is someone working on resolving the issueE-more-complexVariable effort required; may require a mentor. Recommended solution is clearly described in the iss
We need to uncomment the implements line in HTMLAnchorElement.webidl, and then add the missing methods to the HTMLAnchorMethods implementation in htmlanchorelement.rs. Use WorkerLocation as a model for this; each time a method from URLUtils is called (via UrlHelper), we should fetch the current value of the href attribute, then adjust the relevant property if necessary, then set the href attribute to the new value if necessary.
I saw in [1] that the URL API might change. Does it make sense to hold off on submitting any changes until that's done, or should I submit something and then it can get updated with everything else later?
A-content/domInteracting with the DOM from web contentC-assignedThere is someone working on resolving the issueE-more-complexVariable effort required; may require a mentor. Recommended solution is clearly described in the iss
Activity
nox commentedon Oct 5, 2015
Note that the URL spec is currently under heavy change.
jdramani commentedon Oct 9, 2015
I would like to give it a try :)
nox commentedon Oct 9, 2015
Great!
nox commentedon Oct 14, 2015
#8008
frewsxcv commentedon Nov 26, 2015
The spec changed for
URLUtils: whatwg/html#219[-]Implement URLUtils for HTMLAnchorElement[/-][+]Implement HTMLHyperlinkElementUtils for HTMLAnchorElement[/+]jdm commentedon Feb 26, 2016
Latest attempt was in #9292 which was a work-in-progress. Further efforts should be based on that.
schuster commentedon Feb 28, 2016
I can try to wrap this up if no one else is working on it.
frewsxcv commentedon Feb 28, 2016
Go for it @schuster !
schuster commentedon Mar 5, 2016
I saw in [1] that the URL API might change. Does it make sense to hold off on submitting any changes until that's done, or should I submit something and then it can get updated with everything else later?
[1] servo/rust-url#176
SimonSapin commentedon Mar 5, 2016
If you’re implementing anything from https://url.spec.whatwg.org/#api yes, since servo/rust-url#176 does as well.
Auto merge of #9887 - schuster:HTMLHyperlinkElementUtils, r=<try>
Auto merge of #9887 - schuster:HTMLHyperlinkElementUtils, r=jdm
Auto merge of #9887 - schuster:HTMLHyperlinkElementUtils, r=jdm
Auto merge of #9887 - schuster:HTMLHyperlinkElementUtils, r=jdm