On Thu, 21 May 2026 08:00:27 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).
>
> Michael Strauß has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   verify that malformed queries evaluate to false

Looks good.

I also checked the test coverage. New code is very well covered by all the 
tests.
<img width="798" height="65" alt="Image" 
src="https://github.com/user-attachments/assets/390ec2f8-9299-4807-8a5b-3fef97661a9a";
 />

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

Marked as reviewed by mhanl (Committer).

PR Review: https://git.openjdk.org/jfx/pull/2162#pullrequestreview-4357460871

Reply via email to