`MediaQueryParser` currently parses query lists without a comma separator:

    @media (prefers-color-scheme: dark)
           (prefers-reduced-motion: reduce) {
        .foo { bar: baz; }
    }


The correct grammar requires commas between queries.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - MediaQueryParser should reject query lists without comma separator

Changes: https://git.openjdk.org/jfx/pull/2162/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2162&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8383783
  Stats: 59 lines in 2 files changed: 50 ins; 0 del; 9 mod
  Patch: https://git.openjdk.org/jfx/pull/2162.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/2162/head:pull/2162

PR: https://git.openjdk.org/jfx/pull/2162

Reply via email to