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> |