Commit Graph

25 Commits

Author SHA1 Message Date
Ehsan Akhgari
65d89c10a5 Bug 659828 - Part 3: Adjust the break-after-caption reftests to work correctly again now that the table top margin gets collapsed with its parent top margin; r=roc 2011-09-27 18:01:46 -04:00
Bernd
c934e454e7 bug 675490 - push nonplaced tfoots and mark them as nonrepeating r=bz 2011-08-13 18:37:43 +02:00
Bernd
c89cbf6c89 Bug 642088 - Subtract the caption height and vertical margins from the available height before reflowing the inner table frame. r=bzbarsky 2011-07-26 19:22:46 +02:00
Jeff Muizelaar
6d027679a1 Bug 584515. Fix border-breaking-000-cols.xhtml on D2D. r=roc
We are running into rasterization inaccuracies here.

This test draws green circles on a green rectangle and assumes that the result
will be solid green.

Here's what happens with D2D:

D2D computes coverage values in floating point so assume that we get a coverage
of about 0.112399 or 0.112399*255 == 28.6

green (128/255 == 0.50196) is multiplied by the coverage to get 0.0564702 or
.0564702*255 == 14.39

the results of the pixel shader get rounded before blending. So we get
(r=0,g=14,b=0,a=29)

blending this OVER green gives:

14+(255-29)*128/255 == 127 instead of 128.

This doesn't happen with other backends because they typically use integer
coverage amounts.

We fix it by using '&nbsp' instead of '.'
2010-08-08 15:54:24 -04:00
L. David Baron
fb8706b16b Don't force availableHeight to be nonnegative, because doing so means that we'll place zero height blocks (including their non-zero-height contents) at the bottom of a page when there's not room (see nsHTMLReflowState::SetTruncated). (Bug 563584, patch 32) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
c26bc242ae Add reftests for bug 563584. (Bug 563584, patch 31) r=roc 2010-08-05 21:59:20 -07:00
Robert O'Callahan
92614a1b55 Bug 568392. Part 1: fix reftests so they pass if the scrollbars are visible. r=dbaron 2010-06-18 21:17:35 +12:00
Bernd
52ad18119e bug 558575 - add reftests that give basic coverage of table pagination r=roc 2010-05-13 16:15:49 +02:00
Phil Ringnalda
634234c8da Bug 546898 - reftest dynamic-abspos-overflow-01-cols.xhtml fails intermittently due to link coloring mismatch, r=bz 2010-02-24 22:58:02 -08:00
Jonathan Kew
4908fc12da Bug 518357, make reftests less sensitive to default font size settings. r=roc 2009-09-23 15:55:55 +01:00
fantasai
dc61c00e01 Bug 492627 - Remove Placeholder Continuations [Tests for paginated <br clear>] r=roc 2009-08-31 11:25:37 -07:00
fantasai
0c4b41f686 Bug 499377 - Store float region on frame r+sr=roc 2009-07-14 22:19:31 -07:00
fantasai
979cfec7d7 Bug 389462 - columns don't reflow on resize r=roc 2009-07-06 18:23:24 -07:00
Robert O'Callahan
0e890f6994 Bug 495385. Text frames adjacent to block boundaries that contain only collapsible whitespace cannot affect layout, so don't create them. r+sr=bzbarsky 2009-06-13 21:16:34 +12:00
Robert O'Callahan
83bd12dc95 Backed out changeset 69c6dbdfd179 2009-06-14 00:18:06 +12:00
Robert O'Callahan
d045e5d324 Bug 495385. Text frames adjacent to block boundaries that contain only collapsible whitespace cannot affect layout, so don't create them. r+sr=bzbarsky 2009-06-13 21:16:34 +12:00
Dão Gottwald
14f30ff170 fix bustage from changeset d6384ffd49f1 2008-08-04 13:24:06 +02:00
fantasai
51d41bc2ef Bug 159914 – Printing a div's content "eats" a few line down the first page 2008-08-04 13:19:53 +02:00
6d06017d19 Fix reftests that depended on bug 379461. 2008-02-19 10:46:43 -08:00
70d0c6a04b handle dynamic insertion with overflow containers properly, b=403369 r=bzbarsky sr=roc 2008-01-27 00:13:19 -08:00
772c045b1d fix border/padding and availableHeight calculations at page/column breaks, b=368079 r+sr=roc a=roc 2008-01-23 16:28:42 -08:00
3ce94744df backing out patch to bug 368079 to investigate reftest failure 2008-01-15 20:59:15 -08:00
4e221b908b fix border/padding and availableHeight calculations at page/column breaks, b=368079 r+sr=roc a=roc 2008-01-15 19:54:46 -08:00
5d026a5ab0 Fix bug 406485. Patch by fantasai, r+sr=roc 2007-12-04 19:22:55 -08:00
9011ed7502 paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc 2007-10-01 22:57:45 -07:00