On Tue, 28 Nov 2023 21:53:19 GMT, Andy Goryachev <ango...@openjdk.org> wrote:
> > But I've already explained the rationale: a subclass **cannot** hide its > > inherited JavaFX properties. > > It can, but only from the CSS subsystem. Whether it makes sense or not is a > different topic, but it can - by not reporting it via getClassCssMetaData(); > > (verified by removing FONT styleable from TextArea (TextInputControl:1649) - > the user cannot change the font via CSS) Just because you can do something, doesn't mean you should. I agree with @mstr2 that we should specify the intended and current behavior, but I also agree with @andy-goryachev-oracle that it is out of scope for this enhancement. Please file a follow-up bug to update the spec. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1296#issuecomment-1830859350