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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-live-pseudo-selectors.html

Issue 1522803002: Move textarea-related tests to fast/forms/textarea/, part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@color-uaf
Patch Set: Created 5 years 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/textarea/textarea-live-pseudo-selectors.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/resources/textarea-live-pseudo-selectors.js b/third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-live-pseudo-selectors.html
similarity index 90%
rename from third_party/WebKit/LayoutTests/fast/forms/resources/textarea-live-pseudo-selectors.js
rename to third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-live-pseudo-selectors.html
index fa5a7f14c323e90c727354d7eed0f574f14684e6..35a4af8c97bd0131a37f0e0275fb922c8d5a5a1d 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/resources/textarea-live-pseudo-selectors.js
+++ b/third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-live-pseudo-selectors.html
@@ -1,3 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<link rel="stylesheet" href="../resources/live-pseudo-selectors.css">
+<script src="../../../resources/js-test.js"></script>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script>
description("This test performs a check that :valid/:invalid CSS psudo selectors are lively applied.");
// Setup for static elements.
@@ -101,3 +111,6 @@ el.maxLength = 5;
shouldBe(elBackground, 'invalidColor');
el.maxLength = 10;
shouldBe(elBackground, 'validColor');
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698