https://bugzilla.wikimedia.org/show_bug.cgi?id=24000

Marcin Cieślak <marcin.cies...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marcin.cies...@gmail.com

--- Comment #5 from Marcin Cieślak <marcin.cies...@gmail.com> 2010-06-16 
16:21:47 UTC ---
Seems like both cascading order
(http://www.w3.org/TR/CSS2/cascade.html#cascading-order) and specificity
(http://www.w3.org/TR/CSS2/cascade.html#specificity) rules are broken.

You have an author-specified rule:

#Biala_Krakowska { fill: #ff7e00 !important; }

in the local stylesheet that does not take precendence over author-specified
normal rule in style="" attribute. 

I have uploaded a different version
(http://upload.wikimedia.org/wikipedia/commons/archive/c/cd/20100616150857%21Bielsko-Bia%C5%82a%2C_Bia%C5%82a_Krakowska.svg)
where style="" atributes are replaced with classes and where path#id CSS rule
should take preference over path.class. However, it does not happen in the
older versions of librsvg2 (I'm using 2.22.3 that exhibits similar problem to
Wikimedia's). 

http://git.gnome.org/browse/librsvg/log/ shows serveral improvements in the
recent librsvg2, so looks like proper CSS support is being actively worked on.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to