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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl.html

Issue 2266733002: Select mixed rtl-ltr correctly when an ellipsis is present (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bug 634445-selection Created 4 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
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 direction: rtl;
15 }
16 </style>
17 <p>crbug.com/634445: Select all text in mixed ltr-rtl in rtl flow.</p>
18 <dl>
19 <dd id="selection_with_ellipsis">Lorem לורם איפסום הוא כינוי לטקסט חסר משמעו ת לחלוטין </dd>
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, s election_with_ellipsis.firstChild, 155);
25 }, true);
26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698