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

Re: Triangles example in BeCSS

From: Philip Taylor (Webmaster) <P.Taylor@Rhul.Ac.Uk>
Date: Wed, 14 Feb 2007 16:56:46 +0000
Message-ID: <45D33F4E.1080307@Rhul.Ac.Uk>
To: Anne van Kesteren <annevk@opera.com>
CC: Elliotte Harold <elharo@metalab.unc.edu>, www-style@w3.org



Anne van Kesteren wrote:

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

Perhaps so, but does that matter ? To my mind,
Elliotte's wording /is/ clearer because it
avoids the obfuscation that results from the
overloading of "triangles".

http://www.w3.org/TR/2007/WD-becss-20070205/ :

 > @namespace triangles url(http://triangles.example.com/);
 > triangles|isoceles { binding: url(triangles.xml#isoceles); }
 > triangles|rightangle { binding: url(triangles.xml#rightangle); }

Elliotte :

 > @namespace t url(http://namespaces.example.com/);
 > t|isoceles { binding: url(triangles.xml#isoceles); }
 > t|rightangle { binding: url(triangles.xml#rightangle); }

Punctuation-noise removed :

 > @namespace t url(http://namespaces.example.com/);
 > t|isoceles {binding: url(triangles.xml#isoceles)}
 > t|rightangle {binding: url(triangles.xml#rightangle)}

Philip Taylor
Received on Wednesday, 14 February 2007 16:57:55 GMT

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