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

Unified Diff: third_party/WebKit/LayoutTests/fast/html/marquee-direction-attribute-should-be-case-insensitive.html

Issue 2674673005: Move tests for MARQUEE element to html/marquee/. (Closed)
Patch Set: Created 3 years, 11 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/html/marquee-direction-attribute-should-be-case-insensitive.html
diff --git a/third_party/WebKit/LayoutTests/fast/html/marquee-direction-attribute-should-be-case-insensitive.html b/third_party/WebKit/LayoutTests/fast/html/marquee-direction-attribute-should-be-case-insensitive.html
deleted file mode 100644
index aeafece26aec57eb9f334e19f3285c66b6d0eea0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/html/marquee-direction-attribute-should-be-case-insensitive.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<!DOCTYPE html>
-<marquee direction="DOwN">The text should move down.</marquee>
-<marquee direction="uP">The text should move up.</marquee>
-<marquee direction="RiGHt">The text should move right.</marquee>
-<marquee direction="leFT">The text should move left.</marquee>
-<script src="../../resources/js-test.js"></script>
-<script>
-var marquees = document.querySelectorAll('marquee');
-for (i = 0; i < marquees.length; ++i) {
- var marquee = marquees[i];
- var computedStyle = getComputedStyle(marquee);
- switch (marquee.getAttribute('direction').toLowerCase()) {
- case 'down':
- case 'up':
- shouldBeEqualToString("computedStyle.whiteSpace", "normal");
- break;
- case 'right':
- case 'left':
- default:
- shouldBeEqualToString("computedStyle.whiteSpace", "nowrap");
- }
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698