On Mon, 12 Oct 2026 21:31:06 GMT, Andy Goryachev <[email protected]> wrote:

>> +1 for another test!
>
> btw, will this scenario work if the css changes pseudostyle?

> > Well, you can `bind` a property... good luck setting it then.
> > Never quite understood why it was decided that in the CSS system, `set` and 
> > `bind` aren't the ultimate truth, but can be overridden by the users own 
> > stylesheet (but not the user agent stylesheet).
> > I mean `USER` in browser terminology means the browser user (browsers allow 
> > for stylesheets set directly by the end user, that fit between the browsers 
> > own default look (`USER_AGENT`) and the website developers look (`AUTHOR`).
> > However, in JavaFX, `USER` has been conflated with application developer... 
> > it should have been the end user.
> 
> 100% agree. This behavior is very confusing and feels just wrong.

There have been previous discussions on the mailing list and in JBS about the 
wrong ordering. Setting a property from the code should override CSS, but it's 
the other way around. In my opinion the ordering should be fixed, but it will 
break the current behavior.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2343#discussion_r4252569106

Reply via email to