Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/ElementContentEditable.html

Issue 2446483002: Import wpt@c5a14f553cba5f197743b9af605a84eddd8692a2 (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/ElementContentEditable.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/Attr.html b/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/ElementContentEditable.html
similarity index 50%
copy from third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/Attr.html
copy to third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/ElementContentEditable.html
index c9fa37f961159fffc19e8fdbe72df8b5686681a2..bdb10761cb8dd900f430c0d618cb914b3805a550 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/Attr.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/ElementContentEditable.html
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html>
<head>
-<title>Custom Elements: CEReactions on Attr interface</title>
+<title>Custom Elements: CEReactions on ElementContentEditable interface</title>
<meta name="author" title="Ryosuke Niwa" href="mailto:rniwa@webkit.org">
-<meta name="assert" content="value of Attr interface must have CEReactions">
-<meta name="help" content="https://dom.spec.whatwg.org/#node">
+<meta name="assert" content="contentEditable of ElementContentEditable interface must have CEReactions">
+<meta name="help" content="https://html.spec.whatwg.org/#elementcontenteditable">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../resources/custom-elements-helpers.js"></script>
@@ -14,9 +14,7 @@
<div id="log"></div>
<script>
-testAttributeMutator(function (element, name, value) {
- element.attributes[name].value = value;
-}, 'value on Attr');
+testReflectAttribute('contentEditable', 'contenteditable', 'true', 'false', 'contentEditable on ElementContentEditable');
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698