Bug 1419313 - Add [CEReactions] to contentEditable attribute; r?smaug
MozReview-Commit-ID: KC9YCswvOKd
--- a/dom/webidl/HTMLElement.webidl
+++ b/dom/webidl/HTMLElement.webidl
@@ -41,17 +41,17 @@ interface HTMLElement : Element {
void blur();
[CEReactions, SetterThrows, Pure]
attribute DOMString accessKey;
[Pure]
readonly attribute DOMString accessKeyLabel;
[CEReactions, SetterThrows, Pure]
attribute boolean draggable;
//[PutForwards=value] readonly attribute DOMTokenList dropzone;
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute DOMString contentEditable;
[Pure]
readonly attribute boolean isContentEditable;
[Pure]
readonly attribute HTMLMenuElement? contextMenu;
//[SetterThrows]
// attribute HTMLMenuElement? contextMenu;
[CEReactions, SetterThrows, Pure]
deleted file mode 100644
--- a/testing/web-platform/meta/custom-elements/reactions/ElementContentEditable.html.ini
+++ /dev/null
@@ -1,8 +0,0 @@
-[ElementContentEditable.html]
- type: testharness
- [contentEditable on ElementContentEditable must enqueue an attributeChanged reaction when adding contenteditable content attribute]
- expected: FAIL
-
- [contentEditable on ElementContentEditable must enqueue an attributeChanged reaction when replacing an existing attribute]
- expected: FAIL
-