| <!DOCTYPE html> |
| <script src="../../../resources/ahem.js"></script> |
| <script src="../resources/text-based-repaint.js"></script> |
| <script src="../../../paint/selection/resources/selection.js"></script> |
| <script> |
| // Selects two lines and expects a newline to be represented. |
| function repaintTest() { |
| selectRange(container, 0, container, 1); |
| }; |
| window.onload = runRepaintAndPixelTest; |
| </script> |
| <style> |
| div { |
| direction: rtl; |
| font-family: Ahem; |
| unicode-bidi: bidi-override; |
| width: 2em; |
| } |
| </style> |
| <div id="container"> |
| xx y |
| </div> |