On Tue, 6 May 2025 15:14:05 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

>> Michael Strauß has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   improve synchronization in PreferenceProperties
>
> modules/javafx.graphics/src/test/java/test/javafx/css/CssParser_mediaQuery_Test.java
>  line 316:
> 
>> 314:     void invalidCombinationOfConjunctionAndNegationEvaluatesToFalse() {
>> 315:         Stylesheet stylesheet = new CssParser().parse("""
>> 316:             @media (prefers-reduced-motion: reduce) and not 
>> (prefers-color-scheme: dark) {
> 
> for my education, how can one express this logic?
> i.e. `prefers A and not B` ?

That would be `(prefers-A) and (not (prefers-B))`. A bit convoluted, but that's 
what the grammar says...

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1655#discussion_r2076097819

Reply via email to