CSS class are not inherited to child text/tspan elements in SVG (not general)
OpenPublic

Assigned To
None
Priority
Normal
Author
Perhelion
Subscribers
Perhelion, Bawolff, wikibugs-l
Projects
Reference
bz66551
Description

CSS class definitions for text elements are not inherited to the child tspan elements. See first version [[File:Global_Wind_Power_Cumulative_Capacity.svg]].

This is a long time known bug but I found no report here (also not on GNOME).


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=66672

bzimport added a project: Wikimedia-SVG-rendering.Via ConduitNov 22 2014, 3:23 AM
bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz66551.
Perhelion created this task.Via LegacyJun 12 2014, 7:37 PM
Perhelion added a comment.Via ConduitJun 16 2014, 8:01 PM

named class overruled a general element class

As bug 66672 is present the given example is very unlucky. So I attach a much better example (temporary uploaded here https://upload.wikimedia.org/wikipedia/commons/thumb/archive/b/bd/20140616194801%21Test.svg/120px-Test.svg.png)

So I must differentiate and change the bug.
All text should be green with exception of the first.
What happens are 2 things:

  • named class overruled a general (in this case higher) element class
  • tspan and text elements without coordinate attribute get ignored from a class (so this was at beginning my second faulty conclusion)

Attached: priority_and_tspan_bug.svg

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.