зеркало из https://github.com/mozilla/gecko-dev.git
1ce0975b8e
This is mostly edge-casey, but see bug 1757156 for an example where it's causing some issues (granted, they could use `href="#"` or something instead of an empty href). It feels weird if a link looks like a link (because the CSS definition of a link matches, which is "has an href") but then mostly doesn't behave as a link. We can't navigate anywhere if we don't have a valid URI but maybe JS handles the relevant events as in bug 1757156. Use the CSS definition (has href) since that's interoperable across browsers. This should also make some stuff much faster (since checking 'is link' is now just a bit check instead of a virtual call). (Awaiting try results, if no tests need adjustments then I need to write some) Differential Revision: https://phabricator.services.mozilla.com/D142107 |
||
---|---|---|
.. | ||
android | ||
aom | ||
atk | ||
base | ||
basetypes | ||
docs | ||
generic | ||
html | ||
interfaces | ||
ipc | ||
mac | ||
other | ||
tests | ||
windows | ||
xpcom | ||
xul | ||
moz.build |