W3C home > Mailing lists > Public > www-style@w3.org > June 2012

[css3-page][CSS21] Margins at forced/unforced page breaks

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Wed, 20 Jun 2012 13:38:22 +0200
Message-ID: <4FE1B62E.6080209@kozea.fr>
To: "www-style@w3.org" <www-style@w3.org>
Hi,

The current css3-page ED says:

> In the normal flow, page breaks may occur at the following places:
>
> In the vertical margin between sibling block boxes (or rows in a
> table). When an unforced page break occurs here, both the adjoining
> ‘margin-top’ and ‘margin-bottom’ are set to zero.


On the same subject, CSS 2.1 says:

> In the normal flow, page breaks can occur at the following places:
>
> In the vertical margin between block-level boxes. When an unforced
> page break occurs here, the used values of the relevant 'margin-top'
> and 'margin-bottom' properties are set to '0'. When a forced page
> break occurs here, the used value of the relevant 'margin-bottom'
> property is set to '0'; the relevant 'margin-top' used value may
> either be set to '0' or retained.

Which is correct? Apparently this was changed in 2.1 in the process of 
making it a REC, but the change was not ported to css3-page

Regards,
-- 
Simon Sapin
Received on Wednesday, 20 June 2012 11:38:54 GMT

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