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

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