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)
Core
SVG
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.
Reporter | ||
Comment 1•14 years ago
|
||
Reporter | ||
Comment 2•14 years ago
|
||
Reporter | ||
Comment 3•14 years ago
|
||
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.
Reporter | ||
Comment 4•14 years ago
|
||
the significant CSS is
Summary: CSS ignored when using XSLT to generate SVG → CSS text/tspan fill ignored when using XSLT to generate SVG
Reporter | ||
Comment 5•14 years ago
|
||
the significant CSS is fill="#eee"
in the attachment tspan is used, but text was also tested.
Comment 6•14 years ago
|
||
You seem to have fill="eee" i.e. without the # in your files.
Updated•14 years ago
|
Attachment #476749 -
Attachment mime type: text/xml → text/plain
Comment 7•14 years ago
|
||
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
Reporter | ||
Comment 8•14 years ago
|
||
# oops tx,
having a bad-hair day, had to take an hour out....
Comment 9•14 years ago
|
||
Do we need to file a webkit bug (and an opera one) about this?
Comment 10•14 years ago
|
||
If it's true they are doing quirks mode colour parsing of XML, then I guess so.
Comment 11•14 years ago
|
||
If you point me to a testcase I can just load, I can tell you whether they are...
Comment 12•14 years ago
|
||
Opera does indeed display this in some light grey colour.
Comment 13•14 years ago
|
||
So does webkit. I'll see if I can file some bugs.
Comment 14•14 years ago
|
||
for comment 7 s/hex/hash before the hex/
Comment 15•14 years ago
|
||
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.
Description
•