Implement Element.prefix (Fixes #1737)

This commit is contained in:
Sankha Narayan Guria 2014-04-21 19:41:05 +05:30
parent bb8a037cb2
commit 36bf23de20
6 changed files with 23 additions and 31 deletions

View file

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