modules/graphics/src/main/docs/javafx/scene/doc-files/cssref.html
Print this page
rev 9240 : 8076423: JEP 253: Prepare JavaFX UI Controls & CSS APIs for Modularization
@@ -694,11 +694,11 @@
<h3><a name="introparserwarnings" id="introparserwarnings">Understanding
Parser Warnings</a></h3>
<p>When the JavaFX CSS parser encounters a syntax error, a warning message
is emitted which conveys as much information as is available to help
resolve the error. For example </p>
- <p class="example"> WARNING: com.sun.javafx.css.parser.CSSParser declaration
+ <p class="example"> WARNING: javafx.css.CssParser declaration
Expected '<percent>' while parsing '-fx-background-color' at ?[1,49]
</p>
<p>The cryptic '<span class="p example">?[1,49]</span>' pertains to the
location of the error. The format of the location string is </p>
<p class="grammar"><url>[line, position]</p>
@@ -707,12 +707,11 @@
given as a question mark. The line and position give an offset into the
file or string where the token begins. <em>Please note that the line and
position may not be accurate in releases prior to JavaFX 2.2.</em><br>
</p>
<p>Applications needing to detect errors from the parser can add a listener
- to the errors property of com.sun.javafx.css.StyleManager. This is not
- public API and is subject to change. <br>
+ to the errors property of javafx.css.CssParser. <br>
</p>
<h3><a name="introlimitations" id="introlimitations">Limitations</a></h3>
<ol>
<li> While the JavaFX CSS parser will parse valid CSS syntax, it is not a
fully compliant CSS parser. One should not expect the parser to handle