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

WebView does not allow to load style sheet in modularized applications

    XMLWordPrintable

Details

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

    Description

      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


      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: