Bug 1419313 - Add [CEReactions] to contentEditable attribute; r=smaug
authorEdgar Chen <echen@mozilla.com>
Tue, 21 Nov 2017 22:02:00 +0800
changeset 701856 14207d5c28f83e5dd9bc387c40a8701ef00d5c09
parent 701855 a5640e22d9eac0cacb5029ff648fa3557da37b46
child 701857 3635f0f522c78c1a555cc968de5062b6d218f66c
push id90298
push userbmo:bpostelnicu@mozilla.com
push dateWed, 22 Nov 2017 10:54:01 +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
-