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

Side by Side Diff: LayoutTests/fast/text/inline-block-in-selection-root.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="position: relative; font-family: monospace">
4 <div style="display: inline-block">inline block inside selection root</div>
5 </div>
6 <div id="end">xx</div>
7 <script>
8
9 var start = document.querySelector('#start'),
10 end = document.querySelector('#end');
11 getSelection().setBaseAndExtent(start.firstChild, 0, end.firstChild, 2);
12 focus();
13
14 </script>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/text/inline-block-in-selection-root-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698