blob: 7fd057b916ddabc6a7fd2fd65ca4049806e33950 [file] [log] [blame]
Test the any-hover media feature with machMedia.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
window.matchMedia("(any-hover)").matches = false
window.matchMedia("(any-hover: hover)").matches = false
window.matchMedia("(any-hover: on-demand)").matches = false
window.matchMedia("(any-hover: none)").matches = true
window.matchMedia("(any-hover: Hover)").matches = false
window.matchMedia("(any-hover: On-demand)").matches = false
window.matchMedia("(any-hover: None)").matches = true
window.matchMedia("(Any-Hover: hover)").matches = false
window.matchMedia("(Any-Hover: on-demand)").matches = false
window.matchMedia("(Any-Hover: none)").matches = true
PASS successfullyParsed is true
TEST COMPLETE