Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/hidpi/image-set-border-image-button.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/image-set-border-image-button.html b/third_party/WebKit/LayoutTests/fast/hidpi/image-set-border-image-button.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0fcceedfcb7bef5f8e57536a9230835c0d20d4c3 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/hidpi/image-set-border-image-button.html |
| @@ -0,0 +1,19 @@ |
| +<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
|
| +<script src="resources/srcset-helper.js"></script> |
| +<!-- Mimicking hidpi border-image features from buttons in |
| + ui/webui/resources/css/apps/common.css --> |
| +<style> |
| +div { |
| + border-image-source: -webkit-image-set( |
| + url(resources/black-blue-outline-6-px-square.png) 1x, |
| + url(resources/black-blue-outline-12-px-square.png) 2x); |
| + border-image-slice: 2 fill; |
| + border-image-width: 2px; |
| + border-image-repeat: repeat; |
| + width: 100px; |
| + height: 20px; |
| + border-width: 2px; |
| + border-style: solid; |
| +} |
| +</style> |
| +<div></div> |