OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 description('width and height attributes of HTMLInputElement.'); | 8 description('width and height attributes of HTMLInputElement.'); |
9 </script> | 9 </script> |
10 | 10 |
11 <p id="description"></p> | 11 <p id="description"></p> |
12 | 12 |
13 <div id="div1"> | 13 <div id="div1"> |
14 <input type="image" id="image1" src="resources/green.jpg" width="160" height
="80px"> | 14 <input type="image" id="image1" src="resources/green.jpg" width="160" height
="80px"> |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 button1.src = "resources/green.jpg"; | 146 button1.src = "resources/green.jpg"; |
147 shouldBe('button1.width,button1.height', '100,50'); | 147 shouldBe('button1.width,button1.height', '100,50'); |
148 button1.width = 60; | 148 button1.width = 60; |
149 button1.height = 40; | 149 button1.height = 40; |
150 shouldBe('button1.width,button1.height', '60,40'); | 150 shouldBe('button1.width,button1.height', '60,40'); |
151 | 151 |
152 var successfullyParsed = true; | 152 var successfullyParsed = true; |
153 </script> | 153 </script> |
154 </body> | 154 </body> |
155 </html> | 155 </html> |
OLD | NEW |