Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8093190

Rendering is disturbed by mouseover or focus move checkbox and radio of WebView

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u40
    • 8u20
    • javafx
    • None
    • Windows 7sp1

    • web

      Rendering is disturbed by mouseover or focus move checkbox and radio of WebView.
      This problem occurs in both the Caspian and Modena, Modena is terrible.

      test code:


      import javafx.application.Application;
      import javafx.scene.Scene;
      import javafx.scene.layout.StackPane;
      import javafx.scene.web.WebView;
      import javafx.stage.Stage;

      public class CheckboxRadioInputTagTest extends Application{

      @Override
      public void start(Stage stage) throws Exception {

      StackPane pane = new StackPane();
      WebView browser = new WebView();

      browser.getEngine().loadContent("<html><body>"
      + "<input type='checkbox' checked autofocus><br>"
      + "<input type='checkbox'><input type='checkbox'><br>"
      + "<input type='checkbox'><input type='checkbox'><input type='checkbox'><br>"
      + "<input type='checkbox'><input type='checkbox'><input type='checkbox'><input type='checkbox'><br>"
      + "<input type='checkbox'><input type='checkbox'><input type='checkbox'><input type='checkbox'><input type='checkbox'><br>"
      + "<input type='radio' name='r1'><br>"
      + "<input type='radio' name='r2'><input type='radio' name='r3'><br>"
      + "<input type='radio' name='r4'><input type='radio' name='r5'><input type='radio' name='r6'><br>"
      + "<input type='radio' name='r7'><input type='radio' name='r8'><input type='radio' name='r9'><input type='radio' name='r10'><br>"
      + "<input type='radio' name='r11'><input type='radio' name='r12'><input type='radio' name='r13'><input type='radio' name='r14'><input type='radio' name='r15'><br>"
      + "</body></html>");

      pane.getChildren().add(browser);
      Scene scene = new Scene(pane);
      stage.setScene(scene);
      stage.show();
      }

      public static void main(String[] args) {
      Application.setUserAgentStylesheet(STYLESHEET_MODENA);
      // Application.setUserAgentStylesheet(STYLESHEET_CASPIAN);
      CheckboxRadioInputTagTest.launch(args);
      }
      }

            ant Anton Tarasov (Inactive)
            nyoshimotjfx Naohiro Yoshimoto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: