Index: LayoutTests/fast/regions/selecting-text-through-different-region-flows-2-expected.html |
diff --git a/LayoutTests/fast/regions/selecting-text-through-different-region-flows-expected.html b/LayoutTests/fast/regions/selecting-text-through-different-region-flows-2-expected.html |
similarity index 55% |
copy from LayoutTests/fast/regions/selecting-text-through-different-region-flows-expected.html |
copy to LayoutTests/fast/regions/selecting-text-through-different-region-flows-2-expected.html |
index 7eedf7cc6d0acace5326b8be1c9359a7d6b39fc2..b2aeb5e16aee420b152a35a189e30a13d53ac49a 100644 |
--- a/LayoutTests/fast/regions/selecting-text-through-different-region-flows-expected.html |
+++ b/LayoutTests/fast/regions/selecting-text-through-different-region-flows-2-expected.html |
@@ -5,16 +5,27 @@ |
body { width: 600px; } |
#footNote { font-size: 13px; } |
</style> |
+<script> |
+function selectText() |
+{ |
+ var selection = window.getSelection(); |
+ |
+ var start = document.getElementById("start"); |
+ var end = document.getElementById("end"); |
+ |
+ selection.setBaseAndExtent(start, 0, end, 0); |
+} |
+</script> |
</head> |
-<body> |
+<body onload="selectText()"> |
<div id="content"> |
<h1 style="margin-top: 0px">Selecting text through different CSS-Region flows</h1> |
<div> |
- This text contains a footnote as a nested region what is diplayed below the article. (1) If you start selecting |
+ This text contains a footnote as a nested region what is diplayed <span id="start">below<span> the article. (1) If you start selecting |
text from this article until somewhere in the footnote and then click somewhere, the selection should be cleared. |
</div> |
<div id="footNote">(1) This is a footnote. Footnotes can be quite long and go over several lines. This footnote |
- is nested inside the text above and displayed here with the help of css-regions.</div> |
+ is nested inside the text <span id="end">above<span> and displayed here with the help of css-regions.</span></div> |
</div> |
</body> |
</html> |