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/web-platform-tests/html/editing/editing-0/spelling-and-grammar-checking/user-interaction-editing-spellcheck.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/web-platform-tests/html/editing/editing-0/spelling-and-grammar-checking/user-interaction-editing-spellcheck.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/editing/editing-0/spelling-and-grammar-checking/user-interaction-editing-spellcheck.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/editing/editing-0/spelling-and-grammar-checking/user-interaction-editing-spellcheck.html
deleted file mode 100644
index 6647aa3b85f52c3cfd2dd17c68480f9aa0f82b0c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/editing/editing-0/spelling-and-grammar-checking/user-interaction-editing-spellcheck.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>Editing: spellcheck attribute test</title>
- <link rel="author" title="Baidu" href="mailto: guopengcheng@baidu.com"/>
- <link rel="help" href="https://html.spec.whatwg.org/multipage/#spelling-and-grammar-checking"/>
- <script src="../../../../../../resources/testharness.js"></script>
- <script src="../../../../../../resources/testharnessreport.js"></script>
- </head>
- <body>
- <div id="log"></div>
- <textarea id="testText1" spellcheck="true">Test textarea with spellcheck is true</textarea>
- <textarea id="testText2" spellcheck="false">Test textarea with spellcheck is false</textarea>
- <script type="text/javascript">
- test(function() {
- assert_true(document.getElementById("testText1").spellcheck, "check for testText1 spellcheck value");
- assert_false(document.getElementById("testText2").spellcheck, "check for testText2 spellcheck value");
- }, "Getting spellcheck IDL attribute");
- test(function() {
- var testElement = document.createElement("testElement");
- testElement.contentEditable = true;
- testElement.spellcheck = true;
- assert_true(testElement.spellcheck, "check for testElement.spellcheck value");
- assert_equals(testElement.getAttribute("spellcheck"), "true");
- }, "Setting spellcheck IDL attribute to true");
- test(function() {
- var testElement = document.createElement("testElement");
- testElement.contentEditable = true;
- testElement.spellcheck = false;
- assert_false(testElement.spellcheck, "check for testText2 spellcheck value");
- assert_equals(testElement.getAttribute("spellcheck"), "false");
- }, "Setting spellcheck IDL attribute to false");
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698