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

[CSS] Using setUserAgentStylesheet() with @import syntax issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8u40
    • 8u40
    • javafx
    • JDK 8u40 b06

    Description

      Open and launch the test case attached (NB project).

      Click on the "setUserAgentStylesheet on Scene to Modena YellowOnBlack" button: the label on top becomes yellow, while it should stay red, because it was set to red at the USER (aka API) level.
      Same thing for the SubScene.

      Using Scene Builder, one can see (thanks to the CSS Analyzer) that the imported css are applied to the AUTHOR (aka stylesheet) level instead of the USER_AGENT level.

      Attachments

        Issue Links

          Activity

            People

              dgrieve David Grieve
              jcambon Jerome Cambon
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: