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 bu...@apache.org on 2005/03/29 00:59:40 UTC

DO NOT REPLY [Bug 34213] New: - Precedence of !important declarations

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34213>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34213

           Summary: Precedence of !important declarations
           Product: Batik
           Version: 1.5
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS
        AssignedTo: batik-dev@xml.apache.org
        ReportedBy: bjoern@hoehrmann.de


Batik fails this test

<svg xmlns="http://www.w3.org/2000/svg" version="1.1">

  <style type="text/css">
    rect { fill: green !important; fill: red }
  </style>

  <rect id="test" fill="red" width="100" height="100" />

</svg>

ASV6 passes the test; !important declarations take precedence over unimportant 
ones, see http://www.w3.org/TR/CSS21/cascade.html#important-rules

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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