W3C home > Mailing lists > Public > www-svg@w3.org > October 2007

Broken SVG Tiny 1.1 conformance test: styling-pres-01-t

From: Kalle Raita <kraita@nvidia.com>
Date: Wed, 24 Oct 2007 15:28:39 +0200
Message-ID: <85DD8D3F1695004A8A9A5AC16CE584BE03645A9A@deemmail01.nvidia.com>
To: <www-svg@w3.org>
Hi All,
The test styling-pres-01-t contains the following piece of XML code:
<g fill="green"> 
<rect width="200" height="160" x="140" y="70" fill="red !important"/> 

It is associated with the following comment:
> Check that !important in presentation attribute is an error. 
> A fill attribute is set to red with !important. It thus has no 
> specified value, and inherits from its parent a green fill. A green 
> rectangle is displayed. 

On the other hand, SVG 1.1 specification Appendix F.2 states that:
> ... 
> an SVG document fragment is technically in error 
> ... 
> When an element has an attribute or property value which is not 
> permissible according to this specification 
> ... 
> The document shall be rendered up to, but not including, the first 
> element which has an error. 
> ... 

Also, spec Chapter 6.4  says that:
> An !important declaration within a presentation attribute definition
is an 
> error. 

Our interpretation of these two passages is that the rectangle
fill-parameter is in error and the rectangle should not be rendered,
which is opposite to what the test case expects. Any thoughts on this?
  - Kalle Raita

Kalle Raita 
NVIDIA Corporation 
Tel. +358 40 723 1441 
http://eu.nvidia.com <http://eu.nvidia.com/>  


This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
Received on Wednesday, 24 October 2007 13:36:57 UTC

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