W3C home > Mailing lists > Public > www-style@w3.org > February 2009

[css3-page] @page foo, bar { ... }

From: Håkon Wium Lie <howcome@opera.com>
Date: Sun, 22 Feb 2009 00:03:03 +0100
Message-ID: <18848.34855.445111.298848@opera.com>
To: www-style@w3.org
In CSS, selectors can be grouped in comma-separted lists:

  foo, bar { ... }

However, this doesn't seem to be the case for page selectors [1]. I
suggest allowing it. E.g.:

  @page foo, bar { 
    @bottom-right: { 
      content: counter(page); 
    } 
  }

  @page :first, :left {
    background: red;
  }

[1] http://dev.w3.org/csswg/css3-page/#page-selector-and-context

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Saturday, 21 February 2009 23:03:46 GMT

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