W3C home > Mailing lists > Public > www-style@w3.org > August 2011

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

From: Simon Fraser <smfr@me.com>
Date: Thu, 11 Aug 2011 13:11:44 -0700
Cc: www-style@w3.org
Message-id: <40A8D8E6-A696-4F5E-8AE2-624FA057C61C@me.com>
To: Edward O'Connor <eoconnor@apple.com>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:43 GMT