Re: [css-page] Issue with at-page-rule-001

> 2015/05/24 11:00、Gérard Talbot <css21testsuite@gtalbot.org> のメール:
> 
>>> The description assumes that the cascaded value of margin-top is 50%.
>> It is not perfectly clear what "exact center of this page" means.
>> I do not believe that the cascaded value of margin-top should be 50%.
>> I believe the cascaded value of margin-top should be 0.
I found the same sentence
"When printed the top left corner of this box must be in the exact center of this page."
in this test case:
https://github.com/w3c/csswg-test/blob/master/css21/page-box/first-page-selectors-001.xht

This test case has CSS
 @page:first {
   margin-top: 50%;
 }
, so the box's top left corner's vertical position is the center of the page's height.

I guess the author intended to mean that margin-top should be 50% in at-page-rule-001 too.

-- 
Toru Kawakubo
Vivliostyle Inc.
http://vivliostyle.com

Received on Wednesday, 27 May 2015 05:15:50 UTC