Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-26541

Presence of the "not" keyword should negate the entire media query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • Mobile: Density
    • 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):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: