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

Unified Diff: third_party/WebKit/LayoutTests/fast/hidpi/image-set-border-image-comparison-expected.html

Issue 1908463002: Modernize fast/hidpi layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add NeedsManualRebaseline Created 4 years, 8 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/hidpi/image-set-border-image-comparison-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/image-set-border-image-comparison-expected.html b/third_party/WebKit/LayoutTests/fast/hidpi/image-set-border-image-comparison-expected.html
index b65499dcf3a6be772425cfac2cd4565f076e1d5e..713a05bea0de0e6fc5eab73f1b9a7fd1c31d8f0d 100644
--- a/third_party/WebKit/LayoutTests/fast/hidpi/image-set-border-image-comparison-expected.html
+++ b/third_party/WebKit/LayoutTests/fast/hidpi/image-set-border-image-comparison-expected.html
@@ -1,49 +1,43 @@
-<html>
-<head>
+<!DOCTYPE html>
<script src="resources/srcset-helper.js"></script>
<style>
-div {
- box-sizing: border-box;
- width: 40px;
- height: 13px;
- border-style: solid;
-}
+ div {
+ box-sizing: border-box;
+ width: 40px;
+ height: 13px;
+ border-style: solid;
+ }
-.test1 {
- border-image-source: url('resources/Breakpoint-2x.png');
- border-image-slice: 6 14 6 6 fill;
- border-width: 3px 7px 3px 3px;
-}
+ .test1 {
+ border-image-source: url('resources/Breakpoint-2x.png');
+ border-image-slice: 6 14 6 6 fill;
+ border-width: 3px 7px 3px 3px;
+ }
-.test2 {
- border-image-source: url('resources/Breakpoint-2x.png');
- border-image-slice: 6 14 6 6 fill;
- border-width: 3px 7px 3px 3px;
-}
+ .test2 {
+ border-image-source: url('resources/Breakpoint-2x.png');
+ border-image-slice: 6 14 6 6 fill;
+ border-width: 3px 7px 3px 3px;
+ }
-.test3 {
- border-image: url('resources/Breakpoint.png') 3 7 3 3 fill / 3px 7px 3px 3px;
-}
+ .test3 {
+ border-image: url('resources/Breakpoint.png') 3 7 3 3 fill / 3px 7px 3px 3px;
+ }
-.test4 {
- border-image: url('resources/Breakpoint.png') 3 7 3 3 fill;
- border-width: 3px 7px 3px 3px;
-}
+ .test4 {
+ border-image: url('resources/Breakpoint.png') 3 7 3 3 fill;
+ border-width: 3px 7px 3px 3px;
+ }
-@media (-webkit-min-device-pixel-ratio: 2) {
- .test3, .test4 {
- border-image-source: url('resources/Breakpoint-2x.png');
- border-image-slice: 6 14 6 6 fill;
+ @media (-webkit-min-device-pixel-ratio: 2) {
+ .test3, .test4 {
+ border-image-source: url('resources/Breakpoint-2x.png');
+ border-image-slice: 6 14 6 6 fill;
+ }
}
-}
</style>
-</head>
-
-<body>
The first two tests should match the last two.<br><br>
<div class="test1"></div><br>
<div class="test2"></div><br>
<div class="test3"></div><br>
<div class="test4"></div><br>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698