Index: LayoutTests/paint/selection/invalidation-rect-excludes-newline-for-rtl.html |
diff --git a/LayoutTests/paint/selection/invalidation-rect-includes-newline.html b/LayoutTests/paint/selection/invalidation-rect-excludes-newline-for-rtl.html |
similarity index 67% |
copy from LayoutTests/paint/selection/invalidation-rect-includes-newline.html |
copy to LayoutTests/paint/selection/invalidation-rect-excludes-newline-for-rtl.html |
index 5fed1477371ba78d2bf051bfb4c9682d8a7330d8..753ace4d6c8d7a773ef8906fc399c4feafac9196 100644 |
--- a/LayoutTests/paint/selection/invalidation-rect-includes-newline.html |
+++ b/LayoutTests/paint/selection/invalidation-rect-excludes-newline-for-rtl.html |
@@ -3,7 +3,8 @@ |
<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
<script src="resources/selection.js"></script> |
<script> |
-// Selects two lines and expects a newline to be represented. |
+// Selects two lines and expects a newline to *not* be represented as newline |
+// highlight selection is currently only enabled for LTR text. |
function repaintTest() { |
selectRange(container, 0, container, 1); |
}; |
@@ -11,7 +12,9 @@ window.onload = runRepaintTest; |
</script> |
<style> |
div { |
+ direction: rtl; |
font-family: Ahem; |
+ unicode-bidi: bidi-override; |
width: 2em; |
} |
</style> |