blob: b961cc62d8648c20140c79936ebfde57eda4da97 [file] [log] [blame]
Test the any-pointer media feature with machMedia.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
window.matchMedia("(any-pointer)").matches = true
window.matchMedia("(any-pointer: fine)").matches = true
window.matchMedia("(any-pointer: coarse)").matches = false
window.matchMedia("(any-pointer: none)").matches = false
window.matchMedia("(any-pointer: Fine)").matches = true
window.matchMedia("(any-pointer: Coarse)").matches = false
window.matchMedia("(any-pointer: None)").matches = false
window.matchMedia("(Any-Pointer: fine)").matches = true
window.matchMedia("(Any-Pointer: coarse)").matches = false
window.matchMedia("(Any-Pointer: none)").matches = false
PASS successfullyParsed is true
TEST COMPLETE