Implemented hidden, removed corresponding passed tests

This commit is contained in:
aakashjain 2014-11-28 01:58:49 +05:30
parent 431644bfc8
commit 5a30bd00cb
12 changed files with 5 additions and 12644 deletions

View file

@ -75,6 +75,10 @@ impl<'a> HTMLElementMethods for JSRef<'a, HTMLElement> {
make_getter!(Lang)
make_setter!(SetLang, "lang")
// http://html.spec.whatwg.org/multipage/#dom-hidden
make_bool_getter!(Hidden)
make_bool_setter!(SetHidden, "hidden")
event_handler!(click, GetOnclick, SetOnclick)
fn GetOnload(self) -> Option<EventHandlerNonNull> {

View file

@ -22,7 +22,7 @@ interface HTMLElement : Element {
// attribute any itemValue; // acts as DOMString on setting
// user interaction
// attribute boolean hidden;
attribute boolean hidden;
//void click();
// attribute long tabIndex;
//void focus();