On Wed, 29 Jul 2026 22:33:26 GMT, Andy Goryachev <[email protected]> wrote:

> Explains the logic applied to font properties.
> 
> <img width="796" height="254" alt="suggestion 2026-07-29 at 15 26 19" 
> src="https://github.com/user-attachments/assets/542d46d1-1e24-495f-81c5-b07fdc0c05cd";
>  />
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Is this truly suffix based or does the base property have to be of type `Font` 
at least?

modules/javafx.graphics/src/main/docs/javafx/scene/doc-files/cssref.html line 
1427:

> 1425:     <h4><a id="fontprops">Font Properties</a></h4>
> 1426:     <p>Most classes that use text will support the following font 
> properties.</p>
> 1427:     <p>Additionally, any property whose suffix matches an entry in the 
> table below will be treated

Although the header does capture that this is about font properties, this still 
somehow reads to me as "any random property whose suffix ..." so suggestions:


Suggestion:

    <p>Additionally, any font property whose suffix matches an entry in the 
table below will be treated

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

PR Comment: https://git.openjdk.org/jfx/pull/2230#issuecomment-5130181517
PR Review Comment: https://git.openjdk.org/jfx/pull/2230#discussion_r3682255094

Reply via email to