mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Add CEReactions where needed
This commit is contained in:
parent
438191e0b2
commit
2460997ee1
100 changed files with 1025 additions and 979 deletions
|
@ -6,9 +6,13 @@
|
|||
[HTMLConstructor]
|
||||
interface HTMLElement : Element {
|
||||
// metadata attributes
|
||||
[CEReactions]
|
||||
attribute DOMString title;
|
||||
[CEReactions]
|
||||
attribute DOMString lang;
|
||||
// [CEReactions]
|
||||
// attribute boolean translate;
|
||||
// [CEReactions]
|
||||
// attribute DOMString dir;
|
||||
readonly attribute DOMStringMap dataset;
|
||||
|
||||
|
@ -19,26 +23,31 @@ interface HTMLElement : Element {
|
|||
// attribute any itemValue; // acts as DOMString on setting
|
||||
|
||||
// user interaction
|
||||
[CEReactions]
|
||||
attribute boolean hidden;
|
||||
void click();
|
||||
// [CEReactions]
|
||||
// attribute long tabIndex;
|
||||
void focus();
|
||||
void blur();
|
||||
// [CEReactions]
|
||||
// attribute DOMString accessKey;
|
||||
//readonly attribute DOMString accessKeyLabel;
|
||||
// [CEReactions]
|
||||
// attribute boolean draggable;
|
||||
//[SameObject, PutForwards=value] readonly attribute DOMTokenList dropzone;
|
||||
// [SameObject, PutForwards=value] readonly attribute DOMTokenList dropzone;
|
||||
// attribute HTMLMenuElement? contextMenu;
|
||||
// [CEReactions]
|
||||
// attribute boolean spellcheck;
|
||||
//void forceSpellCheck();
|
||||
// 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;
|
||||
// readonly attribute DOMString? commandType;
|
||||
// readonly attribute DOMString? commandLabel;
|
||||
// readonly attribute DOMString? commandIcon;
|
||||
// readonly attribute boolean? commandHidden;
|
||||
// readonly attribute boolean? commandDisabled;
|
||||
// readonly attribute boolean? commandChecked;
|
||||
};
|
||||
|
||||
// http://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlelement-interface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue