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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/text/selection-rect-rounding.html

Issue 2967973002: Select exact nodes in fast/text/selection-*.html (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/text/selection-rect-line-height-too-small.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <style> 1 <style>
2 div::selection { background-color: green; } 2 div::selection { background-color: green; }
3 </style> 3 </style>
4 <div id="target" style="font: 11px 'lucida grande'; color: transparent; width: 1 00px; overflow: hidden;">i x m n o p q r s t u v w x y z i x m n o p q r s t u v w x y z i x m n o p q r s t u v w x y z i x m n o p q r s t u v w x y z i x m n o p q r s t u v w x y z i x m n o p q r s t u </div> 4 <div id="target" style="font: 11px 'lucida grande'; color: transparent; width: 1 00px; overflow: hidden;">i x m n o p q r s t u v w x y z i x m n o p q r s t u v w x y z i x m n o p q r s t u v w x y z i x m n o p q r s t u v w x y z i x m n o p q r s t u v w x y z i x m n o p q r s t u </div>
5 <script> 5 <script>
6 getSelection().setBaseAndExtent(target, 0, target, 1); 6 getSelection().setBaseAndExtent(target.firstChild, 0, target.firstChild, tar get.firstChild.length - 2);
7 </script> 7 </script>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/text/selection-rect-line-height-too-small.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698