blob: fdd97901b5dcc580b02cc4b7f6d4c0e4845fa654 [file] [log] [blame]
Tests that the HTMLLinkElement.sizes setter updates the associated sizes attribute
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS link.sizes.__proto__ is DOMTokenList.prototype
link.sizes = '10x10 20x20'
PASS String(link.sizes) is "10x10 20x20"
PASS link.getAttribute('sizes') is "10x10 20x20"
link.sizes.add('30x30')
PASS String(link.sizes) is "10x10 20x20 30x30"
PASS link.getAttribute('sizes') is "10x10 20x20 30x30"
PASS successfullyParsed is true
TEST COMPLETE