Closed Bug 597974 Opened 14 years ago Closed 14 years ago

CSS text/tspan fill ignored when using XSLT to generate SVG

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jay, Unassigned)

Details

Attachments

(3 files)

open XML file,

text of first name should be in white, 
cf Opera, Webkit


Dupe? cant find.
Error loading stylesheet: A network error occurred loading an XSLT stylesheet:https://bugzilla.mozilla.org/attachment.cgi?id=476747

save the two attachments locally, and change the internal link.
or preferably advise how to set this up in bugzilla.
the significant CSS is
Summary: CSS ignored when using XSLT to generate SVG → CSS text/tspan fill ignored when using XSLT to generate SVG
the significant CSS is fill="#eee"
in the attachment tspan is used, but text was also tested.
You seem to have fill="eee" i.e. without the # in your files.
Attachment #476749 - Attachment mime type: text/xml → text/plain
http://www.w3.org/TR/SVG/types.html#DataTypeColor

Needs a hex digit to start. Your testcase doesn't.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
# oops tx,

having a bad-hair day, had to take an hour out....
Do we need to file a webkit bug (and an opera one) about this?
If it's true they are doing quirks mode colour parsing of XML, then I guess so.
If you point me to a testcase I can just load, I can tell you whether they are...
Attached image eee
Opera does indeed display this in some light grey colour.
So does webkit.  I'll see if I can file some bugs.
for comment 7 s/hex/hash before the hex/
Filed opera bug (for which the followup mail is DSK-314092@bugs.opera.com) and a webkit bug at https://bugs.webkit.org/show_bug.cgi?id=46112
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: