W3C home > Mailing lists > Public > public-html@w3.org > April 2011

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

From: Henri Sivonen <hsivonen@iki.fi>
Date: Fri, 08 Apr 2011 11:14:01 +0300
To: HTMLWG WG <public-html@w3.org>
Message-ID: <1302250441.8915.2518.camel@shuttle>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:24 UTC