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

Side by Side Diff: LayoutTests/editing/caret/caret-height.html

Issue 376563003: Default caret size of the empty element should match the font size (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated TestExpectations Created 6 years, 5 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/editing/caret/caret-height-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <input id="line1" style="line-height: 1; font-size: 10;"/>
5 <input id="line2" style="line-height: 2; font-size: 10;">
6 <script src="../../resources/js-test.js"></script>
7 <script>
8 description('Tests whether explicitly set caret style is retained on perform ing text selection');
9 var input1 = document.getElementById('line1');
10 var input2 = document.getElementById('line2');
11 input1.focus();
12 var cursorLine1 = window.internals.absoluteCaretBounds(input1).height;
13 input2.focus();
14 var cursorLine2 = window.internals.absoluteCaretBounds(input2).height;
15 shouldBe('cursorLine1', 'cursorLine2');
16 </script>
17 </body>
18 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/editing/caret/caret-height-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698