- From: Sam Sneddon via GitHub <sysbot+gh@w3.org>
- Date: Thu, 11 Aug 2022 17:55:03 +0000
- To: public-css-archive@w3.org
> Results in the value "unknown" for what? Does it make the `<media-feature>` unknown, or the closest parent `<media-condition>` unknown, or does it make the whole `<media-query>` unknown? Implementations currently differ here! To quote @mdubet in https://github.com/web-platform-tests/wpt/issues/35435: > ### Firefox Developer Edition (v104): > ``` > > window.matchMedia("(scan: foobar)") > > MediaQueryList { media: "not all", matches: false, onchange: null } > > > window.matchMedia("(foobar: none) or (color)") > > MediaQueryList { media: "not all", matches: false, onchange: null } > ``` > > ### In Chrome Canary: > ``` > > window.matchMedia("(scan: foobar)") > > MediaQueryList {media: '(scan: foobar)', matches: false, onchange: null} > > > window.matchMedia("(foobar: none) or (color)") > > MediaQueryList {media: '(foobar: none) or (color)', matches: true, onchange: null} > ``` -- GitHub Notification of comment by gsnedders Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7595#issuecomment-1212301853 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 11 August 2022 17:55:04 UTC