OLD | NEW |
| (Empty) |
1 HTMLTextAreaElement.wrap reflects the wrap="" attribute. | |
2 It is not "limited to only known values", and it is a DOMString attribute which
means it just returns the content attributes's value directly. | |
3 | |
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
5 | |
6 | |
7 If wrap attribute is not specified it sould be empty String. | |
8 PASS textArea.wrap is '' | |
9 | |
10 Check if it sets warpAttr value hard, should return hard. | |
11 PASS textArea.wrap is 'hard' | |
12 | |
13 Check if it sets warpAttr value as soft, should return soft. | |
14 PASS textArea.wrap is 'soft' | |
15 | |
16 Check if warpAttr present but no keyVal specified, should return empty String. | |
17 PASS textArea.wrap is '' | |
18 | |
19 Check if it sets warpAttr invaild value, should return foo. | |
20 PASS textArea.wrap is 'foo' | |
21 | |
22 PASS successfullyParsed is true | |
23 | |
24 TEST COMPLETE | |
25 | |
OLD | NEW |