mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
This is required for `document.execCommand`, since it needs to check the active range of the selection whether it has the attribute or not. It also turns on the relevant WPT tests, with 1 pre-existing failure for absolute positioned pseudo elements. These currently do not render correctly, regardless of the existence of contenteditable. Fixes #12776 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
12 lines
451 B
Plaintext
12 lines
451 B
Plaintext
/* 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 https://mozilla.org/MPL/2.0/. */
|
|
|
|
// https://html.spec.whatwg.org/multipage/#elementcontenteditable
|
|
[Exposed=Window]
|
|
interface mixin ElementContentEditable {
|
|
[CEReactions, SetterThrows]
|
|
attribute DOMString contentEditable;
|
|
readonly attribute boolean isContentEditable;
|
|
};
|