mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Add ElementContentEditable WebIDL interface
This commit is contained in:
parent
d16ba51b47
commit
880a0f9478
2 changed files with 11 additions and 2 deletions
10
components/script/dom/webidls/ElementContentEditable.webidl
Normal file
10
components/script/dom/webidls/ElementContentEditable.webidl
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
/* 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/. */
|
||||||
|
|
||||||
|
// https://html.spec.whatwg.org/multipage/#elementcontenteditable
|
||||||
|
[NoInterfaceObject]
|
||||||
|
interface ElementContentEditable {
|
||||||
|
// attribute DOMString contentEditable;
|
||||||
|
// readonly attribute boolean isContentEditable;
|
||||||
|
};
|
|
@ -31,8 +31,6 @@ interface HTMLElement : Element {
|
||||||
//readonly attribute DOMString accessKeyLabel;
|
//readonly attribute DOMString accessKeyLabel;
|
||||||
// attribute boolean draggable;
|
// attribute boolean draggable;
|
||||||
//[PutForwards=value] readonly attribute DOMSettableTokenList dropzone;
|
//[PutForwards=value] readonly attribute DOMSettableTokenList dropzone;
|
||||||
// attribute DOMString contentEditable;
|
|
||||||
//readonly attribute boolean isContentEditable;
|
|
||||||
// attribute HTMLMenuElement? contextMenu;
|
// attribute HTMLMenuElement? contextMenu;
|
||||||
// attribute boolean spellcheck;
|
// attribute boolean spellcheck;
|
||||||
//void forceSpellCheck();
|
//void forceSpellCheck();
|
||||||
|
@ -57,4 +55,5 @@ partial interface HTMLElement {
|
||||||
};
|
};
|
||||||
|
|
||||||
HTMLElement implements GlobalEventHandlers;
|
HTMLElement implements GlobalEventHandlers;
|
||||||
|
HTMLElement implements ElementContentEditable;
|
||||||
HTMLElement implements ElementCSSInlineStyle;
|
HTMLElement implements ElementCSSInlineStyle;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue