New CSS parser for JavaFX
Andy Goryachev
andy.goryachev at oracle.com
Mon Aug 26 17:24:26 UTC 2024
Michael:
This might be a good idea. A few questions:
* can we create stylesheets programmatically without parsing (i.e. construct the token tree directly)?
* would it be possible to add a diagnostic (at the moment of applyCSS()) to show the actual rule(s) being used?
* are we going to track the evolution of https://www.w3.org/TR/css-syntax-3/ "spec"?
* are we going to clarify the w3 "spec" (what is the value of "EOF code point"?)?
* are there incompatibilities between web-style CSS and FX-style CSS?
* what is the testing strategy?
Thank you
-andy
From: openjfx-dev <openjfx-dev-retn at openjdk.org> on behalf of Michael Strauß <michaelstrau2 at gmail.com>
Date: Sunday, August 25, 2024 at 20:45
To: openjfx-dev <openjfx-dev at openjdk.org>
Subject: New CSS parser for JavaFX
I've written up a proposal to implement a new CSS parser for JavaFX:
https://gist.github.com/mstr2/f416996caf48e11193f0b6a5883a3926
The goal is not add new features at this point, but to resolve some
long-standing issues with the existing CSS parsing (though if you read
carefully, you might spot a new feature).
I'm interested in your opinion whether this is a good idea to move forward.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20240826/f08ba67b/attachment-0001.htm>
More information about the openjfx-dev
mailing list