Implement Element.className

This commit is contained in:
Bruno de Oliveira Abinader 2014-03-13 13:48:24 -04:00
parent 3933d17262
commit 6274ecba07
6 changed files with 50 additions and 14 deletions

View file

@ -28,10 +28,8 @@ interface Element : Node {
[Pure]
attribute DOMString id;
/*
FIXME Bug 810677 Move className from HTMLElement to Element
[Pure]
attribute DOMString className;
*/
/*[Constant]
readonly attribute DOMTokenList? classList;*/

View file

@ -43,10 +43,6 @@ interface HTMLElement : Element {
readonly attribute boolean isContentEditable;
[SetterThrows, Pure]
attribute boolean spellcheck;
// Mozilla specific stuff
// FIXME Bug 810677 Move className from HTMLElement to Element
attribute DOMString className;
};
// http://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlelement-interface