On Mon, 12 Oct 2026 21:25:00 GMT, Andy Goryachev <[email protected]> wrote:
>>> the question was around the property being reported as non-settable >>> **temporarily** >> >> No, valid question really. I hope I answered it before. Actually lets >> express this in a test: >> >> >> root.applyCss(); >> >> assertEquals(0.5, node.getOpacity()); >> >> node.opacityProperty().bind(new SimpleDoubleProperty(0.2)); >> assertEquals(0.2, node.getOpacity()); >> root.applyCss(); >> assertEquals(0.2, node.getOpacity()); >> >> node.opacityProperty().unbind(); >> assertEquals(0.2, node.getOpacity()); >> >> root.applyCss(); >> assertEquals(0.5, node.getOpacity()); >> >> >> It is a similar behavior as when I call `set`, that is, it will recover the >> next CSS pass where the property can be set again. When it is bound, nothing >> happens. > > +1 for another test! btw, will this scenario work if the css changes pseudostyle? ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/2343#discussion_r4252503081
