Move Node.namespaceURI to Element.(fixes #2059)

This commit is contained in:
lpy 2014-04-08 17:06:17 +08:00
parent 7541b57526
commit 77941dc996
4 changed files with 8 additions and 10 deletions

View file

@ -18,10 +18,11 @@ interface Element : Node {
We haven't moved these from Node to Element like the spec wants.
[Throws]
readonly attribute DOMString? namespaceURI;
readonly attribute DOMString? prefix;
readonly attribute DOMString localName;
*/
[Constant]
readonly attribute DOMString namespaceURI;
// Not [Constant] because it depends on which document we're in
[Pure]
readonly attribute DOMString tagName;