Dennis Hendriks created BATIK-1389:
--------------------------------------

             Summary: Batik's skipping of vendor-specific CSS properties is not 
standard-compliant
                 Key: BATIK-1389
                 URL: https://issues.apache.org/jira/browse/BATIK-1389
             Project: Batik
          Issue Type: Bug
          Components: CSS
            Reporter: Dennis Hendriks


Less than a week ago, in 
https://github.com/apache/xmlgraphics-batik/commit/8b21d8bad8e16c1b151f90f372c514e1a05dcdd3,
 a fix for BATIK-1368 and BATIK-1386 was added. However, the way 
vendor-specific CSS properties are ignored is not standard-compliant.

It simply detects properties starting with '-' and then an identifier 
character, ignoring all next characters after that until end of input or ';'. 
But, if there are any comments in the property (like just before or after the 
':', or between the value and '!important', etc, such a comment may include 
';'. Also, quoted values may include ';'. The vendor-specific CSS properties 
are thus parsed in a standard-compliant manner.

They should be parsed like any other property, but they can be ignored 
afterwards, by just not putting them in the mapping where they are stored or so.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to