- From: Guillaume Ayoub via GitHub <sysbot+gh@w3.org>
- Date: Tue, 25 Feb 2020 20:03:32 +0000
- To: public-css-archive@w3.org
> The example works as expected in both PrinceXML and WeasyPrint without adding a page-break property. WeasyPrint does **not** break pages between consecutive blocks with the same `page` value. This example: ```html <style>article { page: a } div { page: b }</style> <article>a</article> <div>b</div> <div>b</div> <article>a</article> ``` gives: - page 1: a - page 2: b b - page 3: a Page groups are not supported by WeasyPrint. > So I agree that the CSS-Pages definition is preferred I agree too. > To sum up: I don't think a change to the spec is warranted. But those examples could use a `break-before: page` :+1: --- > Also, the specificity of the "nth" selector is undefined. I presume :nth(5) is (0,1,0) and :nth(5 of A) is (1,1,0)? Looks good to me. -- GitHub Notification of comment by liZe Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3524#issuecomment-591042343 using your GitHub account
Received on Tuesday, 25 February 2020 20:03:34 UTC