On Wed, 10 Mar 1999, gordon wrote: > A nice addition to the specification would be a wildcard with which to > override [especially unknown] pseudo-class selectors. Yes - particularly good would be regexp selectors for selecting by element name and attribute value. As in: /H[1-6]/ { font-weight: bolder; } A[href/="^http://.*"] { padding-right: 16px; background-image: url(offsite.png); background-position: center right; } [class/=".+"] { font: inherit ! important; color: inherit ! important; background: inherit ! important; margin: inherit ! important; padding: inherit ! important; border: inherit ! important; } Where "/" is used to indicate a regexp search, and where the background-position property is allowed to apply to inline elements. (The first makes all headers bolder. The second adds an icon to absolute links (presumably offsite ones). The third removes many of the most visible properties on any elements with a class.) -- Ian Hickson U+2642 U+2651 U+262E U+2603 U+263AReceived on Wednesday, 10 March 1999 09:18:09 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:58 GMT