mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implemented hidden, removed corresponding passed tests
This commit is contained in:
parent
431644bfc8
commit
5a30bd00cb
12 changed files with 5 additions and 12644 deletions
|
@ -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> {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue