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="../../fast/js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <p id="description"></p> | 7 <p id="description"></p> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <script> | 9 <script> |
10 description('HTMLTextAreaElement.wrap reflects the wrap="" attribute.<br>It is n
ot "limited to only known values", and it is a DOMString attribute which means i
t just returns the content attributes\'s value directly.'); | 10 description('HTMLTextAreaElement.wrap reflects the wrap="" attribute.<br>It is n
ot "limited to only known values", and it is a DOMString attribute which means i
t just returns the content attributes\'s value directly.'); |
(...skipping 20 matching lines...) Expand all Loading... |
31 textArea.wrap = ""; | 31 textArea.wrap = ""; |
32 shouldBe('textArea.wrap', "''"); | 32 shouldBe('textArea.wrap', "''"); |
33 | 33 |
34 debug(''); | 34 debug(''); |
35 debug('Check if it sets warpAttr invaild value, should return foo.'); | 35 debug('Check if it sets warpAttr invaild value, should return foo.'); |
36 textArea.wrap = "foo"; | 36 textArea.wrap = "foo"; |
37 shouldBe('textArea.wrap', "'foo'"); | 37 shouldBe('textArea.wrap', "'foo'"); |
38 | 38 |
39 debug(''); | 39 debug(''); |
40 </script> | 40 </script> |
41 <script src="../../fast/js/resources/js-test-post.js"></script> | |
42 </body> | 41 </body> |
43 </html> | 42 </html> |
44 | 43 |
45 | 44 |
46 | 45 |
47 | 46 |
OLD | NEW |