gecko/layout/reftests
Robert O'Callahan d0dd680745 Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel
Previously we snapped the results of nsDisplayItem::GetBounds and
nsDisplayItem::GetOpaqueRegion internally. By tracking which display items were
inside transforms, we disabled snapping quite conservatively whenever an ancestor
had a transform, which is undesirable.

With this patch, we don't snap inside GetBounds or GetOpaqueRegion, but just return
a boolean flag indicating whether the item will draw with snapping or not. This flag
is conservative so that "true" means we will snap (if the graphics context has a transform
that allows snapping), but "false" means we might or might not snap (so it's always safe
to return false).

FrameLayerBuilder takes over responsibility for snapping item bounds. When it converts
display item bounds to layer pixel coordinates, it checks the snap flag returned from
the display item and checks whether the transform when we draw into the layer will be
a known scale (the ContainerParameters scale factors) plus integer translation. If both
are true, we snap the item bounds when converting to layer pixel coordinates. With
this approach, we can snap item bounds even when the items have ancestors with active
transforms.
2012-04-10 23:24:18 +12:00
..
abs-pos Unprefix uses of -moz-box-shadow and -moz-border-radius that have crept back in to the tree, prior to removing support for the prefixed forms. (Bug 693510) r=Mossop 2012-02-22 14:14:51 -08:00
backgrounds Back out Bug 679230 due to Android reftest failures. 2012-04-07 10:36:49 -07:00
bidi Tests for bug 730562, r=roc 2012-03-21 16:50:45 -07:00
border-image Bug 497995: Part 4 - Tests for border-image using computed border width. r=dbaron 2011-12-22 18:35:10 -05:00
border-radius Unprefix uses of -moz-box-shadow and -moz-border-radius that have crept back in to the tree, prior to removing support for the prefixed forms. (Bug 693510) r=Mossop 2012-02-22 14:14:51 -08:00
box Bug 733875: If you're a nsFrame inside a box, be sure to reflow your absolute children after box layout gives you your size. r=bz 2012-03-10 14:50:51 -08:00
box-ordinal
box-properties Bug 665597 - Fix some reftests assumptions about margins and scrollable overflow. part=5/5 r=dbaron,roc 2012-01-17 00:38:10 +01:00
box-shadow Bug 704399. When doing the 'restrict background painting to the padding area' optimization, actually restrict it to padding area plus 1px on each side to deal with seams caused by curved borders better. r=roc 2011-11-23 12:59:51 -05:00
bugs Bug 731521. Computed border on our descendants can change due to a change of our specified border styles even if our computed border did not change. r=dbaron 2012-04-05 13:14:54 -04:00
canvas Bug 738919. Add reftest for a canvas dash array with a single element. r=mwoodrow. 2012-03-27 12:00:34 -04:00
columns Bug 715203 - Fix ua.css to include moz-column-fill as inherited property for scrolled content. [r=bz] 2012-01-09 16:15:10 -06:00
counters
css-calc
css-charset
css-default
css-disabled
css-enabled
css-gradients Bug 718329 - Make fuzzy reftests take max tolerance values. r=roc 2012-01-23 20:56:12 +13:00
css-import
css-invalid Bug 596515 - Add a possibility of styling form:invalid. r=mounir 2012-02-07 13:51:49 +01:00
css-mediaqueries
css-namespace
css-optional
css-parsing
css-placeholder
css-required
css-selectors Bug 704911. Don't restyle based on state selectors that match our node but don't depend on the state that's changing. r=dbaron 2011-12-05 23:58:15 -05:00
css-submit-invalid Bug 724839 - Use input:invalid in tests style instead of :invalid. r=smaug 2012-02-07 13:53:21 +01:00
css-transitions
css-ui-invalid
css-ui-valid
css-valid
css-valuesandunits
css-visited Bug 667576. Handle visited colors correctly in MathML. r=dbaron 2011-10-29 03:04:20 -04:00
cssom
datalist
dom
editor Bug 737889 - Make sure that clearing the readonly attribute does not disable spell checking; r=roc 2012-03-23 11:35:40 -04:00
first-letter Update data files to Unicode 6.1. Bug 723509, r=jfkthame 2012-02-06 15:54:52 +02:00
first-line
floats
font-face Bug 512566. Font data url reftests. r=jfkthame 2012-03-16 12:31:01 +09:00
font-features bug 726539 - reftests for repeated feature in -moz-font-feature-settings. r=jdaggett 2012-03-13 10:22:16 +00:00
font-matching bug 724231 - test that synthetic styles applied to src:local fonts do NOT use a true styled face that happens to be installed, instead of the one defined by the @-rule. r=jdaggett 2012-02-04 22:22:19 +00:00
fonts Bug 512566. Font data url reftests. r=jfkthame 2012-03-16 12:31:01 +09:00
forms Bug 728516. Refactor frame construction for things that want to wrap kids in a block. r=roc 2012-02-21 18:01:40 -05:00
generated-content
ib-split
image Bug 721659. Update the width/height of an image synchronously when src is set to something that was preloaded. r=bholley 2012-03-19 18:22:02 -04:00
image-element
image-rect
image-region
inline-borderpadding
invalidation
layers
line-breaking
list-item
margin-collapsing Bug 724352 - Don't add vertical margin to scrollable overflow here, it's already done during reflow and we don't need it for UpdateOverflow yet (and we need to account for margin-collapsing when we do). r=roc 2012-04-05 16:30:21 +02:00
marquee Bug 691354 - Enable test fix by changes. r=jmuizelaar 2011-10-17 13:09:03 -07:00
mathml Bug 572899 - Reftest mathml/semantics-1.xhtml fails with STIX 1.0.0. r=karlt 2012-04-03 20:08:27 -04:00
native-theme
object
ogg-video Bug 691354 - Enable test fix by changes. r=jmuizelaar 2011-10-17 13:09:03 -07:00
pagination Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron 2011-12-25 23:25:59 -06:00
percent-overflow-sizing
pixel-rounding Bug 497995: Part 2 - Update existing border-image tests. r=dbaron 2011-12-22 18:34:53 -05:00
printing
reftest-sanity Bug 718329 - Make fuzzy reftests take max tolerance values. r=roc 2012-01-23 20:56:12 +13:00
scrolling Bug 735141. Clear imageContainer to indicate that we're not using that optimization. r=tnikkel 2012-03-19 20:26:39 +13:00
selection Bug 698237 - Remove a wallpaper for bug 698237 in a reftest. r=me 2011-12-24 14:26:03 +01:00
svg Bug 739591 - Implement filter xlink:href support. r=roc 2012-03-28 12:31:47 +01:00
tab-size
table-anonymous-boxes Bug 695538 another test followup. Make sure that the test actually _could_ pass. 2011-10-20 16:25:31 -04:00
table-background
table-bordercollapse
table-dom
table-width Bug 735579. Correctly handle changes to column widths in fixed-layout tables. r=ehsan 2012-03-16 15:56:41 -04:00
text Reftests for bug 726392, r=dbaron 2012-02-20 08:49:44 -08:00
text-decoration
text-indent
text-overflow Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel 2012-04-10 23:24:18 +12:00
text-shadow bug 692744 - reftest - text-shadow should not produce a shadow for space glyphs. r=jrmuizel 2011-10-12 22:29:42 +01:00
text-transform bug 740477 - reftest for Dutch capitalization behavior. r=smontagu 2012-03-30 17:37:55 -07:00
transform Bug 734953 - Remove skew() transformation function; r=dbaron 2012-03-20 13:39:57 -04:00
transform-3d Bug 712630: Adjust several reftests passing criteria. r=joedrew 2012-03-15 20:27:19 +00:00
unicode
view-source
webm-video Bug 691354 - Enable test fix by changes. r=jmuizelaar 2011-10-17 13:09:03 -07:00
xul
xul-document-load
z-index
filters.svg
Makefile.in
reftest.list Bug 725723: rename reftests/flexbox to reftests/box. r=dbaron 2012-02-13 14:36:18 -08:00