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>

While reviewing the CSS3 UI module, we noticed that the nav-{up,right,
down,left} properties take ID selectors as values.


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.



P.S. A relevant WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=66027
Received on Thursday, 11 August 2011 17:03:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:48 UTC