On Thu, 23 Jul 2026 23:29:47 GMT, John Hendrikx <[email protected]> wrote:
> if (selector instanceof SimpleSelector simple) {
> if (simple.getNodeOrientation() != INHERIT) {
> nPseudoClasses += 1;
> }
> }
> specificity = (idCount << 8) | (styleClassCount << 4) |
> nPseudoClasses;
Good catch! Thats an odd check. Together with:
https://github.com/openjdk/jfx/blob/1e7e7d03e85f9aa3bca97f4e6ec64deaf9c0bdf6/modules/javafx.graphics/src/main/java/com/sun/javafx/css/SimpleSelector.java#L243-L246
this gives us the full picture. Unrelated to this PR, but very weird.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/2213#issuecomment-5067627400