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

Side by Side Diff: LayoutTests/fast/text/inline-block-in-selection-root-expected.html

Issue 331373006: Make inline blocks correctly update their line box selection state. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
(Empty)
1 <!DOCTYPE html>
2 <div id="start">xx</div>
3 <div style="font-family: monospace">inline block inside selection root</div>
4 <div id="end">xx</div>
5 <script>
6
7 var start = document.querySelector('#start'),
8 end = document.querySelector('#end');
9 getSelection().setBaseAndExtent(start.firstChild, 0, end.firstChild, 2);
10 focus();
11
12 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/text/inline-block-in-selection-root.html ('k') | Source/core/rendering/RenderBlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698