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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/checkValidity-001.html

Issue 2210743002: Merge layout tests checkValidity-00n.html into one. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build HTML tree in each of tests Created 4 years, 4 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/fast/forms/checkValidity-001.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/checkValidity-001.html b/third_party/WebKit/LayoutTests/fast/forms/checkValidity-001.html
deleted file mode 100644
index 8a253f565daac25ce6ea4e2ed2ee2614e1d0f6b3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/checkValidity-001.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<form method="get">
-<fieldset name="victim"></fieldset>
-<fieldset name="victim"><input required></fieldset>
-<input name="victim" type="text" value="lorem ipsum"/>
-<button name="victim">lorem ipsum</button>
-<select name="victim"></select>
-<textarea name="victim"></textarea>
-<output name="victim"></output>
-<object name="victim"></object>
-<keygen name="victim"></keygen>
-</form>
-<div id="console"></div>
-<script>
-description("This test checks if checkValidity() returns correctly a true (meaning no error) result.");
-
-shouldBe('document.getElementsByTagName("fieldset")[0].checkValidity()', 'true');
-shouldBe('document.getElementsByTagName("fieldset")[1].checkValidity()', 'true');
-shouldBe('document.getElementsByTagName("input")[1].checkValidity()', 'true');
-shouldBe('document.getElementsByTagName("button")[0].checkValidity()', 'true');
-shouldBe('document.getElementsByTagName("select")[0].checkValidity()', 'true');
-shouldBe('document.getElementsByTagName("textarea")[0].checkValidity()', 'true');
-shouldBe('document.getElementsByTagName("output")[0].checkValidity()', 'true');
-shouldBe('document.getElementsByTagName("object")[0].checkValidity()', 'true');
-shouldBe('document.getElementsByTagName("keygen")[0].checkValidity()', 'true');
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698