On Mon, 17 Aug 2026 16:27:00 GMT, Andy Goryachev <[email protected]> wrote:

>> The {0, 0} is the valid range, we should not return empty array or null in 
>> any case.
>
> this exceptional case needs to be documented.

A brief note saying that `[0,0]` is returned in the case of null or empty might 
be helpful.

>> We do not pass any parameters to the VISIBLE_ITEM_RANGE property so the 
>> parameters list should be empty.
>
> what do you mean?
> 
> https://github.com/openjdk/jfx/pull/2217/changes#diff-bdee521c329d386e86fab0d6870c31750481dddb7cb5ca6aa65854948ca649f8R379
> 
> we must document the parameters (and exceptional cases like no visible range).

The parameters here are _input parameters_. As Alex says, there aren't any 
(unlike the `BOUNDS_FOR_RANGE` attribute where there are).

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2217#discussion_r3797370072
PR Review Comment: https://git.openjdk.org/jfx/pull/2217#discussion_r3797357766

Reply via email to