123456789101112131415 |
- <!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>
|