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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 body { width: 600px; } 5 body { width: 600px; }
6 #footNote { font-size: 13px; } 6 #footNote { font-size: 13px; }
7 </style> 7 </style>
8 <script>
9 function selectText()
10 {
11 var selection = window.getSelection();
12
13 var start = document.getElementById("start");
14 var end = document.getElementById("end");
15
16 selection.setBaseAndExtent(start, 0, end, 0);
17 }
18 </script>
8 </head> 19 </head>
9 <body> 20 <body onload="selectText()">
10 <div id="content"> 21 <div id="content">
11 <h1 style="margin-top: 0px">Selecting text through different CSS-Region flow s</h1> 22 <h1 style="margin-top: 0px">Selecting text through different CSS-Region flow s</h1>
12 <div> 23 <div>
13 This text contains a footnote as a nested region what is diplayed below the article. (1) If you start selecting 24 This text contains a footnote as a nested region what is diplayed <span id=" start">below<span> the article. (1) If you start selecting
14 text from this article until somewhere in the footnote and then click so mewhere, the selection should be cleared. 25 text from this article until somewhere in the footnote and then click so mewhere, the selection should be cleared.
15 </div> 26 </div>
16 <div id="footNote">(1) This is a footnote. Footnotes can be quite long and g o over several lines. This footnote 27 <div id="footNote">(1) This is a footnote. Footnotes can be quite long and g o over several lines. This footnote
17 is nested inside the text above and displayed here with the help of css-regi ons.</div> 28 is nested inside the text <span id="end">above<span> and displayed here with the help of css-regions.</span></div>
18 </div> 29 </div>
19 </body> 30 </body>
20 </html> 31 </html>
OLDNEW
« 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