blob: a4b63860315be70ea63f1533e84af383b51e32fd [file] [log] [blame]
Tests null handling of several HTMLDocument attributes
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS htmlDocument.documentElement.getAttribute('dir') is null
PASS htmlDocument.body.getAttribute('bgColor') is null
PASS htmlDocument.body.getAttribute('text') is null
PASS htmlDocument.body.getAttribute('alink') is null
PASS htmlDocument.body.getAttribute('link') is null
PASS htmlDocument.body.getAttribute('vlink') is null
htmlDocument.dir = null
PASS htmlDocument.documentElement.getAttribute('dir') is "null"
htmlDocument.bgColor = null
PASS htmlDocument.body.getAttribute('bgColor') is ""
htmlDocument.bgColor = null
PASS htmlDocument.body.getAttribute('bgColor') is ""
htmlDocument.fgColor = null
PASS htmlDocument.body.getAttribute('text') is ""
htmlDocument.alinkColor = null
PASS htmlDocument.body.getAttribute('alink') is ""
htmlDocument.linkColor = null
PASS htmlDocument.body.getAttribute('link') is ""
htmlDocument.vlinkColor = null
PASS htmlDocument.body.getAttribute('vlink') is ""
PASS successfullyParsed is true
TEST COMPLETE