W3C home > Mailing lists > Public > www-style@w3.org > January 2013

RE: Calling for a massive revamp of Paged Media and GCPM

From: François REMY <francois.remy.dev@outlook.com>
Date: Sun, 13 Jan 2013 19:06:39 +0100
Message-ID: <DUB002-W143F94FD9B95B75C41FB771A52F0@phx.gbl>
To: Simon Sapin <simon.sapin@kozea.fr>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>
CC: "www-style@w3.org" <www-style@w3.org>
> Ok. But that does not mean we can just remove these existing features.

Even if the goal is to refactor/simplify them? I'm under the impression the current spec introduces a lot of 'constants' because it uses a "one-fit-all" page model that's not easily customizable. Using a grid, I could define a model that fits my needs. 

What will follow is not a true proposal, just some random thought that popped into my mind when reading Daniel's post, here's what we could do (to display a main document (m) alongside its comments (c) and on top of some foot notes (n)) :

    @page {
          1.5cm 1fr auto 2cm;
          3cm 3fr 1fr 3cm;
    @page::slot(h) {
            "Page " get(page number) " out of " get(page amount)
            " - " the-last-title-found-in-last-page-or-default);
        color: silver;
        font-size: 10pt;
    @page::slot(m) {
        flow-from: document; /* reserved flow */
    #page::slot(c) {
        flow-from: comments;

If there's a move toward more genericity and more shared code with already existing concepts (grid+regions+...), we can simplify the spec a lot. Simplifying the spec can lead to more implementor interest and a better support. 		 	   		  
Received on Sunday, 13 January 2013 18:07:11 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:23 UTC