On Thu, 21 May 2026 19:58:06 GMT, Michael Strauß <[email protected]> wrote:
>> modules/javafx.graphics/src/main/docs/javafx/scene/doc-files/cssref.html >> line 1046: >> >>> 1044: <td>Evaluates to <code>true</code> if >>> <code>Platform.isSupported(ConditionalFeature)</code> returns >>> 1045: <code>true</code> for the specified conditional >>> feature.<br>This media feature cannot be >>> 1046: evaluated in a boolean context.</td> >> >> Could you please explain in more easily understandable terms that the >> "boolean context" means? Assume the reader is trying to use it for the >> first time. >> >> Especially confusing because `isSupported` is a boolean... > > I've added a link to the paragraph "Evaluating Media Features in a Boolean > Context" which appears a bit earlier in the document. perfect, thanks! ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/2161#discussion_r3284372551
