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>
8 description('Tests whether explicitly set caret style is retained on performing text selection');
9 var input1 = document.getElementById('line1');
10 var input2 = document.getElementById('line2');
12 var cursorLine1 = window.internals.absoluteCaretBounds(input1).height;
14 var cursorLine2 = window.internals.absoluteCaretBounds(input2).height;
15 shouldBe('cursorLine1', 'cursorLine2');