API REVIEW REQUEST: Public API for Backgrounds and Borders on Region

Richard Bair richard.bair at oracle.com
Mon Aug 27 10:28:26 PDT 2012

>> I think it would only be a two-valued enum, in which case what advantage does it have over a boolean? I believe that besides percentage, all other CSS values are reduced to an actual literal value in the end. Even "em" based computations are done by the CSS engine at the time that the value is looked up in the CSS engine.
> If there's going to be another one in future you could add it - not sure
> this is binary compatible and needed - but you are closing the door with
> this naming already a bit not?

I don't expect there to be one in the future, but as always you never know. In some places where it seemed reasonable that we might end up with a third state we have used an enum with only 2 values today, but in this case I don't expect there is any 3rd option. But you never know!


More information about the openjfx-dev mailing list