OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Custom Elements: CEReactions on Attr interface</title> | 4 <title>Custom Elements: CEReactions on ElementContentEditable interface</title> |
5 <meta name="author" title="Ryosuke Niwa" href="mailto:rniwa@webkit.org"> | 5 <meta name="author" title="Ryosuke Niwa" href="mailto:rniwa@webkit.org"> |
6 <meta name="assert" content="value of Attr interface must have CEReactions"> | 6 <meta name="assert" content="contentEditable of ElementContentEditable interface
must have CEReactions"> |
7 <meta name="help" content="https://dom.spec.whatwg.org/#node"> | 7 <meta name="help" content="https://html.spec.whatwg.org/#elementcontenteditable"
> |
8 <script src="/resources/testharness.js"></script> | 8 <script src="/resources/testharness.js"></script> |
9 <script src="/resources/testharnessreport.js"></script> | 9 <script src="/resources/testharnessreport.js"></script> |
10 <script src="../resources/custom-elements-helpers.js"></script> | 10 <script src="../resources/custom-elements-helpers.js"></script> |
11 <script src="./resources/reactions.js"></script> | 11 <script src="./resources/reactions.js"></script> |
12 </head> | 12 </head> |
13 <body> | 13 <body> |
14 <div id="log"></div> | 14 <div id="log"></div> |
15 <script> | 15 <script> |
16 | 16 |
17 testAttributeMutator(function (element, name, value) { | 17 testReflectAttribute('contentEditable', 'contenteditable', 'true', 'false', 'con
tentEditable on ElementContentEditable'); |
18 element.attributes[name].value = value; | |
19 }, 'value on Attr'); | |
20 | 18 |
21 </script> | 19 </script> |
22 </body> | 20 </body> |
23 </html> | 21 </html> |
OLD | NEW |