Commit Graph

41 Commits

Author SHA1 Message Date
Robert O'Callahan
04e9887192 Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
This patch does several things. Sorry.

In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.

In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.

We remove nsDisplayClip and everything that depends on it.

We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.

nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.

I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.

--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
Chris Lord
d0eb801445 Bug 824745 - Fuzz clipping tests more on Android. r=karlt
Bug 716403 has caused subpixel alignment to be slightly different to what it
was before, so increase fuzzing slightly to account for this.
2013-03-18 06:30:24 +00:00
Jim Mathies
2b3ce8ab65 Bug 850454 - clipping-5-refi and scroll-1 reftests need to be fuzzy on Win8. r=joe 2013-03-14 10:06:21 -05:00
Jim Mathies
9a0a7ed344 Bug 848941 - make certain layout/reftests/border-radius tests fuzzy for Win8. r=joe 2013-03-11 14:08:54 -05:00
Andrew Halberstadt
3a19a47088 Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Nicholas Cameron
b551960b96 Bug 732535; border-radius tests on android. r=karlt
--HG--
extra : rebase_source : 76df5bafa2c232554bcc08f0f5c610934a9e80ff
2012-12-28 15:08:47 +13:00
Nicholas Cameron
ebecee3b8d Bug 732535; border-radius tests on android. r=karlt
--HG--
extra : rebase_source : 84e0aca10c33587e47a38fbb5e081acbf912c8e6
2012-12-24 15:11:07 +13:00
Chris Lord
e61ab4d79f Bug 758620 - Add fuzzing to fixed-pos reftests. r=roc
Now that fixed position elements are always separate onto their own layers,
they are victims of rounding errors/differences during composition.
This change adds fuzz for the affected platforms/tests.
2012-06-27 16:44:06 +01:00
Joel Maher
7ba48baac9 Bug 748088 - Native android reftest are not testing OMTC+OGL. r=ajuma 2012-06-01 08:42:38 -04:00
Jeff Muizelaar
1420f5a06f Bug 749976. Reduce the curve tolerance to be closer to skia on mobile. r=bgirard
Skia uses a value of 0.5, however using such a high value causes some reftest failures.
Switch to 0.3 because we can do that without changing the reftests too much. We
can still use a higher value if we need to later. This should give us sqrt(3)
reduction in the number of segments.

--HG--
extra : rebase_source : 39f1892a61f7e242460deb1bc21adb30778147e3
2012-05-25 00:49:54 -04:00
Nicholas Cameron
a9886c1559 Bug 716439; some tweaks to reftests. r=roc 2012-03-27 11:32:46 +13:00
Matt Woodrow
86a700a6ae Bug 747718 - Disable ColorLayer optimizations when we have rounded-rect clipping. r=roc 2012-04-27 12:24:53 +12:00
L. David Baron
5bbf91479c 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
Boris Zbarsky
75e7764b8a 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
Benoit Girard
4ee20d1356 Bug 691354 - Enable test fix by changes. r=jmuizelaar 2011-10-17 13:09:03 -07:00
Benoit Girard
95f511b8f5 Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe
--HG--
extra : rebase_source : b5458fa13fc6277560eb0ebc3e4e31f6c04b4e6c
2011-09-19 13:05:15 -07:00
Phil Ringnalda
a947adb0a9 Bug 634759 followup followup, remove the bug numbers that explain removed annotations DONTBUILD 2011-08-29 19:32:13 -07:00
Benjamin Stover
5180a1c2e4 Bug 634759 Followup: Mark unexpected passes as expected r=me 2011-08-29 13:42:35 -07:00
Jeff Muizelaar
8f912ae15e Bug 562746. Update cairo to 1.10.
A lot of changes from upstream here that will hopefully be smoothed
out a bit soon.
2011-03-10 14:52:15 -05:00
Ehsan Akhgari
bfd552d30a Backout bug 562746 (Cairo update to version 1.10) because of the possible Dromaeo regression on Mac OS X 10.5) 2011-05-26 14:57:50 -04:00
Jeff Muizelaar
f9513e5a85 Bug 562746. Update cairo to 1.10.
A lot of changes from upstream here that will hopefully be smoothed
out a bit soon.
2011-03-10 14:52:15 -05:00
Timothy Nikkel
d2660233c6 Bug 646799. Clip the contents of iframes to border-radius. r=roc 2011-04-22 01:15:44 +02:00
Phil Ringnalda
1ee2ccd2c2 Bug 650569 - layout/reftests/border-radius/clipping-3.html fails on Android 2011-04-16 18:12:48 -07:00
Joel Maher
c6cc559d6f Bug 636753 - annotate reftest manifests to note tests that fail on Android (2 of 2). r=dbaron a=test-only 2011-03-18 11:54:15 -04:00
Timothy Nikkel
45e07ae313 Bug 628745. Replace rounded rect clips with their non-rounded cousins whenever possible. r=roc a=roc 2011-01-26 12:36:11 -06:00
Robert O'Callahan
bd61eb5cc7 Bug 602892. Fix test. a=test 2011-01-04 23:35:27 +13:00
Robert O'Callahan
a9b5ff74e1 Mark test for bug 602892 random since it fails on Mac and Windows; visually it's OK, but there are differences at the edges, a=test 2011-01-04 23:25:52 +13:00
Robert O'Callahan
8050f8a959 Bug 602892. Part 2: Ensure that a scrollframe is 'inactive' if it can't be scrolled by blitting. r=tnikkel,a=blocking 2011-01-04 21:46:59 +13:00
Ehsan Akhgari
25b6a1d8e8 Mark the test as random on Windows (bug 500141); irc-r=dbaron a=orange-fix 2010-11-18 17:25:07 -05:00
L. David Baron
f986875fda Add reftests for bug 500141. a2.0=tests+blocking 2010-11-18 11:06:14 -08:00
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
e4c76eccb0 Bug 451134 (1/2): switch to the official border-radius property names: purely mechanical changes. r=dbaron a2.0=blocking2.0:beta6
This was generated with the command:

LC_ALL=C grep -irlEZe '[-_]moz[-_]border[-_]radius([-_](top|bottom)(right|left))?' * | xargs -0 perl -pi -e \
    's/-moz-border-radius-(top|bottom)(left|right)/border-${1}-${2}-radius/gi;
     s/_moz_border_radius_(top|bottom)Right/border_${1}_right_radius/g;
     s/_moz_border_radius_(top|bottom)Left/border_${1}_left_radius/g;
     s/-moz-border-radius/border-radius/gi;
     s/_moz_border_radius/border_radius/g;'
2010-09-09 08:21:47 -07:00
L. David Baron
df6e839771 Add reftests for clipping to the border-radius curve. (Bug 459144, Bug 485501) a2.0=blocking2.0:beta6 2010-09-09 08:21:47 -07:00
L. David Baron
86166b79e6 Reduce the border-radius of elements with overflow != visible so that any present scrollbars are not clipped. (Bug 459144, patch 8) r=roc a2.0=blocking:beta6+ 2010-09-07 15:20:35 -07:00
Zack Weinberg
38c9db7305 Bug 471643: Evaluate vertical percentages in border-radius relative to box height. r=dbaron a2.0=blocking:beta6+ 2010-08-31 12:05:11 -04:00
Mark Banner
32648806db Backed out changeset f600448ae7db / bug 471643 due to reftest failures 2010-08-19 09:27:01 +01:00
Zack Weinberg
531e232c65 Bug 471643: Make vertical percentages in border-radius relative to box height. r=dbaron 2010-08-19 09:45:32 +02:00
L. David Baron
934c377eda Rename properties and values of background-clip and background-origin to match css3-background. (Bug 549809) r=roc 2010-06-08 18:44:33 -07:00
Jonathan Griffin
6f4f282c68 Bug 458131. Additional reftests for border-radius. r=zwol 2009-11-10 11:08:38 -08:00
Robert O'Callahan
79306e31ef Bug 442715. Invalidate the whole border-box when an element's size changes and its background is being clipped by a border-radius. r=dbaron
--HG--
extra : rebase_source : b9e738ebd64cbcc871a7d1a7178e1eccf64e66f1
2009-09-25 11:52:13 +12:00
Zack Weinberg
d6ddf74552 Bug 459148 - use thebes primitives for SVG rounded rects - r=longsonr,vlad sr=roc 2008-12-04 21:01:37 -08:00
Zack Weinberg
24671e743c Bug 450652 – Style system changes to support CSS3 border-radius – basic test cases (part 3) [r+sr=dbaron] 2008-10-01 00:52:12 -05:00