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

Re: [css3-selectors] The universal attribute selector

From: Gabriele Romanato <gabriele.romanato@gmail.com>
Date: Sat, 28 Feb 2009 06:32:48 +0100
Message-Id: <3D82D9FE-E921-4830-B2D9-336B876B99AB@gmail.com>
To: www-style@w3.org
Following your syntax, this selector would be useful for debugging  
purposes in order to verify in complex layouts whether an element has  
attributes or not (instead of using DOM's hasAttributes() method).  
this also applies to XML documents. this pattern could be extended as  


matches all p elements with an attribute value of 'test', regardless  
of the attribute name.

Combination with other attribute selectors:


matches all p elements that have a dashed separated list of attribute  
values, one of which is exactly 'test',
regardless of the attribute name.


http://www.css-zibaldone.com/test/  (English)
http://www.css-zibaldone.com/articles/  (English)
http://mimicry.css-zibaldone.com/ (Blog)
http://www.flickr.com/photos/gabrieleromanato/ (Flickr)
Received on Saturday, 28 February 2009 05:33:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:24 UTC