RFR: 8185831: Psuedo selectors do not appear to work in Node.lookupAll()

Sai Pradeep Dandem duke at openjdk.org
Tue Sep 19 12:23:20 UTC 2023


**Issue:**
Using pseudo classes in programmatic query using Node.lookupAll() or Node.lookup() gives unexpected results.

**Cause:**
There is no check for checking the psuedo states matching in the applies() method of SimpleSelector.java.

**Fix:**
Included the check for the states for matching.

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

Commit messages:
 - 8185831: Psuedo selectors fix in lookup method

Changes: https://git.openjdk.org/jfx/pull/1245/files
 Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1245&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8185831
  Stats: 54 lines in 2 files changed: 40 ins; 0 del; 14 mod
  Patch: https://git.openjdk.org/jfx/pull/1245.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1245/head:pull/1245

PR: https://git.openjdk.org/jfx/pull/1245


More information about the openjfx-dev mailing list