Bug 1419313 - Add [CEReactions] to contentEditable attribute; r=smaug

MozReview-Commit-ID: KC9YCswvOKd

--HG--
extra : rebase_source : 26a6d6390470b4f7969050a3f87dbec38cce29d7
This commit is contained in:
Edgar Chen 2017-11-21 22:02:00 +08:00
parent b798781037
commit e6375927b8
2 changed files with 1 additions and 9 deletions

View File

@ -46,7 +46,7 @@ interface HTMLElement : Element {
[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;

View File

@ -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