W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2007

Re: page-break-after proposed tests

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 31 Oct 2007 19:47:36 -0400
Message-ID: <47291418.60001@inkedblade.net>
To: "Grant, Melinda" <melinda.grant@hp.com>
CC: public-css-testsuite@w3.org, Michael Turnwall <mturnwall@revenution.com>
Grant, Melinda wrote:
> 
> Hi fantasai,
> 
> The proposed change works fine, but I think the following would be
> slightly better, from a workflow perspective:
> 
>  <body>
> 	<div class="break">There must be a page break after this line of
> text followed by another line of content.</div>
>  	<div>
> - 		This text should be at the top of the second page. 
> +		This text must be at the top of the second and final
> page.
>  	</div> 

How's this?

~fantasai

Index: page-break-after-000.xht
===================================================================
RCS file: /sources/public/CSS/CSS2.1-test-suite/cooked-tests/hp/page-break-after-000.xht,v
retrieving revision 1.1
diff -u -r1.1 page-break-after-000.xht
--- page-break-after-000.xht	5 Oct 2007 07:00:09 -0000	1.1
+++ page-break-after-000.xht	31 Oct 2007 23:45:55 -0000
@@ -15,9 +15,9 @@
 </style>
 </head>
 <body>
-	<div class="break">There must be a page break after this line of text followed by another line of content.</div>
+	<div class="break">There must be a page break after this paragraph, followed by another line of content. This test should produce two pages of output.</div>
 	<div>
-		This text should be at the top of the second page. 
+		This text should be at the top of the second and final page. 
 	</div>
 </body>
 </html>
\ No newline at end of file
Index: page-break-after-003.xht
===================================================================
RCS file: /sources/public/CSS/CSS2.1-test-suite/cooked-tests/hp/page-break-after-003.xht,v
retrieving revision 1.1
diff -u -r1.1 page-break-after-003.xht
--- page-break-after-003.xht	5 Oct 2007 07:00:09 -0000	1.1
+++ page-break-after-003.xht	31 Oct 2007 23:45:55 -0000
@@ -11,19 +11,16 @@
 	div {
 		page-break-after:always;
 	}
-	.dummy {
-		color:gray;
-	}
 
 </style>
 </head>
 <body>
 	<div>
 		<p>There must <strong>not</strong> be a page break after this line of text.</p>
-		<span class="dummy">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</span>
+		<span>This test should produce two pages of output.</span>
 	</div>
 	<div>
-		This text should be at the top of the second page.
+		This text should be at the top of the second and final page.
 	</div>
 </body>
 </html>
Index: page-break-after-004.xht
===================================================================
RCS file: /sources/public/CSS/CSS2.1-test-suite/cooked-tests/hp/page-break-after-004.xht,v
retrieving revision 1.1
diff -u -r1.1 page-break-after-004.xht
--- page-break-after-004.xht	9 Oct 2007 02:23:17 -0000	1.1
+++ page-break-after-004.xht	31 Oct 2007 23:45:55 -0000
@@ -26,11 +26,9 @@
 </style>
 </head>
 <body>
-	<div class="noBreakAuto">There <strong>must</strong> be a page break after this line of text.</div>
-	<div class="noBreakLeft">There must <strong>not</strong> be a page break after this line of text.</div>
-	<div class="noBreakAlways">There must <strong>not</strong> be a page break after this line of text.</div>
-	<div class="dummy">
-		Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
-	</div>
+	<div class="noBreakAuto">This test must produce two pages of output. This sentence must be on the first page.</div>
+	<div class="noBreakLeft">This sentence must be at the top of the second page.</div>
+	<div class="noBreakAlways dummy">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</div>
+	<p>This must be the last sentence on the second and final page.</p>
 </body>
-</html>
\ No newline at end of file
+</html>
Index: page-break-before-000.xht
===================================================================
RCS file: /sources/public/CSS/CSS2.1-test-suite/cooked-tests/hp/page-break-before-000.xht,v
retrieving revision 1.1
diff -u -r1.1 page-break-before-000.xht
--- page-break-before-000.xht	9 Oct 2007 02:42:09 -0000	1.1
+++ page-break-before-000.xht	31 Oct 2007 23:45:55 -0000
@@ -15,7 +15,7 @@
 </style>
 </head>
 <body>
-	<div>This text should be at the top of the first page.</div>
-	<div class="break">There must be a page break before this line of text and it should be at the top of a new page.</div>
+	<div>This test should produce two pages of output. This text should be at the top of the first page.</div>
+	<div class="break">This text should be at the top of the second and final page.</div>
 </body>
-</html>
\ No newline at end of file
+</html>
Received on Wednesday, 31 October 2007 23:47:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:51:55 GMT