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

WebView does not allow to load style sheet in modularized applications

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx16
    • jfx15
    • javafx
    • web
    • x86_64
    • windows_10

      A DESCRIPTION OF THE PROBLEM :
      If you invoke `setUserStyleSheetLocation` with a stylesheet in the same Java module you get a IllegalArgumentException "Invalid stylesheet URL" because the URL then starts with `jrt:`.


      CUSTOMER SUBMITTED WORKAROUND :
      Fix provided at https://github.com/openjdk/jfx/pull/22

      FREQUENCY : always


            kcr Kevin Rushforth
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: