RE: Structuring CSS Stylesheets

2016-08-16 Thread Daniel Glöckner
Hi, > -Original Message- > From: Kevin Rushforth [mailto:kevin.rushfo...@oracle.com] > Sent: Monday, August 15, 2016 6:02 PM > To: David Grieve > Cc: Daniel Glöckner; openjfx-dev@openjdk.java.net > Subject: Re: Structuring CSS Stylesheets > > One slight correct

Re: Structuring CSS Stylesheets

2016-08-15 Thread Kevin Rushforth
One slight correction on how to contribute below. David Grieve wrote: On 8/15/16 10:52 AM, Daniel Glöckner wrote: We found the culprits by patching the JRE, adding some statistics to SimpleSelector and CompoundSelector. I was wondering whether there are easier ways but anyway, it works ;)

Re: Structuring CSS Stylesheets

2016-08-15 Thread David Grieve
On 8/15/16 10:52 AM, Daniel Glöckner wrote: We found the culprits by patching the JRE, adding some statistics to SimpleSelector and CompoundSelector. I was wondering whether there are easier ways but anyway, it works ;) This sounds like some code that would be good to share with the

RE: Structuring CSS Stylesheets

2016-08-15 Thread Daniel Glöckner
Hi, Thanks a lot for your comments, David. > -Original Message- > From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf > Of David Grieve > Sent: Monday, August 15, 2016 4:35 PM > To: openjfx-dev@openjdk.java.net > Subject: Re: Structuri

Re: Structuring CSS Stylesheets

2016-08-15 Thread David Grieve
On 8/15/16 9:46 AM, Daniel Glöckner wrote: Hi, We recently came across a number of performance issues which were caused by our poor CSS. Our stylesheet contained too many selectors, specifically too many generic selectors targeting "common" JavaFX controls (.text, .label etc.). Make the

Structuring CSS Stylesheets

2016-08-15 Thread Daniel Glöckner
Hi, We recently came across a number of performance issues which were caused by our poor CSS. Our stylesheet contained too many selectors, specifically too many generic selectors targeting "common" JavaFX controls (.text, .label etc.). We found the culprits by patching the JRE, adding some