Re: Styling HTML5 elements

On Thursday 2009-10-15 14:02 +0100, Steve Workman wrote:
> I've been looking at styling HTML 5 elements using CSS3 and have come across
> some examples where it doesn't suffice.
> 
> A recent html5doctor.com post on the meter tag (
> http://html5doctor.com/measure-up-with-the-meter-tag/) brought up some
> issues with styling of such an element. I wrote a blog post about it here:
> http://www.steveworkman.com/web-design/html-5-web-design/2009/my-problem-with-html-5-styling-meter/but

In many cases, styling elements that have complex appearance (such
as form controls and other widgets like this) is best accomplished
using more than just CSS.  There is a W3C candidate recommendation
for XBL2, which is designed for problems like this:
http://www.w3.org/TR/xbl/

(Mozilla implements XBL1 (which is primarily intended for XUL) and
we're working on XBL2, although it's probably still a little ways
off.)

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Thursday, 15 October 2009 17:30:42 UTC