forked from mdn/browser-compat-data
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set Attr and related APIs as supported since Safari 1
The difference between Safari 1 and 1.3 is of course not important, but some assumption has to be made to fix localName/namespaceURI/prefix: mdn#9561 Based on current Web IDL, the set of related APIs are: - Document.createAttribute - Document.createAttributeNS - Element.attributes (a NamedNodeMap) - Element.getAttributeNode - Element.getAttributeNodeNS - Element.setAttributeNode - Element.setAttributeNodeNS - Element.removeAttributeNode - NamedNodeMap and all of its members All can be found in the bindings of the revision tagged Safari 85: https://trac.webkit.org/browser/webkit/trunk/WebCore/khtml/ecma/kjs_dom.lut.h?rev=4552 The only complication is Attr.localName/namespaceURI/prefix, which was then on Node, but judging by the implementation they probably worked: https://trac.webkit.org/browser/webkit/trunk/WebCore/khtml/dom/dom_node.cpp?rev=4552
- Loading branch information
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters