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

Hi,

I am confused with 'at-page-rule-001' in CSS2.1 test suite.
Is it correct?

Test case:
 https://github.com/w3c/csswg-test/blob/master/css21/page-box/at-page-rule-001.xht

The description assumes that the cascaded value of margin-top is 50%.
In my understanding, however, following the rules for handling malformed declarations [1],
'margin-top: 0;' in the second @page rule is effective.
I found an old post pointing out the same issue [2].

What is the original intention?
If it needs to be fixed and the problem is clarified, I am happy to fix it and create a pull request.

[1] http://dev.w3.org/csswg/css2/page.html#page-box
[2] https://lists.w3.org/Archives/Public/public-css-testsuite/2011Feb/0063.html

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

Received on Thursday, 21 May 2015 03:08:53 UTC