Re: role="subheading" or role="subtitle" to replace hgroup

On Thu, 2011-04-07 at 12:34 +0100, Steve Faulkner wrote:
> >2) It would be desirable to have a selector that matches on the 
> > outline depth. 
> 
> unclear about what you mean here.

I mean a selector like h1::outline-depth(3) at least for headings
themselves and maybe for all element nodes (like p::outline-depth(2)).

> >Making a selector depend on the outline algorithm makes the algorithm
> >performance-sensitive. Doing stuff depending on an attribute value is
> >likely to be more of >an issue for performance than doing stuff based
> >on the name of the element.
> 
> is the performance issue severe enough to be a blocker?

Hard to tell without trying to implement it. People who've actually
implemented selectors previously would be better at guessing.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Friday, 8 April 2011 08:14:33 UTC