You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "Dennis Hendriks (Jira)" <ji...@apache.org> on 2024/08/01 13:50:00 UTC

[jira] [Commented] (BATIK-1368) CSS identifiers for vendor-specific extensions fail to parse

    [ https://issues.apache.org/jira/browse/BATIK-1368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17870198#comment-17870198 ] 

Dennis Hendriks commented on BATIK-1368:
----------------------------------------

Can a Batik develop confirm that this is a bug, and that it should be fixed? If so, I'd be willing to see investigate fixing this.

> CSS identifiers for vendor-specific extensions fail to parse
> ------------------------------------------------------------
>
>                 Key: BATIK-1368
>                 URL: https://issues.apache.org/jira/browse/BATIK-1368
>             Project: Batik
>          Issue Type: Bug
>          Components: CSS
>    Affects Versions: 1.17
>            Reporter: Dennis Hendriks
>            Priority: Major
>
> {code:xml}
> <svg xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" version="1.1" width="100" height="100">
>   <rect x="20" y="20" width="20" height="20" style="-a:1; fill: yellow;" />
> </svg>
> {code}
> The '-a' fails to parse as an identifier. As a result of this, the whole style of the 'rect' is not applied. Hence, the rectangle does not appear as yellow.
> CSS identifiers may start with a dash, see https://www.w3.org/TR/CSS2/syndata.html#vendor-keywords.
> Batik should properly parse such identifiers.
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org