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

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

From: Edward O'Connor <eoconnor@apple.com>
Date: Thu, 11 Aug 2011 10:02:53 -0700
To: www-style@w3.org
Message-id: <m2liuzswxu.fsf@eoconnor.apple.com>
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 17:03:30 GMT

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