Index: test/layoutengine/disabled-testcases.xml =================================================================== --- test/layoutengine/disabled-testcases.xml (révision 427169) +++ test/layoutengine/disabled-testcases.xml (copie de travail) @@ -370,4 +370,18 @@ underfull page is created so that the citation be on the same page as the float. + + Before-floats plus footnotes on last page + before-float_footnote_last-page.xml + When an additional page must be created at the end + of a flow for placing both a remaining before-float and a footnote, an + IndexOutOfBoundException occurs. + + + Before-float too large to fit on a page alone + before-float_large.xml + When a before-float is too large to even fit on a page alone, + it should be split on several pages. Currently, there is an OutOfMemory + error. + Index: test/layoutengine/standard-testcases/before-float_large.xml =================================================================== --- test/layoutengine/standard-testcases/before-float_large.xml (révision 0) +++ test/layoutengine/standard-testcases/before-float_large.xml (révision 0) @@ -0,0 +1,103 @@ + + + + + +

+ This test checks that a before-float too large to fit on a page alone is + split on several pages. +

+

+ Currently disabled as this is a non-implemented feature. +

+
+ + + + + + + + + + + This is a block without a float. This is a block without a float. + This is a block without a float. This is a block without a float. + + + This is a block without a float. This is a block without a float. + This is a block without a float. This is a block without a float. + + + This is a block with a float. This is a block with a float. + This is a block with a float. This is a block with a float. + This is a block with a float. This is a block with a float. + The float anchor is here + + This is the float content. This is the float content. + This is the float content. This is the float content. + + + This is the float content. This is the float content. + This is the float content. This is the float content. + + + This is the float content. This is the float content. + This is the float content. This is the float content. + + + This is the float content. This is the float content. + This is the float content. This is the float content. + + + This is the float content. This is the float content. + This is the float content. This is the float content. + + . + This is a block with a float. This is a block with a float. + This is a block with a float. This is a block with a float. + + + This is a block without a float. This is a block without a float. + This is a block without a float. This is a block without a float. + + + This is a block without a float. This is a block without a float. + This is a block without a float. This is a block without a float. + + + + + + + + +
Index: test/layoutengine/standard-testcases/before-float_footnote_last-page.xml =================================================================== --- test/layoutengine/standard-testcases/before-float_footnote_last-page.xml (révision 0) +++ test/layoutengine/standard-testcases/before-float_footnote_last-page.xml (révision 0) @@ -0,0 +1,108 @@ + + + + + +

+ This test checks that a when an additional page must be created at the end + of a flow for remaining out-of-line objects, then both the remaining + before-floats and footnotes are placed on this page. +

+

+ Currently disabled as this is a non-working feature. +

+
+ + + + + + + + + + + This is a block without a float. This is a block without a float. + This is a block without a float. This is a block without a float. + + + This is a block without a float. This is a block without a float. + This is a block without a float. This is a block without a float. + + + This is a block with a float and a footnote. + This is a block with a float and a footnote. + This is a block with a float and a footnote. + The footnote citation is here + 1 + + + Footnote body. Footnote body. Footnote body. Footnote body. + Footnote body. Footnote body. Footnote body. Footnote body. + Footnote body. Footnote body. Footnote body. Footnote body. + Footnote body. Footnote body. Footnote body. Footnote body. + + + . The float anchor is here + + This is the float content. This is the float content. + This is the float content. This is the float content. + This is the float content. This is the float content. + This is the float content. This is the float content. + + . + + + + + + + + + + + + + + + + + + + + + + + + + +