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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/selection/text-selection-newline-br.html

Issue 1407003002: Don't widen selection paint rect for linebreaks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More test expectations. Created 5 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/ahem.js"></script> 2 <script src="../../resources/ahem.js"></script>
5 <script src="../../resources/run-after-layout-and-paint.js"></script> 3 <script src="../../resources/run-after-layout-and-paint.js"></script>
6 <script src="resources/selection.js"></script> 4 <script src="resources/selection.js"></script>
7 <style>
8 div {
9 font-family: Ahem;
10 }
11 </style>
12 </head>
13 <body onload="selectRangeAfterLayoutAndPaint(container, 0, container, 3);">
14 <!-- Two lines in one block explicitly wrapped with a br which should 5 <!-- Two lines in one block explicitly wrapped with a br which should
15 include space representing a newline at end of the first line. --> 6 include space representing a newline at end of the first line. -->
16 <div id="container"> 7 <div id="container" style="font-family: Ahem;">
17 a<br>b 8 a<br>b
18 </div> 9 </div>
19 </body> 10 <script>
11 onload = selectRangeAfterLayoutAndPaint(container, 0, container, 3);
12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698