JDK-8162977 : General sibling selector is broken for selected input boxes in WebView
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8u112,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-08-02
  • Updated: 2016-08-08
  • Resolved: 2016-08-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u112Fixed 9Fixed
Description
It seems like, that the "general sibling" css selector does not work in 
connection with the checked pseudo class in the Javafx WebView version
1.8.0_112_ea.

It does work in the build 1.8.0.91.
You can easily reproduce the bug by using the attached html file.


Comments
UR SQE OK to take in in PSU16_04 fix of a regression caused by WebKit update.
08-08-2016

Changeset: 94a99072db65 Author: mbilla Date: 2016-08-04 13:07 +0530 URL: http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/94a99072db65
04-08-2016

lgtm
04-08-2016

Btw, the patch was generated against an older 9-dev repo, so you will need to fix the path name to the file.
03-08-2016

+1
03-08-2016

webrev: http://cr.openjdk.java.net/~mbilla/8162977/webrev.00/
03-08-2016

We need to take the patch https://trac.webkit.org/changeset/189560. I applied this patch and tested in JDK 9 and this issue is resolved.
03-08-2016

Attached the html file to this JBS bug. I can reproduce this on JDK 9, too. Steps: 1. Load the attached html file in HelloWebView 2. Select the "none" radio button 3. BUG: red background should disappear, but does not 4. Check the "Fill headline background green if checked" checkbox 5. BUG: Green background should appear, but does not.
03-08-2016