W3C home > Mailing lists > Public > www-svg@w3.org > May 2012

Re: using CSS syntax for presentation attributes

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 23 May 2012 22:00:44 +0200
To: Dirk Schulze <dschulze@adobe.com>
Cc: Cameron McCormack <cam@mcc.id.au>, SVG public list <www-svg@w3.org>
Message-ID: <b2gqr79e110vliohfokud37ff4uor1sigb@hive.bjoern.hoehrmann.de>
* Dirk Schulze wrote:
>I would rather limit the differences instead of increasing them. Like
>discussed before, browsers already use the CSS parser for presentation
>attributes but with special casing on presentation attributes. Instead
>we should support Tab's idea to support scientific notations and unit
>less values in CSS in general, so that we don't need to special casing
>anymore. How could comments in presentation attribute increase
>readability? Why no comment in or before the element?

I'm not aware that anyone is arguing comments in presentation attributes
would increase readability, but they would have to be allowed in order
to align the syntaxes as CSS allows comments for instance in functional
notations like rgb(/**/0,0,0), which has not been very necessary in the
past, but will probably see increased usage as CSS adds new constructs
that are composed of many characters, like gradients and image sets and
border images and multiple background images or whatever. Authors of SVG
content might prefer comments outside attributes, because making presen-
tation attributes "very long" is a problem on its own, but that does not
affect whether they would be allowed and parsed in presentation attri-
butes.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Wednesday, 23 May 2012 20:01:18 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:51 GMT