Index: LayoutTests/fast/regions/selection/selecting-text-ignoring-region-vert-rl-expected.html |
diff --git a/LayoutTests/fast/regions/selection/selecting-text-in-2-regions-vert-rl-expected.html b/LayoutTests/fast/regions/selection/selecting-text-ignoring-region-vert-rl-expected.html |
similarity index 55% |
copy from LayoutTests/fast/regions/selection/selecting-text-in-2-regions-vert-rl-expected.html |
copy to LayoutTests/fast/regions/selection/selecting-text-ignoring-region-vert-rl-expected.html |
index 1fcb381ba6a4627b0d99e77f52ed3436cb90b677..d0c5b67c923b8ce3ea825a252b448d3dbc8e8644 100644 |
--- a/LayoutTests/fast/regions/selection/selecting-text-in-2-regions-vert-rl-expected.html |
+++ b/LayoutTests/fast/regions/selection/selecting-text-ignoring-region-vert-rl-expected.html |
@@ -8,17 +8,21 @@ |
-webkit-writing-mode: vertical-rl; |
} |
- #region-1 { |
+ body { |
+ margin-right: 0; |
+ } |
+ |
+ #outside-1 { |
position: absolute; |
right: 0px; |
} |
- #region-2 { |
+ #outside-2 { |
position: absolute; |
right: 200px; |
} |
- #outside { |
+ #region { |
position: absolute; |
right: 100px; |
} |
@@ -32,24 +36,24 @@ |
onMouseUpLogSelection("selected-content"); |
</script> |
</head> |
-<body onload="selectContentByIdsVertical('word1', 'word2');" style="margin-right: 0;"> |
- <div id="region-1" class="greyBigBoxVertical"> |
+<body onload="selectContentByIdsVertical('word1', 'word2');"> |
+ <div id="region" class="greyBigBoxVertical"> |
inside region inside region inside region inside region |
- <span id="word1" class="token">word1</span> |
inside region inside region inside region inside region |
</div> |
- <div id="region-2" class="greyBigBoxVertical"> |
- inside region inside region inside region inside region |
- <span id="word2" class="token">word2</span> |
- inside region inside region inside region inside region |
+ <div id="outside-1" class="bigBoxVertical"> |
+ outside region outside region outside region outside region |
+ <span id="word1" class="token">word1</span> |
+ outside region outside region outside region outside region |
</div> |
- <div id="outside" class="bigBoxVertical"> |
+ <div id="outside-2" class="bigBoxVertical"> |
outside region outside region outside region outside region |
+ <span id="word2" class="token">word2</span> |
outside region outside region outside region outside region |
</div> |
<div id="description" class="descriptionVertical"> |
- <h1><a href="https://bugs.webkit.org/show_bug.cgi?id=121841">Bug #121841 - [CSS Regions] Layout Test for selecting text in 2 regions</a></h1> |
- <p>This test checks the selection in 2 regions. If you select from <span class="token">word1</span> to <span class="token">word2</span> you will see that "outside region" text is not highlighted and not included in the selected content.</p> |
+ <h1><a href="https://bugs.webkit.org/show_bug.cgi?id=122353">Bug #122353 - [CSS Regions] Layout Test for selecting text ignoring region content</a></h1> |
+ <p>This test checks the selection in 2 text wrapping a region. If you select from <span class="token">word1</span> to <span class="token">word2</span> you will see that "inside region" text is not highlighted and not included in the selected content (because of the content of the region is before the "outside region" element in the DOM).</p> |
<dl> |
<dt>Selected content:</dt> |
<dd id="selected-content"></dd> |