- From: Gérard Talbot <css21testsuite@gtalbot.org>
- Date: Thu, 25 Aug 2016 14:00:40 -0400
- To: Public CSS Test suite mailing list <public-css-testsuite@w3.org>
Hello,
[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/widows-004a.htm
The test is incorrect.
"
'widows'
Value: <integer> | inherit
(...)
The 'widows' property specifies the minimum number of lines in a block
container that must be left at the top of a page.
"
CSS 2.1, section 13.3.2 Breaks inside elements: 'orphans', 'widows'
https://www.w3.org/TR/CSS21/page.html#break-inside
So, there should be 5 lines (and not 2) at the top of page 2.
Proposed corrections
- - - - - - - - - -
line 31: widows: 5; /* valid */
line 32: widows: 2.0; /* invalid */
line 33: widows: 2em; /* invalid */
line 34: widows: -2; /* invalid */
line 35: widows: 0; /* invalid */
line 46: <div class="test">
line 47: Page 1 Line A
line 48: Page 1 Line B
line 49: Page 2 Line C
line 50: Page 2 Line D
line 51: Page 2 Line E
line 52: Page 2 Line F
line 53: Page 2 Line G
line 54: </div>
Gérard
--
Test Format Guidelines
http://testthewebforward.org/docs/test-format-guidelines.html
Test Style Guidelines
http://testthewebforward.org/docs/test-style-guidelines.html
Test Templates
http://testthewebforward.org/docs/test-templates.html
CSS Naming Guidelines
http://testthewebforward.org/docs/css-naming.html
Test Review Checklist
http://testthewebforward.org/docs/review-checklist.html
CSS Metadata
http://testthewebforward.org/docs/css-metadata.html
Received on Thursday, 25 August 2016 18:01:13 UTC