Bug 1419313 - Add [CEReactions] to contentEditable attribute; r?smaug draft
authorEdgar Chen <echen@mozilla.com>
Tue, 21 Nov 2017 22:02:00 +0800
changeset 701281 a04198d19d61644287de1e7cffc552a832ea6419
parent 701069 107d331203d0d16062fa061569e822d3c6d5f2c9
child 701288 20f35295ff0b5b2c1ec2f0f0f60907dc2b1278c7
push id90128
push userechen@mozilla.com
push dateTue, 21 Nov 2017 14:02:46 +0000
reviewerssmaug
bugs1419313
milestone59.0a1
Bug 1419313 - Add [CEReactions] to contentEditable attribute; r?smaug MozReview-Commit-ID: KC9YCswvOKd
dom/webidl/HTMLElement.webidl
testing/web-platform/meta/custom-elements/reactions/ElementContentEditable.html.ini
--- 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
-