RFR: 8267554: Support loading stylesheets from data-URIs [v6]
Ajit Ghaisas
aghaisas at openjdk.java.net
Fri Jun 25 12:17:04 UTC 2021
On Thu, 24 Jun 2021 23:24:43 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
>> This PR extends data URI support to allow stylesheets to be loaded from data URIs.
>
> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
>
> changes per review
Code changes are OK.
I found an Exception being logged from newly added test. Please check.
modules/javafx.graphics/src/test/java/test/com/sun/javafx/css/StyleManagerTest.java line 1171:
> 1169: assertEquals(Color.BLUE, rect.getFill());
> 1170: } finally {
> 1171: Application.setUserAgentStylesheet(uaStylesheet);
This line in `finally` block results in `ClassNotFoundException`
Run the tests as below to get the log-
`gradle --info :graphics:test &> test.log`
-------------
PR: https://git.openjdk.java.net/jfx/pull/536
More information about the openjfx-dev
mailing list