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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/hidpi/image-set-border-image-button.html

Issue 1901103002: Compensate for source scaling in hidpi mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add DOCTYPE to added test. 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/hidpi/image-set-border-image-button-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>border-image with border-image-repeat in hidpi setting</title>
3 <script src="resources/srcset-helper.js"></script>
4 <!-- Mimicking hidpi border-image features from buttons in
5 ui/webui/resources/css/apps/common.css -->
6 <style>
7 div {
8 border-image-source: -webkit-image-set(
9 url(resources/black-blue-outline-6-px-square.png) 1x,
10 url(resources/black-blue-outline-12-px-square.png) 2x);
11 border-image-slice: 2 fill;
12 border-image-width: 2px;
13 border-image-repeat: repeat;
14 width: 100px;
15 height: 20px;
16 border-width: 2px;
17 border-style: solid;
18 }
19 </style>
20 <div></div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/hidpi/image-set-border-image-button-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698