Add ElementContentEditable WebIDL interface

This commit is contained in:
Corey Farwell 2015-11-06 23:07:57 -05:00
parent d16ba51b47
commit 880a0f9478
2 changed files with 11 additions and 2 deletions

View 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;
};

View file

@ -31,8 +31,6 @@ interface HTMLElement : Element {
//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();
@ -57,4 +55,5 @@ partial interface HTMLElement {
};
HTMLElement implements GlobalEventHandlers;
HTMLElement implements ElementContentEditable;
HTMLElement implements ElementCSSInlineStyle;