Warning Could not resolve CSS
david.grieve at oracle.com
Fri Jun 27 19:38:13 UTC 2014
It looks like the messages are coming up after the welcome panel is
closed (after I hit 'open'). As a work-around, what if you removed the
table from the scene-graph when the 'open' is pressed?
I'll try to recreate the bug in a small app.
On 6/27/14, 2:47 PM, Jeff Martin wrote:
> Thanks for the note Dave - yes, I tried it this morning on 8u20b20, still no joy (I also see a big dirty rect problem in my WelcomePanel animation).
> You can see them both by running these commands on a Mac:
> prompt> curl -O http://reportmill.com/snap1/SnapCode1.jar.pack.gz
> prompt> unpack200 SnapCode1.jar.pack.gz SnapCode1.jar
> prompt> /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/java -jar SnapCode1.jar
> Then just create a new project and open it.
> If I remove the TableView from the WelcomePanel visible scenegraph, the warnings disappear. I'll keep looking into it.
> On Jun 27, 2014, at 12:08 PM, David Grieve <david.grieve at oracle.com> wrote:
>> Have you tried the 8u20 EA release?
>> This can happen if a node is having CSS applied before the root node of the scene has had CSS applied. This has been largely resolved in 8u20.
>> On 6/27/14, 12:19 PM, Jeff Martin wrote:
>>> Jira and the web at large are full of references to this warning (which seems to just be a nuisance):
>>> WARNING: Could not resolve '-fx-table-cell-border-color' while resolving lookups for '-fx-border-color' from rule '*.table-cell' in stylesheet
>>> Jun 27, 2014 11:11:48 AM javafx.scene.CssStyleHelper calculateValue
>>> I get dozens of these at startup. If anyone has any insight into what I might be doing to trigger these (or how to suppress them), I would appreciate it. I know I need to create a test case (and file a Jira if it persists), but my startup is a little hard to do that with (it's on my list).
More information about the openjfx-dev