- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Tue, 5 Jan 2010 06:31:13 -0800
- 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 UTC