Index: LayoutTests/paint/selection/invalidation-rect-excludes-newline-for-vertical.html |
diff --git a/LayoutTests/paint/selection/invalidation-rect-includes-newline.html b/LayoutTests/paint/selection/invalidation-rect-excludes-newline-for-vertical.html |
similarity index 65% |
copy from LayoutTests/paint/selection/invalidation-rect-includes-newline.html |
copy to LayoutTests/paint/selection/invalidation-rect-excludes-newline-for-vertical.html |
index 5fed1477371ba78d2bf051bfb4c9682d8a7330d8..658123ad49a791300d2b5eca3e9376c8aed682b3 100644 |
--- a/LayoutTests/paint/selection/invalidation-rect-includes-newline.html |
+++ b/LayoutTests/paint/selection/invalidation-rect-excludes-newline-for-vertical.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 horizontal text. |
function repaintTest() { |
selectRange(container, 0, container, 1); |
}; |
@@ -12,7 +13,8 @@ window.onload = runRepaintTest; |
<style> |
div { |
font-family: Ahem; |
- width: 2em; |
+ height: 2em; |
+ -webkit-writing-mode: vertical-lr; |
} |
</style> |
<div id="container"> |