Commit Graph

1398 Commits

Author SHA1 Message Date
Timothy Nikkel
1ffc261aeb Bug 848421. Reftest. 2013-03-06 23:13:14 -06:00
Timothy Nikkel
7de6e3b759 Bug 847850. Test. 2013-03-06 23:13:13 -06:00
Scott Johnson
73cf89a288 Bug 724978: Make nsColumnSetFrame handle absolutely positioned children without crashing. [p=ehsan, r=fantasai] 2013-02-28 19:56:48 -08:00
Matt Woodrow
1de129a04c Bug 846144 - Don't optimize backgrounds to an ImageLayer if they have border-radius clipping. r=roc 2013-02-28 21:49:30 +13:00
Andrew Halberstadt
ff9c9f4a53 Bug 839735 - Disable bugs/478811-*.html, 637852-1.html, 331809-1.html for intermittent scrollbar not being drawn on b2g, r=jgriffin, DONTBUILD a=NPOTB 2013-02-27 13:31:13 -05:00
Timothy Nikkel
d527e34e8c Bug 689623. Part 1. The display list we build for image visibility means we hit the same assertions as we hit when building the painting display list. So adjust some reftest assert counts upwards. r=mats 2013-02-24 18:59:20 -06:00
Kyle Huey
c28e572034 Bug 816498: Fix some things about background attribute handling that are still broken. r=bz
As filed the bug is about table backgrounds failing to print.  The root cause of this is that we load images from the original document, because print/print-preview documents (which are static clones of the original) cannot do loads.  This results in an entry in the css::ImageValue's request table under the original document, but entry under the printing document.  Then we do layout, try to get the request, and fail, and nothing is displayed.  The solution to this is to force us to clone the request for the printing document if we're loading off the original document.  I manually verified that this does not regress Bug 560235.

While writing a test for this, we discovered another problem.  The reftest print code does not actually use the printing codepath.  Instead it takes an existing document, tears down its presshell, and creates a new presshell for printing.  Fixing the above bug did not make the reftest print test pass because ImageLoader does not deal properly with presshell destruction/recreation.  It assumes that when the presshell is destroyed all of the css::ImageValues can be cleared of their entries for that document.  This fails for ImageValues for mapped attributes because they are held alive by the content tree.  When a new presshell for this document is then created there is no entry for the document and thus no image request to paint.  The fix for this is to only clear the frame to request and request to frame mapping hashtables and not to clear the document's entry on the ImageValue when the presshell is destroyed.  The destruction of the ImageLoader (which is held from a strong reference on the document) is when those entries are removed.  The final change is to change css::ImageValue's hashtable from holding a strong reference to the keys (which are documents) to holding raw pointer references.  This is safe because we clear the relevant entry when the corresponding ImageLoader dies, and is needed to prevent a reference cycle that was being broken by presshell destruction.

--HG--
rename : layout/reftests/backgrounds/table-background-ref.html => layout/reftests/backgrounds/table-background-print-ref.html
rename : layout/reftests/backgrounds/table-background.html => layout/reftests/backgrounds/table-background-print.html
2013-02-23 06:59:43 -08:00
Simon Montagu
bc3de2f0c9 Tests for bug 801681, r=tests 2013-02-14 08:20:26 +02:00
Ed Morley
109a832f24 Bug 655877 - Remove WinXP fails-if for the now passing 580863-1.html; r=me
CLOSED TREE
2013-02-11 11:33:32 +00:00
Bobby Holley
966a177f72 Bug 821850 - Make XBL-in-content tests Xray-safe. r=bz
We use XPCNativeWrapper.unwrap rather than .wrappedJSObject so that the tests
are agnostic to whether there's an Xray wrapper or not.

I converted test_tree_column_reorder.xul into a chrome test because it does
all sorts of crazy introspection on the binding, and it really should be
a chrome test anyway.
2013-02-08 14:24:19 +00:00
Matt Woodrow
5bcac828f4 Bug 836844 - Pass the right clip area for canvas frames. r=roc 2013-02-04 07:11:49 -05:00
Robert O'Callahan
0765424df3 Bug 828146. Ensure nsDisplayBackgroundImage::ComputeInvalidationRegion invalidates something for nsDisplayBackgroundImages which are themed. r=mattwoodrow
--HG--
extra : rebase_source : 1050ffe991aed624958b9cb63f142a76a34fc67d
2013-02-01 17:09:32 +13:00
Mats Palmgren
31f7a459cb Bug 825999 - Apply overflow:hidden also to replaced elements. r=roc 2013-01-24 21:44:38 +01:00
Boris Zbarsky
8612fe0238 Bug 827799. Apply clip to outer table frames as needed. r=roc 2013-01-15 14:04:24 -05:00
Bas Schouten
0521d72220 Bug 817019 - Reftest: Test bounded ops with opaque canvas and complex radial gradient. r=jrmuizel 2013-01-15 02:20:10 +01:00
Robert O'Callahan
0a7fb44e77 Bug 827577. Be a lot more careful about saving and restoring frame constructor state for fixed-pos descendants of CSS-transformed elements. r=bzbarsky
--HG--
extra : rebase_source : b78a8cb774b961696e59c2c27a8ade56d629b78f
2013-01-11 00:47:33 +13:00
Andrew Halberstadt
3a19a47088 Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
James Kitchener
e46ce2013d Bug 411227 - Update ParseNumericValue behavior and change tests to support unitless values in script(min)size. r=fredw 2013-01-06 22:24:13 -05:00
Robert O'Callahan
e2825e0682 Bug 816359. Part 1: When constructing inline frames, we should never treat transforms as making the inline an abs-pos containing block, since transforms don't apply to inlines. r=bz 2012-12-31 11:45:51 +13:00
Bas Schouten
7e262612b8 Bug 814952 - Test: Add a reftest for non-scaled stroke. r=jrmuizel 2012-12-13 16:34:51 +01:00
Ehsan Akhgari
ca24da4c22 Backed out 2 changesets (bug 814952) because it breaks the build
Backed out changeset 974417414266 (bug 814952)
Backed out changeset 315707349606 (bug 814952)
2012-12-12 16:16:35 -05:00
Bas Schouten
c2a16387f2 Bug 814952 - Test: Add a reftest for non-scaled stroke. r=jrmuizel 2012-12-12 21:37:10 +01:00
Robert O'Callahan
a6cc417386 Bug 818276. Update margins and scrollbar settings for a child document whenever the corresponding IFRAME state changes, even if we do not recreate the presentation. r=matspal 2012-12-07 12:58:15 +13:00
Robert O'Callahan
faea2c746e Bug 816458. Instead of removing the MAY_BE_TRANSFORMED bit in certain frame classes, add an nsIFrame::SupportsCSSTransforms method and call it when necessary. r=mats 2012-12-04 17:50:05 +13:00
Mats Palmgren
11281fb75a Bug 814677 - Replace XP_IS_SPACE with dom::IsSpaceCharacter and add form-feed to match DOM spec. r=bz 2012-11-30 17:04:11 +01:00
Robert O'Callahan
f9199a2935 Bug 815593. Don't layerize images that exceed MaxTextureSize. r=mattwoodrow
--HG--
extra : rebase_source : f94300b24b90d063df095324663c9d8fa49e42e9
2012-11-28 15:34:45 +13:00
Robert O'Callahan
05743fdf57 Bug 815030. Invalidate cached background images in when a frame gets a visual style change. r=mattwoodrow
--HG--
extra : rebase_source : eef4784ea2d4ef0f88d6dfdbf3258d1b8416f443
2012-11-27 22:05:10 +13:00
Kyle Huey
2776d5fcb3 Bug 812824: Use a clean struct for inheritance on root nodes. r=dbaron,Waldo 2012-11-28 13:21:36 -08:00
Daniel Holbert
ddc62401ce Bug 796847 followup: Fix typo in test filename in reftest.list, fixing reftest orange. 2012-11-27 21:29:52 -08:00
Matt Woodrow
267797705e Bug 796847 - Fix typo in reftest file. rs=npotb DONTBUILD 2012-11-28 17:09:11 +13:00
Matt Woodrow
c583d29257 Bug 796847 - Make AdjustInvalidAreaForSVGEffects correctly adjust for the coordinate space of the input rect. r=dholbert 2012-11-28 17:06:07 +13:00
Boris Zbarsky
abcee77db3 Bug 776443 part 2. Support percent-less calc for internal table element widths. r=dbaron 2012-11-21 11:19:37 -05:00
Boris Zbarsky
6eeb17d512 Bug 776443 part 1. Support percent-less calc for internal table element heights. r=dbaron 2012-11-21 11:19:30 -05:00
Ryan VanderMeulen
4b287535f2 Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
ba3c8f34ef Bug 776443 part 2. Support percent-less calc for internal table element widths. r=dbaron 2012-11-21 11:19:37 -05:00
Boris Zbarsky
84d68be849 Bug 776443 part 1. Support percent-less calc for internal table element heights. r=dbaron 2012-11-21 11:19:30 -05:00
Robert O'Callahan
b37fa487a3 Bug 811301. Part 1: Save and restore state of root scroll frame when reframing the root element, and treat root scroll frame state like any other frame. r=mats 2012-11-14 22:39:58 -08:00
Matt Woodrow
a76c8cb386 Bug 810186 - Don't unnecessarily nest inactive layers. r=roc 2012-11-13 14:22:21 -08:00
Jet Villegas
677bf3dda3 Bug 806068 part 2: Change in-tree usage of -moz-initial to initial. r=dholbert 2012-10-30 16:57:36 +01:00
Nathan Froyd
1b6bae88b9 Bug 629633 - fix 363370-1.html intermittent orange by using reftest-wait; r=dholbert 2012-10-27 21:01:41 -04:00
Nathan Froyd
78e4da7d64 Bug 778695 - fix 328829-2.xhtml intermittent orange by using reftest-wait; r=dholbert 2012-10-27 12:35:24 -04:00
Robert O'Callahan
39e909adb2 Bug 804323. Mark newly-transformed frames as abs-pos containers (or not). r=bzbarsky 2012-10-26 22:11:24 +13:00
Ryan VanderMeulen
0a11a998a5 Backout 1ebc3b1b8feb, 205c1c846d70 (bug 801488), and e4367fd2043f (bug 804323) due to b-c crashes. 2012-10-25 07:53:36 -04:00
Robert O'Callahan
c83b18cd3f Bug 804323. Mark newly-transformed frames as abs-pos containers (or not). r=bzbarsky 2012-10-25 00:35:29 +13:00
Mats Palmgren
958294fc34 Bug 803473 - Wait for MozReftestInvalidate to fix orange. r=roc 2012-10-22 15:53:31 +02:00
Boris Zbarsky
7df123b830 Bug 801994. Fix intrinsic width determination in cases when we have an intrinsic ratio and our height is styled as calc() with percentages. r=dholbert 2012-10-17 17:01:56 -04:00
Boris Zbarsky
a3858f9ce9 Bug 599882. Make baselines not depend on relative positioning of kids. r=dbaron 2012-10-17 17:01:55 -04:00
Robert O'Callahan
44b8a89b58 Bug 797797. Reftest.
--HG--
extra : rebase_source : 028a2835dd34e37a7dcf965bd2d23b004dce0bb9
2012-10-05 15:37:29 +13:00
Robert O'Callahan
81b338decc Bug 787947. Avoid scaling by 0 when snapping gradient tiles. r=jrmuizel 2012-09-25 15:25:48 +12:00
Ed Morley
0748a2405b Backout a5c50066ecbb (bug 787947), ee9f796b8416 (bug 794709) for crashtest/reftest assertions 2012-10-04 13:15:00 +01:00