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 "the rules for choosing a browsing context" #20673
Take 'target' into account when following the hyperlink (and perhaps also other small changes, it seems the labeling of some steps needs updating and others seems to be missing).
Loading the url in a target in a different browsing context seems to be blocked by #13241(but I'm wondering if that should only be if it's in a new 'top level browsing context'? Can we still follow the hyperlink in a iframe of the current page, like is necessary for the test below?).
Activity
[-]Improve Spec compliance of "follow hyperlink"[/-][+]Improve spec compliance of "follow hyperlink"[/+][-]Improve spec compliance of "follow hyperlink"[/-][+]Implement "the rules for choosing a browsing context"[/+]gterzian commentedon Apr 22, 2018
On second thoughts, I think this issue is more about implementing https://html.spec.whatwg.org/multipage/browsers.html#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name, which is useful in other places besides the anchorelement, such as forms, see
servo/components/script/dom/htmlformelement.rs
Line 340 in 05fe8fa
so I propose to do that, and then plug it both into forms and anchors.
gterzian commentedon Apr 22, 2018
Would such a
choose_browsing_contextmethod belong perhaps onWindowProxy?Auto merge of #20678 - gterzian:improve_follow_hyperlinks, r=<try>
Auto merge of #20678 - gterzian:improve_follow_hyperlinks, r=<try>
Auto merge of #20678 - gterzian:improve_follow_hyperlinks, r=<try>
Auto merge of #20678 - gterzian:improve_follow_hyperlinks, r=<try>
Auto merge of #20678 - gterzian:improve_follow_hyperlinks, r=<try>
Auto merge of #20678 - gterzian:improve_follow_hyperlinks, r=<try>
Auto merge of #20678 - gterzian:improve_follow_hyperlinks, r=<try>
Auto merge of #20678 - gterzian:improve_follow_hyperlinks, r=<try>
Auto merge of #20678 - gterzian:improve_follow_hyperlinks, r=<try>
Auto merge of #20678 - gterzian:improve_follow_hyperlinks, r=<try>
Auto merge of #20678 - gterzian:improve_follow_hyperlinks, r=nox,jdm
Auto merge of #20678 - gterzian:improve_follow_hyperlinks, r=jdm
Auto merge of #20678 - gterzian:improve_follow_hyperlinks, r=jdm