W3C home > Mailing lists > Public > www-style@w3.org > January 2010

Re: Text selector [was Re: breaking overflow]

From: Brad Kemper <brad.kemper@gmail.com>
Date: Tue, 5 Jan 2010 06:31:13 -0800
Message-Id: <62D29FDA-F92D-4D6D-9A32-EE4817ED606F@gmail.com>
To: Patrick Garies <pgaries@fastmail.us>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Boris Zbarsky <bzbarsky@mit.edu>, www-style list <www-style@w3.org>


On Jan 5, 2010, at 1:16 AM, Patrick Garies <pgaries@fastmail.us> wrote:

> On 2010-01-04 12:05 PM, Brad Kemper wrote:
>> ::text("Example \d: *\n") { display: block; padding: .5em; margin: 1
>> em 0; border: 1px solid #999; background-color: #eee; }
>
> Isn't this use case already covered by various HTML elements?

A central idea behind this proposal is that one should not have to  
(and often cannot) add HTML markup for purely presentational effect.  
It follows the ideals of markup being meaningful and semantic. It also  
acknowledges that those writing the CSS are often diiferent people  
than those writing the HTML, and have little or no control of hhe  
HTML. CSS is also used on other markup languages, such as XML, where  
it might be operationally (or in some cases technically) problematic  
for the styler to just insert elements into the markup. 
   
Received on Tuesday, 5 January 2010 14:35:16 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:23 GMT