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

SVG12: Computed value fields

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 31 Mar 2005 05:26:21 +0200
To: www-svg@w3.org
Message-ID: <42586dbc.126964031@smtp.bjoern.hoehrmann.de>

Dear Scalable Vector Graphics Working Group,

  In http://www.w3.org/TR/2004/WD-SVG12-20041027/ the style of property
definitions is inconsistent with the CSS family of specifications, in
particular, the "Computed Value" field is missing from the property
tables. This field should be added to all properties to make it easier
to determine the computed value. It should for example be clear that the
computed value of url() values is the absolute URL but this is often
missed by implementers, for example,

  001.css:
  rect { fill: url(#myGradient) }

  001.svg:
  <?xml-stylesheet type="text/css" href="001.css"?>
  <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
  <defs><linearGradient id="myGradient"><stop offset="100%"
  stop-color="red" /></linearGradient></defs><rect fill="green"
  x="0" y="0" width="100" height="100" /></svg>

this must show a green rect, but e.g. the experimental implementations
in Mozilla Firefox and Adobe SVG Viewer 6 show a red rect. This should
thus be defined more clearly in the specification.

regards.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Thursday, 31 March 2005 03:26:06 GMT

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