Files
tubestation/servo/components/script/dom/webidls/HTMLElement.webidl
Manish Goregaokar 3259a22290 servo: Merge #4002 - Implement framework for element activation (fixes #3999) (from Manishearth:activation); r=jdm
Still need to impl `Activatable` on all activatable elements. I'll probably push those changes to this PR, however they can be made separately as well.

Source-Repo: https://github.com/servo/servo
Source-Revision: 19c69b1625dda46d3c5501292e7e2d0328e400b4
2014-12-06 03:55:04 -07:00

49 lines
1.9 KiB
Plaintext

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// http://www.whatwg.org/html/#htmlelement
interface HTMLElement : Element {
// metadata attributes
attribute DOMString title;
attribute DOMString lang;
// attribute boolean translate;
// attribute DOMString dir;
//readonly attribute DOMStringMap dataset;
// microdata
// attribute boolean itemScope;
//[PutForwards=value] readonly attribute DOMSettableTokenList itemType;
// attribute DOMString itemId;
//[PutForwards=value] readonly attribute DOMSettableTokenList itemRef;
//[PutForwards=value] readonly attribute DOMSettableTokenList itemProp;
//readonly attribute HTMLPropertiesCollection properties;
// attribute any itemValue; // acts as DOMString on setting
// user interaction
attribute boolean hidden;
void click();
// attribute long tabIndex;
//void focus();
//void blur();
// attribute DOMString accessKey;
//readonly attribute DOMString accessKeyLabel;
// attribute boolean draggable;
//[PutForwards=value] readonly attribute DOMSettableTokenList dropzone;
// attribute DOMString contentEditable;
//readonly attribute boolean isContentEditable;
// attribute HTMLMenuElement? contextMenu;
// attribute boolean spellcheck;
//void forceSpellCheck();
// command API
//readonly attribute DOMString? commandType;
//readonly attribute DOMString? commandLabel;
//readonly attribute DOMString? commandIcon;
//readonly attribute boolean? commandHidden;
//readonly attribute boolean? commandDisabled;
//readonly attribute boolean? commandChecked;
};
HTMLElement implements GlobalEventHandlers;