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

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: 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
OLDNEW
(Empty)
1 <title>border-image with border-image-repeat in hidpi setting</title>
fs 2016/04/19 14:59:34 Nit: Doctype? (I'm guessing this doesn't need quir
davve 2016/04/20 07:40:18 Doh! I copied another test in the directory to st
2 <script src="resources/srcset-helper.js"></script>
3 <!-- Mimicking hidpi border-image features from buttons in
4 ui/webui/resources/css/apps/common.css -->
5 <style>
6 div {
7 border-image-source: -webkit-image-set(
8 url(resources/black-blue-outline-6-px-square.png) 1x,
9 url(resources/black-blue-outline-12-px-square.png) 2x);
10 border-image-slice: 2 fill;
11 border-image-width: 2px;
12 border-image-repeat: repeat;
13 width: 100px;
14 height: 20px;
15 border-width: 2px;
16 border-style: solid;
17 }
18 </style>
19 <div></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698