-
Enhancement
-
Resolution: Fixed
-
P3
-
8u40
In the case of SceneBuilder we need to aggregate several CSS files which are part of the FX runtime jar.
As an example the SB file "modena-touch-highContrast-blackOnWhite.css" would have as content:
@import “com/sun/javafx/scene/control/skin/modena/modena.css";
@import “com/sun/javafx/scene/control/skin/modena/touch.css";
@import “com/sun/javafx/scene/control/skin/modena/blackOnWhite.css”;
The problem is that these 3 FX runtime CSS files would be resolved from the SB CSS file: this has no chance to work unless they are copied into the SB JAR, which doesn't seem to be a good option.
The required tweak is a mechanism to resolve the URL given with an @import statement relative to the FX runtime JAR when the URL denotes an FX runtime CSS file.
- blocks
-
JDK-8098434 Group theme css in single css files
- Resolved
- is blocked by
-
JDK-8093532 [CSS] lexer should not consume @font-face and @import as one token
- Resolved
- relates to
-
JDK-8097832 [CSS] Changing user_agent stylesheet on scene or subscene
- Resolved
-
JDK-8096163 [CSS] NPE while processing a file with @import statement referring CSS files of jfxrt.jar
- Resolved
-
JDK-8096122 [CSS] Unable to get an effective import with a CSS file containing @import statements
- Closed
-
JDK-8097632 Create a unit test that compares SB copies of platform CSS files with the original one
- Closed