-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
<a> and <area> popup blocker exception is broken #2616
Comments
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/5120 shows that this doesn't end up throwing an exception at all so that requirement seems wrong as well. |
When I add a That should further simplify the algorithms we have today. |
This makes several changes: * Stop throwing an exception in <a> and <area> activation behavior as a result of popup blocking as it doesn’t match implementations. Fixes #2616. Formal testing is not possible and tracked by web-platform-tests/wpt#3867. * Make matching for special names ASCII case-insensitive. Fixes #2443. * Centralize all user-configurable behavior instead of having it duplicated in various ways in all the caller algorithms. * Call out a known issue with browsing context name matching: #2126. It also modernizes the writing style and makes variables and what is returned much more explicit, including no longer relying on some out-of-band channel for communicating whether a new browsing context got created.
This makes several changes: * Stop throwing an exception in `<a>` and `<area>` activation behavior as a result of popup blocking as it doesn’t match implementations. Fixes whatwg#2616. Formal testing is not possible and tracked by web-platform-tests/wpt#3867. * Make matching for special names ASCII case-insensitive. Fixes whatwg#2443. * Centralize all user-configurable behavior instead of having it duplicated in various ways in all the caller algorithms. * Call out a known issue with browsing context name matching: whatwg#1440. It also modernizes the writing style and makes variables and what is returned much more explicit, including no longer relying on some out-of-band channel for communicating whether a new browsing context got created.
This makes several changes: * Stop throwing an exception in `<a>` and `<area>` activation behavior as a result of popup blocking as it doesn’t match implementations. Fixes whatwg#2616. Formal testing is not possible and tracked by web-platform-tests/wpt#3867. * Make matching for special names ASCII case-insensitive. Fixes whatwg#2443. * Centralize all user-configurable behavior instead of having it duplicated in various ways in all the caller algorithms. * Call out a known issue with browsing context name matching: whatwg#1440. It also modernizes the writing style and makes variables and what is returned much more explicit, including no longer relying on some out-of-band channel for communicating whether a new browsing context got created.
This makes several changes: * Stop throwing an exception in `<a>` and `<area>` activation behavior as a result of popup blocking as it doesn’t match implementations. Fixes whatwg#2616. Formal testing is not possible and tracked by web-platform-tests/wpt#3867. * Make matching for special names ASCII case-insensitive. Fixes whatwg#2443. * Centralize all user-configurable behavior instead of having it duplicated in various ways in all the caller algorithms. * Call out a known issue with browsing context name matching: whatwg#1440. It also modernizes the writing style and makes variables and what is returned much more explicit, including no longer relying on some out-of-band channel for communicating whether a new browsing context got created.
Both
<a>
and<area>
have this copypasta:This however doesn't consider target attributes on the
base
element and it also ends up duplicating text from "following hyperlinks".I think it should be deduplicated with "following hyperlinks" (and we should maybe be more clearer about where that exception ends up) though I need to test what actually happens and also test what happens for "download the hyperlink" since that doesn't concern itself with browsing contexts at all. It's unclear if that should just ignore the
target
attribute (normative change) or still have this kind of check first, but also accounting forbase
elements.The text was updated successfully, but these errors were encountered: