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

@ -79,11 +79,9 @@ interface Node : EventTarget {
// Mozilla-specific stuff
// These have been moved to Element in the spec.
// If we move namespaceURI, prefix and localName to Element they should return
// If we move prefix and localName to Element they should return
// a non-nullable type.
[Constant]
readonly attribute DOMString? namespaceURI;
[Constant]
readonly attribute DOMString? prefix;
[Constant]
readonly attribute DOMString? localName;