W3C home > Mailing lists > Public > www-style@w3.org > February 2007

Re: Triangles example in BeCSS

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 14 Feb 2007 16:20:01 +0100
To: "Elliotte Harold" <elharo@metalab.unc.edu>, www-style@w3.org
Message-ID: <op.tnqvjntq64w2qv@id-c0020.orange.nl>

On Wed, 14 Feb 2007 16:14:12 +0100, Elliotte Harold  
<elharo@metalab.unc.edu> wrote:
> I think the following example in section 3.3 of BeCSS is unclear:
>
> Assuming the above file was called triangles.xml, these bindings could  
> be bound to elements using CSS like so:
>
> @namespace triangles url(http://triangles.example.com/);
> triangles|isoceles { binding: url(triangles.xml#isoceles); }
> triangles|rightangle { binding: url(triangles.xml#rightangle); }
>
>
> In particular I think some people are going to read this as meaning the  
> namespace URL is somehow used to locate the file containing the binding  
> definition. It's not clear to me why a namespace is used here, but if  
> you're going to use one at all something like this might be clearer:
>
> @namespace t url(http://namespaces.example.com/);
> t|isoceles { binding: url(triangles.xml#isoceles); }
> t|rightangle { binding: url(triangles.xml#rightangle); }

I think this is only true if you don't know how CSS works.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Wednesday, 14 February 2007 15:20:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:49 GMT