Re: [csswg-drafts] [mediaqueries-5] Ability to detect a preference override being cleared (#13613)

Right, but you control both of those locations. Instead of directly setting the preference (and then relying on a UA-fired event to let you know something was set), you can just call a function to set the pref for you, which also updates the UI (possibly by firing a userspace event which both locations listen for).

(I certainly see the *utility* in having an event to respond to when the *override* value changes rather than the MQ value, but it *is* something you can solve yourself instead, unlike listening for the MQ value change.)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13613#issuecomment-4020702348 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 9 March 2026 02:32:22 UTC