- From: Toby A Inkster <tobyink@goddamn.co.uk>
- Date: Tue, 17 Feb 2004 16:02:20 +0000
- To: Greg Baker <ggbaker@cs.sfu.ca>
- Cc: www-html@w3.org
Received on Tuesday, 17 February 2004 11:02:24 UTC
On Mon, Feb 16, 2004 at 04:25:18PM -0800, Greg Baker wrote: | In the Style Attribute Module of the current XHTML2 draft, there is no | mention of the MIME type of the attribute's value. Yet another reason to ditch @style altogether. | The same comments apply to the "Content-Script-Type" header from HTML4. And all the @onclick, @onfocus, etc crud. | There is also no mention of the media where inline style information | should be applied. Does it apply to all media? That would seem to make | sense since authors could select the media with the style sheet | language: | <div style="@media print { display: none }">...</div> It is arguably already allowed. The syntax of CSS rules in @style has never been properly defined, so we must assume that any CSS syntax from any CSS spec is OK. There was an attempt to define a standard syntax for CSS in @style: http://www.w3.org/TR/css-style-attr but that seems to have been largely abandoned. Current browsers only seem to support syntax #1 of the 4 suggested there. -- Toby A Inkster BSc (Hons) ARCS Contact Me - http://www.goddamn.co.uk/tobyink/?page=132
Received on Tuesday, 17 February 2004 11:02:24 UTC