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

Jim Graham james.graham at oracle.com
Mon Aug 27 16:08:12 PDT 2012

In other places we have 0->1 values being referred to as "proportional" 
- should that name be used here too?


On 8/27/12 10:28 AM, Richard Bair wrote:
>>> 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!
> Richard

More information about the openjfx-dev mailing list