зеркало из https://github.com/mozilla/gecko-dev.git
3353a9c0e3
The values in the boolean context depend on its feature. For examples, in the case of prefers-reduced-motion 'no-preference' means false and 'reduced' mean true in the boolean context, whereas in the case of prefers-contrast 'no-preference' means false and other two values, 'high' and 'low' means true in the boolean context. To support it we introduce a child struct of nsCSSKTableEntry that has an additional field representing the value in the boolean context and use it when we have no specified value in the media feature (i.e. in the boolean context). MozReview-Commit-ID: 79HiW8l5ous |
||
---|---|---|
.. | ||
components | ||
ports/geckolib | ||
support/gecko/nsstring | ||
tests/unit | ||
moz.build |