On Sun, 3 May 2026 07:08:18 GMT, Michael Strauß <[email protected]> wrote:
> `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).
This pull request has now been integrated.
Changeset: 6981fb49
Author: Michael Strauß <[email protected]>
URL:
https://git.openjdk.org/jfx/commit/6981fb4957e7aac2fbe262ebbe3512505a6805c2
Stats: 145 lines in 2 files changed: 135 ins; 0 del; 10 mod
8383783: MediaQueryParser should reject query lists without comma separator
Reviewed-by: angorya, mhanl
-------------
PR: https://git.openjdk.org/jfx/pull/2162