- From: Grant, Melinda <melinda.grant@hp.com>
- Date: Wed, 14 Jan 2009 05:30:40 +0000
- To: "www-style@w3.org" <www-style@w3.org>
- Message-ID: <763AE400FE923441B74861D534DF2549585EFC451C@GVW0433EXB.americas.hpqcorp.net>
(This follows from the discussion beginning with http://www.w3.org/2002/02/mid/20090108103733.C32B.C598BCD7@antenna.co.jp;list=www-style.)
Proposed change to css2.1 to allow UA's to retain margin-top for a block following a forced page break:
In 13.3.3 Allowed Page Breaks,
Replace:
When a page break occurs here, the used values<http://www.w3.org/Style/Group/css2-src/cascade.html#used-value> of the relevant 'margin-top'<http://www.w3.org/Style/Group/css2-src/box.html#propdef-margin-top> and 'margin-bottom'<http://www.w3.org/Style/Group/css2-src/box.html#propdef-margin-bottom> properties are set to '0'.
with:
When an unforced page break occurs here, the used values<http://www.w3.org/Style/Group/css2-src/cascade.html#used-value> of the relevant 'margin-top'<http://www.w3.org/Style/Group/css2-src/box.html#propdef-margin-top> and 'margin-bottom'<http://www.w3.org/Style/Group/css2-src/box.html#propdef-margin-bottom> properties are set to '0'. When a forced page break occurs here, the used value of the relevant 'margin-bottom'<http://www.w3.org/Style/Group/css2-src/box.html#propdef-margin-bottom> property is set to '0'; the relevant 'margin-top' used value may either be set to '0' or retained.
and add:
Note: It is expected that css3 will specify that the relevant margin-top applies (i.e., is not set to '0') after a forced page break.
Best wishes,
Melinda
________________________________
Melinda S. Grant
Melinda Grant Consulting
+1.541.582.3681
Melinda.Grant@hp.com<mailto:melinda.grant@hp.com>
Received on Wednesday, 14 January 2009 05:33:09 UTC