blob: 6d99400fa9095500173ab5b9fcc483b78aa7389e [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 1
PASS window.matchMedia("(hover: )").matches is false
PASS document.styleSheets[1].cssRules[0].media.length is 1
PASS window.matchMedia("(hover: WebKit)").matches is false
PASS document.styleSheets[1].cssRules[0].media.length is 1
PASS window.matchMedia("(hover: fine)").matches is false
PASS document.styleSheets[1].cssRules[0].media.length is 1
PASS window.matchMedia("(hover: portrait)").matches is false
PASS document.styleSheets[1].cssRules[0].media.length is 1
PASS window.matchMedia("(hover: \"None\")").matches is false
PASS document.styleSheets[1].cssRules[0].media.length is 1
PASS window.matchMedia("(hover: 'None')").matches is false
PASS document.styleSheets[1].cssRules[0].media.length is 1
PASS successfullyParsed is true
TEST COMPLETE