[csswg-drafts] [css-page] Can blank pages by named pages and how? (#7334)

bernhardf-ro has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-page] Can blank pages by named pages and how? ==
In PDFreactor we have implemented both _blank pages_ and _named pages_. Currently our blank pages never have a name.
After customer feedback we are now looking into changing this. Our current plan is for blank pages to have the same name as the previous page.
However, we were not able to determine the actually expected behavior from the specification.

For example, what would be the background colors of page 2 and 4 in the following sample?
``` html
<html>
    <head>
        <style>
            p { break-after: right }
            #a { page: pagea }
            #b { page: pageb }
            @page pagea { background-color: lightblue }
            @page pageb { background-color: yellow }
            @page:blank { @top-left { content: "blank page: what color?" } }
        </style>
    </head>
    <body>
        <section id="a">
            <p>page 1: lightblue</p>
            <p>page 3: lightblue</p>
        </section>
        <section id="b">
            <p>page 5: yellow</p>
        </section>
    </body>
</html>
```

If you could clarify this issue we'd appreciate it.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7334 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 2 June 2022 13:49:30 UTC