OLD | NEW |
---|---|
1 <style> | 1 <style> |
2 @font-face { | 2 @font-face { |
3 font-family: ahem; | 3 font-family: ahem; |
4 src: url(Ahem.ttf); | 4 src: url(Ahem.ttf); |
5 } | 5 } |
6 * { | 6 * { |
7 font-family: ahem; | 7 font-family: ahem; |
8 margin: 0; | 8 margin: 0; |
9 padding: 0; | 9 padding: 0; |
10 } | 10 } |
11 .text { | |
flackr
2016/08/03 20:00:01
I think you meant #text
Stephen Chennney
2016/08/03 20:21:15
Yes. Done.
| |
12 background-color: transparent; /* Prevent scrolling layer promotion to i t's own layer */ | |
13 } | |
11 </style> | 14 </style> |
12 <textarea id="text"> | 15 <textarea id="text"> |
13 The quick brown fox jumped over the lazy dog. | 16 The quick brown fox jumped over the lazy dog. |
14 </textarea> | 17 </textarea> |
15 <script> | 18 <script> |
16 var textNode = document.getElementById("text"); | 19 var textNode = document.getElementById("text"); |
17 textNode.focus(); | 20 textNode.focus(); |
18 | 21 |
19 var expectEditable = true; | 22 var expectEditable = true; |
20 var expectEmptyTextFormControl = false; | 23 var expectEmptyTextFormControl = false; |
21 var yBottomEpsilon = 2; | 24 var yBottomEpsilon = 2; |
22 window.expectedResult = [document, 1, 1, 1, 14, document, 1, 1, 1, 14, expec tEditable, expectEmptyTextFormControl, yBottomEpsilon]; | 25 window.expectedResult = [document, 1, 1, 1, 14, document, 1, 1, 1, 14, expec tEditable, expectEmptyTextFormControl, yBottomEpsilon]; |
23 </script> | 26 </script> |
24 | 27 |
OLD | NEW |