Index: third_party/WebKit/LayoutTests/fast/hidpi/media-query-as-background-with-zoom.html |
diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/media-query-as-background-with-zoom.html b/third_party/WebKit/LayoutTests/fast/hidpi/media-query-as-background-with-zoom.html |
index 524b0568c19774023cc0d7b9b0a3bf55d66d8ef7..36de3e1721a4676e1be71d9414c5ef2a5fb518a8 100644 |
--- a/third_party/WebKit/LayoutTests/fast/hidpi/media-query-as-background-with-zoom.html |
+++ b/third_party/WebKit/LayoutTests/fast/hidpi/media-query-as-background-with-zoom.html |
@@ -1,31 +1,22 @@ |
-<html> |
+<!DOCTYPE html> |
<script src="../../resources/testharness.js"></script> |
<script src="../../resources/testharnessreport.js"></script> |
-<head> |
<style> |
- |
-@media only screen and (-webkit-min-device-pixel-ratio: 1.0) { |
- #foo { background-color: red; } |
-} |
- |
-@media only screen and (-webkit-min-device-pixel-ratio: 1.1) { |
- #foo { background-color: blue; } |
-} |
- |
+ @media only screen and (-webkit-min-device-pixel-ratio: 1.0) { |
+ #foo { background-color: red; } |
+ } |
+ @media only screen and (-webkit-min-device-pixel-ratio: 1.1) { |
+ #foo { background-color: blue; } |
+ } |
</style> |
-</head> |
-<body id="body"> |
- <div id=foo></div> |
-</body> |
+<div id=foo></div> |
<script> |
-if (window.eventSender) |
- window.eventSender.zoomPageIn(); |
- |
-test(function() { |
- var div = document.getElementById("foo"); |
- var computedStyle = window.getComputedStyle(div, null); |
- assert_equals(computedStyle.getPropertyValue('background-color'), |
- 'rgb(0, 0, 255)'); |
-}, "media query with zoom"); |
+ if (window.eventSender) |
+ window.eventSender.zoomPageIn(); |
+ test(function() { |
+ var div = document.getElementById("foo"); |
+ var computedStyle = window.getComputedStyle(div, null); |
+ assert_equals(computedStyle.getPropertyValue('background-color'), |
+ 'rgb(0, 0, 255)'); |
+ }, "media query with zoom"); |
</script> |
-</html> |