W3C home > Mailing lists > Public > www-style@w3.org > September 2008

[css3-gcpm] new editor's draft; page lists, page floats, text-replace

From: Håkon Wium Lie <howcome@opera.com>
Date: Wed, 3 Sep 2008 16:49:07 +0200
Message-ID: <18622.41955.971743.992027@opera.com>
To: www-style@w3.org

Based on discussions on this list [1] and at the recent CSS WF
face-to-face meeting [2], I've published a new Editor's Draft of CSS3


There are changes in three main areas:

  - page lists: I think we've found a syntax that fulfills all four
    use cases [3], while having minimal impact on the syntax as
    described in CSS2. The two changes are:

      - the 'page' property is changed from inherited to non-inherited

      - setting a single named page on the 'page' property will lead
        to page breaks before and after the element.

  - page floats: the 'float' property is extended so that it accepts
    more keywords and a comma-separated list of values. E.g., this

        float: none, top next page;

    will result in the element floating to the next page, but only if
    it doesn't fit on the current page.

  - text-replace: there was a debate at the F2f whether (a) this
    funcionality should be offered as part of CSS, or (b) if it can be
    expressed in a different way. Here is one possible solution:

       *:text("Soviet Union") { content: "Russia" }

    which, potentiall, could be even mover powerful:

       *:text("Soviet Union") { content: "Russia"; color: red }

[1] http://lists.w3.org/Archives/Public/www-style/2008Aug/0136.html
[2] http://krijnhoetmer.nl/irc-logs/css/20080821
[3] http://lists.w3.org/Archives/Public/www-style/2008Aug/0157.html


              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Wednesday, 3 September 2008 14:49:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:39 UTC