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

Side by Side Diff: third_party/WebKit/Source/web/tests/data/composited_selection_bounds_basic.html

Issue 2201853002: Blink handle selection handle visibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 4 years, 2 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 <style> 1 <style>
2 @font-face { 2 @font-face {
3 font-family: ahem; 3 font-family: ahem;
4 src: url(Ahem.ttf); 4 src: url(Ahem.ttf);
5 } 5 }
6 * { 6 * {
7 font-family: ahem; 7 font-family: ahem;
8 } 8 }
9 </style> 9 </style>
10 <span id="text"> 10 <span id="text">
11 The quick brown fox jumped over the lazy dog. 11 The quick brown fox jumped over the lazy dog.
12 </span> 12 </span>
13 <script> 13 <script>
14 var range = document.createRange(); 14 var range = document.createRange();
15 var textNode = document.getElementById("text").firstChild; 15 var textNode = document.getElementById("text").firstChild;
16 range.setStart(textNode, 10); 16 range.setStart(textNode, 10);
17 range.setEnd(textNode, 25); 17 range.setEnd(textNode, 35);
18 document.getSelection().addRange(range); 18 document.getSelection().addRange(range);
19 19
20 window.expectedResult = [document, 68, 8, 68, 20, document, 248, 8, 248, 20] ; 20 window.expectedResult = [document, 68, 8, 68, 20, document, 368, 8, 368, 20] ;
21 </script> 21 </script>
22 22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698