Fair enough.
The CSS Reference Guide says " While the JavaFX CSS parser will parse
valid CSS syntax, it is not a fully compliant CSS parser." Escaped
characters is a case in point.
On 5/10/17 11:10 AM, Doswald Michael wrote:
On 5/10/17 2:02 PM, David Grieve wrote:
Having an id with a dot i
On 5/10/17 2:02 PM, David Grieve wrote:
> Having an id with a dot is not valid CSS syntax.
>
> From the spec: " An ID selector contains a "number sign" (U+0023, #)
> immediately followed by the ID value, which must be an CSS identifiers."
>
> An identifier is defined here:
> https://www.w3.org/TR
Infact '#the.button1' means id = the, cssclass = button1
So it would match
Button b ...;
b.setId("the");
b.getClassNames().add("button1");
Tom
Von meinem iPhone gesendet
> Am 10.05.2017 um 16:02 schrieb David Grieve :
>
> Having an id with a dot is not valid CSS syntax.
>
> From the spec: "
Having an id with a dot is not valid CSS syntax.
From the spec: " An ID selector contains a "number sign" (U+0023, #)
immediately followed by the ID value, which must be an CSS identifiers."
An identifier is defined here:
https://www.w3.org/TR/CSS21/syndata.html#value-def-identifier. The tldr