W3C home > Mailing lists > Public > www-svg@w3.org > March 2013

Presentation attributes with disabled browser styling

From: John Drinkwater <john@nextraweb.com>
Date: Tue, 19 Mar 2013 14:00:29 +0000
Message-ID: <51486F7D.8070105@nextraweb.com>
To: www-svg@w3.org
I’ve hit a behaviour in Firefox that I’d like clarified in the spec. as
to how it should be behave. IE and Presto (rip Opera) behave as I would
expect.

When the user sets Page Style - None (which for all intents and purposes
to the end user is a CSS toggle), SVG documents lose their attribute-set
styling. This isn’t just style="" attributes as one could expect, but
fill="", stroke="" etc. This negatively effects masks, fill-rules etc.

Is the wording in
http://www.w3.org/TR/SVG11/styling.html#UsingPresentationAttributes on
‘User agents that do not support CSS must ignore any CSS style rules
defined in CSS style sheets and ‘style’ attributes.’ meant to extend
further into any document-defined styles via attributes, or is this
Firefox behaving not as intended?

For further reference, the bug I have open.
https://bugzilla.mozilla.org/show_bug.cgi?id=607441

Regards,

-- 
John ‘[Beta]’ Drinkwater        |      john@nextraweb.com
http://johndrinkwater.name/     |
Received on Tuesday, 19 March 2013 14:00:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:41 UTC