RFR: 8185831: Pseudo selectors do not appear to work in Node.lookupAll() [v12]

Sai Pradeep Dandem duke at openjdk.org
Mon Oct 30 01:16:58 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. So checking for "applies()" alone is not sufficient in lookup() method.
> 
> **Fix:**
> Included an extra check for the psuedo states to match.

Sai Pradeep Dandem has updated the pull request incrementally with one additional commit since the last revision:

  8185831: Changes to doc as per review comments

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1245/files
  - new: https://git.openjdk.org/jfx/pull/1245/files/cf92cecd..6cf88c91

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1245&range=11
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1245&range=10-11

  Stats: 11 lines in 1 file changed: 4 ins; 1 del; 6 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