Open zcorpan opened 7 years ago
(If we decide to not change attr()
, then the note needs to be updated.)
Also, I forgot about the following in https://github.com/whatwg/html/pull/2700
would be nice to make it clear that it's attributes in any namespace.
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/5230
Chromium/WebKit/EdgeHTML 15 don't support matching a namespaced attribute with attr()
at all, it seems. Gecko compares lowercased local name.
For no-namespace attributes and attr()
without using namespace prefix, we have interop on comparing lowercase local name.
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/5231
In https://github.com/whatwg/html/issues/2694#issuecomment-302885830 @SimonSapin wrote:
From a consistency point of view, I think we should do this. But it's worth checking what browsers do first.