gecko/layout/reftests
Ehsan Akhgari bdc5c5427c Bug 659828 - Part 1: Apply table margins to the outer table frame instead of the inner table frame (also fixes bug 87277); r=dbaron
Outer table frames act as CSS2.1 table wrapper boxes.  We used to lay them out
without taking their margins into the account, which meant that their width was
always equal to the available width.  This breaks horizontal positioning of
absolutely positioned kids of a table frame.

The main purpose of this patch is to apply the margins of tables to their outer
frame, instead of the inner frame.  This means that the inner table frame will
always have a zero margin, which means that a lot of the stuff which used to
rely on the fact that table margins are applied to the inner frame need to
change.

In particular, in order to get the computed margins of a table, we used to query
the inner table frame, and this patch corrects that.  Also, when shrink wrapping
tables, we used to not take the margins of the inner table frame into account,
which is fixed by this patch too.  nsBlockReflowState::
ComputeReplacedBlockOffsetsForFloats also needed to be changed to read the
margin values from the outer frame too.

Also, as part of this patch, we start to respect the CSS2.1 margin model for
captions on all sides.  This means that in particular, the top/bottom margins on
the top-outside and bottom-outside captions will not be collapsed with the
top/bottom margins of the table, and that the margins of the caption element
contribute to the width and height of the outer table frame.  The
427129-table-caption reftest has been modified to match this new behavior.

Another side effect of this bug is fixing bug 87277, and the reftests for that
bug are marked as passing in this patch.
2011-05-31 19:02:56 -04:00
..
abs-pos Bug 656130 - Part 1: Make sure that the absolute containing frame to be returned is actually marked as such in the frame tree; r=bzbarsky 2011-05-11 19:53:34 -04:00
backgrounds Add CSS test suite metadata to the vector background-size tests. r=metadata and please DONTBUILD 2011-08-09 13:54:32 -07:00
bidi Tests for bug 670226. r=roc 2011-07-12 10:34:50 +03:00
border-image Add missing </title> that was causing these tests to be commented out. (Bug 681403) 2011-08-23 15:42:11 -04:00
border-radius Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe 2011-09-19 13:05:15 -07:00
box-ordinal
box-properties
box-shadow Bug 633627 - Disable tests that fail with fixedpoint blurring. r=roc 2011-09-19 09:34:32 -07:00
bugs Bug 659828 - Part 1: Apply table margins to the outer table frame instead of the inner table frame (also fixes bug 87277); r=dbaron 2011-05-31 19:02:56 -04:00
canvas Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe 2011-09-19 13:05:15 -07:00
columns
counters
css-calc
css-charset
css-default
css-disabled
css-enabled
css-gradients
css-import
css-invalid Add needs-focus annotation for a bunch of tests with selects in them to try to fix intermittent failures. (Bug 626103) 2011-06-12 18:52:32 -07:00
css-mediaqueries
css-namespace
css-optional
css-parsing
css-placeholder
css-required
css-submit-invalid
css-transitions
css-ui-invalid Add needs-focus annotation for a bunch of tests with selects in them to try to fix intermittent failures. (Bug 626103) 2011-06-12 18:52:32 -07:00
css-ui-valid Add needs-focus annotation for a bunch of tests with selects in them to try to fix intermittent failures. (Bug 626103) 2011-06-12 18:52:32 -07:00
css-valid Add needs-focus annotation for a bunch of tests with selects in them to try to fix intermittent failures. (Bug 626103) 2011-06-12 18:52:32 -07:00
css-valuesandunits
css-visited
cssom
datalist
dom
editor Backout changeset a72195ce0eaa (bug 612128) becasue of Fennec regressions 2011-09-22 18:09:44 -04:00
first-letter
first-line Bug 10209 - Part 5: Allow table elements to act as absolute positioning containers; r=roc 2011-05-09 20:36:10 -04:00
flexbox
floats Bug 659828 - Part 1: Apply table margins to the outer table frame instead of the inner table frame (also fixes bug 87277); r=dbaron 2011-05-31 19:02:56 -04:00
font-face bug 670900 - reftest for handling 404 (not found) error on @font-face request. r=roc 2011-07-18 14:20:05 +01:00
font-features Bug 633047 - fix condition for Win64 reftest. r=ehsan 2011-07-19 13:39:11 +09:00
font-matching Bug 3512. Reftests to test font-stretch with different sets of font families. r=jkew 2011-09-07 13:00:15 +09:00
fonts Merge last green changeset on m-i to m-c. 2011-09-05 07:57:34 -04:00
forms Bug 680747 - Set a min and pref width to nsProgressFrame. r=dbaron 2011-08-23 00:30:33 +02:00
generated-content
ib-split
image Bug 637852. Part 16: Mark newly-passing reftests. 2011-06-23 00:11:28 +12:00
image-element Bug 634759 followup followup, remove the bug numbers that explain removed annotations DONTBUILD 2011-08-29 19:32:13 -07:00
image-rect
image-region
inline-borderpadding
invalidation
layers
line-breaking
list-item
margin-collapsing Bug 659828 - Part 1: Apply table margins to the outer table frame instead of the inner table frame (also fixes bug 87277); r=dbaron 2011-05-31 19:02:56 -04:00
marquee Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe 2011-09-19 13:05:15 -07:00
mathml Bug 673759 - Reftests for positive namedspaces; r=karlt 2011-09-27 03:13:23 +01:00
native-theme Bug 676387 - XUL elements with -moz-appearance should ignore clicks in their overflow. r=roc 2011-08-08 20:31:52 +02:00
object
ogg-video Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe 2011-09-19 13:05:15 -07:00
pagination bug 675490 - push nonplaced tfoots and mark them as nonrepeating r=bz 2011-08-13 18:37:43 +02:00
percent-overflow-sizing
pixel-rounding
printing
reftest-sanity Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe 2011-09-19 13:05:15 -07:00
scrolling Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe 2011-09-19 13:05:15 -07:00
selection Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe 2011-09-19 13:05:15 -07:00
svg Bug 630657 - masks should respect color-interpolation. r=jwatt 2011-09-29 15:03:21 +01:00
tab-size
table-anonymous-boxes bug 211636 replace shared table attribute mapping by a more rule conforming mapping r=dbaron 2011-08-20 12:18:50 +02:00
table-background
table-bordercollapse
table-dom
table-width
text bug 688779 followup - re-enable reftests for hyphenation (en-US only) on android. 2011-09-29 10:40:28 +01:00
text-decoration Make tests for bug 403524 use local images rather than http: ones. 2011-08-20 21:35:56 -04:00
text-indent
text-overflow Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe 2011-09-19 13:05:15 -07:00
text-shadow Bug 403524: Merging codepaths introduced some reftest failures; we need to fix them (r=dbaron) 2011-08-03 11:30:58 -07:00
text-transform
transform
transform-3d Bug 682922 - Disable preserve-3d on scroll frames. r=roc 2011-09-05 10:25:35 +12:00
unicode Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
view-source
webm-video Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe 2011-09-19 13:05:15 -07:00
xul Bug 623922 followup, annotate that menulist-shrinkwrap-2.xul fails on Android, DONTBUILD 2011-06-29 21:09:57 -07:00
xul-document-load
z-index
filters.svg
Makefile.in
reftest.list Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe 2011-09-19 13:05:15 -07:00