Index: LayoutTests/paint/selection/text-selection-newline-vertical.html |
diff --git a/LayoutTests/paint/selection/text-selection-newline.html b/LayoutTests/paint/selection/text-selection-newline-vertical.html |
similarity index 56% |
copy from LayoutTests/paint/selection/text-selection-newline.html |
copy to LayoutTests/paint/selection/text-selection-newline-vertical.html |
index 200a49ece6cb4bd3863a8c5f2b9a31b0afe5b75f..bffaabd9770bf57f3e32a2b9c2da94c70f732408 100644 |
--- a/LayoutTests/paint/selection/text-selection-newline.html |
+++ b/LayoutTests/paint/selection/text-selection-newline-vertical.html |
@@ -7,13 +7,15 @@ |
<style> |
div { |
font-family: Ahem; |
- width: 2em; |
+ height: 2em; |
+ -webkit-writing-mode: vertical-lr; |
} |
</style> |
</head> |
<body onload="selectRange(container, 0, container, 1);"> |
-<!-- Two lines in one block which should wrap and include space representing |
- a newline only at the end of the first line. --> |
+<!-- Two lines in one block which should wrap and *not* include space representing |
+ a newline at the end of the first line, since newline selection highlighting |
+ is currently only enabled for horizontal text. --> |
<div id="container"> |
xx y |
</div> |