| Index: third_party/WebKit/LayoutTests/paint/invalidation/caret-subpixel.html
|
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/caret-subpixel.html b/third_party/WebKit/LayoutTests/paint/invalidation/caret-subpixel.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..786f202b0db59986fb052dd3af88d5cbbc24df31
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/caret-subpixel.html
|
| @@ -0,0 +1,15 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +#target:focus {
|
| + outline:none;
|
| +}
|
| +</style>
|
| +<script src="resources/text-based-repaint.js"></script>
|
| +<!-- 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>
|
| +function repaintTest() {
|
| + target.focus();
|
| +}
|
| +onload = runRepaintAndPixelTest;
|
| +</script>
|
|
|