Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(596)

Unified Diff: LayoutTests/fast/regions/selecting-text-through-different-region-flows-2-expected.html

Issue 23674007: [CSSRegions] Not possible to clear the selection when mixing content from different FlowThreads (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
« no previous file with comments | « LayoutTests/fast/regions/selecting-text-through-different-region-flows-2.html ('k') | Source/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698