Re: [css3-ui] ID selectors as values of nav-{up,right,down,left} properties

It's not clear to me that it's even appropriate for CSS to be able to dictate what is navigable to in each direction. It would be all to easy to place something on the left, but then say nav-right: that thing.

Simon

On Aug 11, 2011, at 10:02 AM, Edward O'Connor wrote:

> Hi,
> 
> While reviewing the CSS3 UI module, we noticed that the nav-{up,right,
> down,left} properties take ID selectors as values.
> 
>                http://dev.w3.org/csswg/css3-ui/#nav-dir
> 
> As an author, if I encountered
> 
> #foo {
>  nav-right: #bar;
> }
> 
> in a stylesheet, I would just assume that I could do something like
> 
> [type=submit] {
>  nav-right: [type=reset];
> }
> 
> but CSS3 UI doesn't allow this (thank $DIETY). Generally speaking, this
> Working Group has avoided allowing selectors as property values in other
> places, and I'm reluctant to make an exception here.
> 
> Thoughts?
> 
> 
> Ted
> 
> P.S. A relevant WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=66027
> 

Received on Thursday, 11 August 2011 20:12:13 UTC