see inline

> can we create stylesheets programmatically without parsing (i.e. construct 
> the token tree directly)?

Maybe, but `Stylesheet` and its constituent classes really seem like
exposed implementation details of JavaFX. I would rather deprecate
their use and remove them from the public API eventually.

I did not mean a specific class, but a stylesheet in general.  I just think 
that there should be a way to construct a stylesheet in memory that does not 
require parsing, and ideally with an option to do a limited type check.  Unless 
it significantly increases the overall effort, in which case the app can go the 
usual route of generating a data url.



> what is the testing strategy?

I don't have anything in mind that goes beyond the usual testing that
we do for all enhancements.

Sorry for pointing out the obvious, the testing might represent overwhelming 
portion of the overall effort.  Not only we must ensure that any the legacy CSS 
continues to produce the same results, the new features work as expected, and 
all multiplied at least by 3 supported desktop platforms (or 5, if we count ios 
and android for mobile).

-andy

Reply via email to