Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
The CSS spec says: "The presence of the keyword "not" at the beginning of the query will negate the result. I.e., if the Media Query had been true without the "not" keyword it will become false, and vice versa."
Create a media query block with the following query: @media not screen and (application-dpi: 160), (application-dpi: 240). Run this on a 240dpi device.
Actual Results:
This query evaluates to false on a 160dpi device but true on a 240dpi device. This is incorrect based on my interpretation of the spec.
Expected Results:
The entire query should be negated, so an otherwise positive result for 240dpi should be negative.
Workaround (if any):