| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <body> | 2 <body> |
| 3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../js/resources/js-test-pre.js"></script> |
| 4 <style> | 4 <style> |
| 5 input, input[type="datetime-local"] { | 5 input, input[type="datetime-local"] { |
| 6 padding: 0; | 6 padding: 0; |
| 7 border: none; | 7 border: none; |
| 8 display: inilne-block; | 8 display: inilne-block; |
| 9 font-family: monospace; | 9 font-family: monospace; |
| 10 } | 10 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 root.innerHTML = '<span>a</span>'; | 21 root.innerHTML = '<span>a</span>'; |
| 22 var widthWithShadow = input1.offsetWidth; | 22 var widthWithShadow = input1.offsetWidth; |
| 23 shouldNotBe('widthWithShadow', 'initialWidth'); | 23 shouldNotBe('widthWithShadow', 'initialWidth'); |
| 24 | 24 |
| 25 shouldBe('input1.type = "hidden"; input1.offsetWidth', '0'); | 25 shouldBe('input1.type = "hidden"; input1.offsetWidth', '0'); |
| 26 shouldBe('input1.type = "datetime-local"; input1.offsetWidth', 'widthWithShadow'
); | 26 shouldBe('input1.type = "datetime-local"; input1.offsetWidth', 'widthWithShadow'
); |
| 27 shouldBeEqualToString('input1.type = "range"; input1.value', '50'); | 27 shouldBeEqualToString('input1.type = "range"; input1.value', '50'); |
| 28 input1.focus(); | 28 input1.focus(); |
| 29 shouldBeEqualToString('eventSender.keyDown("rightArrow"); input1.value', '50'); | 29 shouldBeEqualToString('eventSender.keyDown("rightArrow"); input1.value', '50'); |
| 30 </script> | 30 </script> |
| 31 <script src="../../js/resources/js-test-post.js"></script> | |
| 32 </body> | 31 </body> |
| OLD | NEW |