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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping.html

Issue 2594983002: Don't paint underline or selections over ellipsis in mixed-flow contexts (Closed)
Patch Set: bug 642454 Created 3 years, 11 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
(Empty)
1 <!DOCTYPE html>
2 <meta charset=utf-8>
3 <style>
4 dl {
5 max-width: 20em;
6 margin: auto;
7 font-size: 120%;
8 white-space: nowrap;
9 }
10 dd {
11 overflow: hidden;
12 text-overflow: ellipsis;
13 text-decoration: inherit;
14 }
15 </style>
16 <p>crbug.com/642454: Don't select part of the ellipsis when wrapping selection.< /p>
17 <dl>
18 <dd id="selection_with_ellipsis">Lorem ipsum dolor sit amet, consetetur sadi pscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna a liquyam erat, sed diam voluptua.</dd>
19 <dt id="wrapped">Lorem ipsum dolor sit amet</dt>
20 </dl>
21 <script src="../../resources/run-after-layout-and-paint.js"></script>
22 <script>
23 runAfterLayoutAndPaint(function() {
24 getSelection().setBaseAndExtent(selection_with_ellipsis.firstChild, 0, w rapped.firstChild, 10);
25 }, true);
26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698