| Index: LayoutTests/fast/regions/selection/selecting-text-in-2-regions-vert-lr-expected.html
|
| diff --git a/LayoutTests/fast/regions/selection/selecting-text-in-2-regions-vert-lr-expected.html b/LayoutTests/fast/regions/selection/selecting-text-in-2-regions-vert-lr-expected.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2bfac31bafdd818dcf1a72c50e4305cd95953a09
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/regions/selection/selecting-text-in-2-regions-vert-lr-expected.html
|
| @@ -0,0 +1,59 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| + <script src="../resources/helper.js"></script>
|
| + <link rel="stylesheet" href="../resources/region-style.css"></link>
|
| + <style>
|
| + html {
|
| + -webkit-writing-mode: vertical-lr;
|
| + }
|
| +
|
| + #region-1 {
|
| + position: absolute;
|
| + left: 0px;
|
| + }
|
| +
|
| + #region-2 {
|
| + position: absolute;
|
| + left: 200px;
|
| + }
|
| +
|
| + #outside {
|
| + position: absolute;
|
| + left: 100px;
|
| + }
|
| +
|
| + #description {
|
| + position: absolute;
|
| + left: 300px;
|
| + }
|
| + </style>
|
| + <script>
|
| + onMouseUpLogSelection("selected-content");
|
| + </script>
|
| +</head>
|
| +<body onload="selectContentByIdsVertical('word1', 'word2');" style="margin-left: 0;">
|
| + <div id="region-1" 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>
|
| + <div id="outside" class="bigBoxVertical">
|
| + outside region outside region outside region outside region
|
| + 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>
|
| + <dl>
|
| + <dt>Selected content:</dt>
|
| + <dd id="selected-content"></dd>
|
| + </dl>
|
| + </div>
|
| +</body>
|
| +</html>
|
|
|