Re: [csswg-drafts] [mediaqueries] Improve definition of evaluating media features in boolean context (#8050)

After some discussion, I've concluded:
1. I misunderstood the spec completely before. (Please make it clearer! 😅)
2. The spec roughly means "True unless it's a falsey value like 0 or a defined false keyword.", like cdoublev says.
3. The dynamic-range test is wrong, and based on emilio misunderstanding the spec in the same way I did when updating it [here](https://github.com/web-platform-tests/wpt/commit/705e988fab93a680498c201ac48763da933d3f12) `@media (dynamic-range)` should actually always evaluate to true.

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


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

Received on Thursday, 22 May 2025 13:50:54 UTC