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

Side by Side Diff: LayoutTests/fast/dom/shadow/shadowdom-for-input-type-change.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/shadowdom-for-input-file.html ('k') | LayoutTests/fast/dom/shadow/shadowdom-for-media.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698