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

Side by Side Diff: LayoutTests/fast/block/line-layout/selection-highlight-overlap.html

Issue 1224933002: Combine outline and focus ring code paths (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix empty focus ring on Mac Created 5 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 | Annotate | Revision Log
OLDNEW
1 <style> 1 <style>
2 body { font-size: 64px; font-family: Ahem; color: transparent; } 2 body { font-size: 64px; font-family: Ahem; color: transparent; }
3 div { outline: 1px dashed green; } 3 div { outline: 1px dashed green; }
4 div::selection { background-color: rgba(0, 0, 255, .4); } 4 div::selection { background-color: rgba(0, 0, 255, .4); }
5 </style> 5 </style>
6 <div id="start" style="line-height: 30px;">queue theory</div> 6 <div id="start" style="line-height: 30px; outline: none">queue theory</div>
7 <div>problem</div> 7 <div>problem</div>
8 <div id="end" style="margin-top: -10px;">information</div> 8 <div id="end" style="margin-top: -10px;">information</div>
9 <script> 9 <script>
10 getSelection().setBaseAndExtent(document.getElementById("start").firstCh ild, 2, document.getElementById("end").firstChild, 4); 10 getSelection().setBaseAndExtent(document.getElementById("start").firstCh ild, 2, document.getElementById("end").firstChild, 4);
11 </script> 11 </script>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/block/line-layout/selection-highlight-overlap-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698