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

Re: page-break-inside test cases (proposed)

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 10 Sep 2007 10:27:27 +0800
To: public-css-testsuite@w3.org
Message-ID: <20070910022727.GA25034@ridley.dbaron.org>

On Sunday 2007-09-09 19:13 -0700, Michael Turnwall wrote:
> * page-break-inside: (inline elements) *
> http://revenutiontesting.com/w3c/page_breaks/t130301-page-break-inside-inline-element-08-a.html

I just looked at this test.  A few comments:

Depending on default font sizes, it's not clear that the test
guarantees that the text at the bottom would be long enough to have
a break.  You could probably use something like an image with a
specified percentage height to ensure that.

More importantly, though, the pass criterion for the test could be
made simpler to interpret.  You currently have "The text below is
allowed to have a page break in it.", whereas it seems like the pass
criteria ought to be "This text must appear on the first page, and
the following text must appear on the second." and "This text must
appear on the second page, and the previous text must appear on the
first." placed within the text that should be broken.


It also seems like it might be worth testing both that breaks aren't
allowed at <br>s and that breaks aren't allowed at line breaks from
long broken text.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Monday, 10 September 2007 02:27:43 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 10 December 2014 23:20:35 UTC