blob: 17d369cfc5d1ce251e1ca13991c73dec126c0767 [file] [log] [blame]
Test invalid input with the hover media feature.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS window.matchMedia("(hover:)").matches is false
PASS document.styleSheets[1].cssRules[0].media.length is 0
PASS window.matchMedia("(hover: )").matches is false
PASS document.styleSheets[1].cssRules[0].media.length is 0
PASS window.matchMedia("(hover: WebKit)").matches is false
PASS document.styleSheets[1].cssRules[0].media.length is 0
PASS window.matchMedia("(hover: fine)").matches is false
PASS document.styleSheets[1].cssRules[0].media.length is 0
PASS window.matchMedia("(hover: portrait)").matches is false
PASS document.styleSheets[1].cssRules[0].media.length is 0
PASS window.matchMedia("(hover: \"None\")").matches is false
PASS document.styleSheets[1].cssRules[0].media.length is 0
PASS window.matchMedia("(hover: 'None')").matches is false
PASS document.styleSheets[1].cssRules[0].media.length is 0
PASS successfullyParsed is true
TEST COMPLETE