<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">> # # [19:40] <Hixie> hsivonen: so, my requirements for the <font>/<br></blockquote>
<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> style="" thing is that style="" not be allowed everywhere, since
<br>> that encourages media-specific markup.</blockquote><div><br>A style attribute that includes media-specific properties (page-break-after, voice-family) still works as expected. The only thing "style" doesn't provide is to apply non-media-specific attributes in a media-specific way (applying a border to screen media and not print media). That's a rare use case.
<br><br>Is this spec dead?<br><a href="http://www.w3.org/TR/css-style-attr">http://www.w3.org/TR/css-style-attr</a><br>Would/could that spec allow @media rules within the style attribute? It apparently allows @include rules.
<br><br>It's a 5 year old draft, but it looks useful. Yes, I understand its functionality is covered by local <style> elements<br><br>Does HTMLElement still implement ElementCSSInlineStyle from DOM Style 2? someelement.style
is very popular in Javascript, and I don't see a compelling reason to remove it if it is being removed.<br><br>It's worth nothing how browsers currently handle setting a property using someelement.style: <br>someelement.style.border
= "1px solid";<br>alert(someelement.parentNode.innerHTML);<br><br>IE, Firefox, and Opera all show the "border" property as part of the style attribute (even if the style attribute wasn't already set). Firefox uses the "border" property, IE uses "border-left", "border-right", etc. Opera doesn't use any shortcut properties and uses "border-left-style", etc. Konqueror does apply the border, but doesn't reflect that property in the innerHTML. I'm not sure how important any of this is.
<br></div></div><br>-- <br>Jon Barnett