- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
 - Date: Thu, 23 Aug 2018 20:48:37 +0000
 - To: public-houdini-archive@w3.org
 
Oh, hm, slight wrinkle in getting it to invoke the MQ-ish behavior. Can't just rely on not passing an element, because our *current* behavior for not passing the options bag at all (which has to be treated identically) is to *throw* when you can't convert, rather than relying on global information.
However, if I remove the default values from the dictionary listed up above, then I can test for presence/absence of the key, and use an explicit `{element: null}` as a signal to resolve based on global info like MQs do.  Leaving it out (or explicitly passing `{element:undefined}`) will leave us with the current behavior, where conversion just fails.
-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/798#issuecomment-415566132 using your GitHub account
Received on Thursday, 23 August 2018 20:48:38 UTC