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
should this malformed css fail? (it does not)
@media
{
.button { -fx-background-color: red; }
}
-------------
PR Comment: https://git.openjdk.org/jfx/pull/2162#issuecomment-4509950105