Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/paint/caret/caret-subpixel.html |
| diff --git a/third_party/WebKit/LayoutTests/paint/caret/caret-subpixel.html b/third_party/WebKit/LayoutTests/paint/caret/caret-subpixel.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..64c44287fefda1307735acc8827e3b40ef2799b4 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/paint/caret/caret-subpixel.html |
| @@ -0,0 +1,7 @@ |
| +<!DOCTYPE html> |
| +<!-- Tests that carets are painted at pixel-snapped positions. If the caret is blurry, the test has failed. --> |
| +<input id="target" type="text" style="width:200.5px; text-align: right; padding-right: 19px"> |
| +<script> |
| +onload = () => target.focus(); |
|
Xianzhu
2016/09/06 18:42:27
Better to also test paint invalidation to ensure w
chrishtr
2016/09/06 19:00:37
Done.
|
| + |
| +</script> |