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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/text/ellipsis-ltr-text-in-ltr-flow-underline-composition.html

Issue 2237043003: Paint underline correctly in mixed flow text contexts with truncation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@634445-2
Patch Set: Created 4 years, 4 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 div {
5 width: 125px;
6 height: 20px;
7 font: 12px;
8 overflow: hidden;
9 white-space: pre;
10 text-overflow: ellipsis;
11 direction: ltr;
12 }
13 </style>
14 <p>crbug.com/636060: Ltr text in a ltr flow should truncate the text left-to-rig ht and underline correctly in composition mode.</p>
15 <p>You should see an underline beneath the text.</p>
16 <div id="textarea" contenteditable="true"></div>
17 <script>
18 if (window.testRunner) {
19 var textarea = document.getElementById("textarea");
20 textarea.focus();
21 textInputController.setComposition("abcdefghijklmnopqrstuv");
22 }
23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698