Menu

#88 CSS parser is returning an error for #RGBA and #RRGGBBAA hex color values

0.9.28
open
nobody
None
1
2020-03-20
2020-03-20
No

Hi,

I'm not sure if this is a valid bug ticket as I don't know if it is officially supported by CSS 3 but the CSSOMParser is returning an error for #RGBA and #RRGGBBAA hex color values.
I tried to parse the css like shown below where "cssFile" is the String containing the attached css.

final InputSource source = new InputSource( new StringReader( cssFile ) );
final CSSOMParser parser = new CSSOMParser( new SACParserCSS3() );
parser.parseStyleSheet( source, null, null );

Is there a workaround or is this just not supported?

1 Attachments

Discussion

Anonymous
Anonymous

Add attachments
Cancel