Commit Graph

3767 Commits

Author SHA1 Message Date
Vincent LAMOTTE
2c02cd383c Bug 657953 (1/2) - Implement the layout part of the meter element. r=roc 2012-05-16 17:47:10 +02:00
Ed Morley
8e3f4a6794 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-06 09:20:35 +01:00
Ms2ger
6b95a92395 Bug 760047 - Don't handle a null aDocument in nsGlobalWindow::SetNewDocument; r=mounir 2012-06-06 09:36:58 +02:00
Ms2ger
4ff76331ca Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron
This changes nsCSSParser::ParseColorString to fill in an nsCSSValue instead
of an nscolor, and exposes nsRuleNode::ComputeColor to turn this nsCSSValue
into an nscolor.

Because gradients can be used with different canvas elements in different
documents, these cannot pass useful values for nsRuleNode::ComputeColor's
aPresContext and aStyleContext arguments. This patch also changes SetColor
to deal with those parameters being null.
2012-06-06 09:36:38 +02:00
Scott Johnson
95ee0198eb Bug 749186, Followup 2: Crashtest for bug 749186 [r=dbaron].
--HG--
extra : rebase_source : 8fd8b01b46c9150f8ba14f87b8b34aa6fa9da11c
2012-06-05 22:47:38 -05:00
Scott Johnson
e35726280c Bug 749186, Followup Patch 1: Cache font inflation settings in pres shell to prevent crash. [r=dbaron]
--HG--
extra : rebase_source : dc8b8f66bcd49c54ecefdf94793100b7901e6f3b
2012-06-05 22:47:33 -05:00
Geoff Lankow
552f02f3f1 Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
L. David Baron
6570cc2a66 Restore application of font size inflation to radios and checkboxes. (Bug 757937) r=roc 2012-06-04 16:26:30 -07:00
Nathan Froyd
7a87ca1ecf Bug 760812 - correct bitflags for allocating objects by size in nsPresArena; r=roc 2012-06-05 10:14:58 -04:00
Kartikaya Gupta
ee659229d7 Bug 758361 - Move the before-first-paint event so it doesn't get improperly triggered on a plugin codepath. r=bz 2012-06-04 12:26:03 -04:00
Boris Zbarsky
3e2c65e37d Bug 759997. Break out the three branches of SurfaceFromElement into separate functions so that we can call the one that matches the kind of element we have directly. r=roc 2012-05-31 14:16:49 -04: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
5d52e9af75 Bug 759457. Don't fast path shadows with negative scale. r=roc
We don't support this yet, so don't bother trying.
2012-05-31 18:22:28 -04:00
Boris Zbarsky
0129fdd04a Backed out changeset 6a46906eb017 (bug 759997) because the bug it depends on got backed out. 2012-05-31 17:05:03 -04:00
Boris Zbarsky
1eccfcef17 Bug 759997. Break out the three branches of SurfaceFromElement into separate functions so that we can call the one that matches the kind of element we have directly. r=roc 2012-05-31 14:16:49 -04:00
L. David Baron
1cfabfe8f6 Unprefix the border-image-* properties and add a temporary alias for -moz-border-image (but not for its subproperties, which we haven't shipped prefixed). (Bug 713643, patch 5) r=bzbarsky 2012-05-30 22:19:49 -07:00
L. David Baron
9e7a3546cf Remove nsStyleBorder::GetActualBorder, since it now does the same thing as nsStyleBorder::GetComputedBorder. (Bug 713643, patch 3) r=bzbarsky 2012-05-30 22:19:49 -07:00
Shriram Kunchanapalli
3216ac51ce Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Boris Zbarsky
6543d621c5 Bug 464758. Don't try to check for :before/:after pseudos for frames that can't have them. r=dbaron 2012-05-29 23:45:17 -04:00
Robert O'Callahan
3ce7640e85 Bug 758179. Part 1: Flush layout before calling nsFrame::HandlePress/HandleRelease. r=mats 2012-05-30 01:13:36 +12:00
Boris Zbarsky
e7ff5ec8dd Bug 758885. Don't apply the dynamic :hover reresolution skipping optimization to selectors which can match on mutable state other than :hover. r=dbaron 2012-05-29 00:17:45 -04:00
Nicholas Cameron
5731bf3be3 Bug 758561 - Don't build a mask for an empty layer. r=roc 2012-05-28 21:10:08 -04:00
Nicholas Cameron
eaca72e8fd Bug 757346 - Change from clipping the mask to drawing it. r=roc 2012-05-27 16:55:22 -04:00
Takanori MATSUURA
5c9f3f4809 Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Alexander Surkov
05d6b0b663 Bug 757670 - make nsIPresShell::GetLinkLocation faster, r=bz, tbsaunde 2012-05-24 15:57:16 +09:00
Kartikaya Gupta
0a9040618b Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats 2012-05-23 10:51:39 -04:00
Neil Deakin
994d3d4070 Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz 2012-05-23 14:46:04 -04:00
Kartikaya Gupta
04a457fab1 Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage 2012-05-23 11:08:19 -04:00
Kartikaya Gupta
9db13b7a79 Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats 2012-05-23 10:51:39 -04:00
Robert O'Callahan
ecbab2ff94 Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel 2012-05-04 17:00:57 +12:00
Nicholas Cameron
a75759c60f Bug 753784; force mask layers to have a single tile - misc bits and pieces. r=roc 2012-05-17 10:30:10 +12:00
Nicholas Cameron
9be563af61 Bug 753784; add the ability to force a single tile. r=roc 2012-05-22 19:14:03 -04:00
Jeff Muizelaar
4053a1e846 Bug 757039. Handle non-uniform scales when doing device space blurs. r=roc
The Java screenshoting code draws pages at non-uniform scales. It's not much
work to handle these so let's do it.

--HG--
extra : rebase_source : 6b3a2a6db21f9cff4ce97a5a10c368d95f730387
2012-05-22 11:32:08 -04:00
David Zbarsky
671206ed34 Bug 756813: Prevent creation of ImageLayer if ImageContainer is null r=gal 2012-05-21 10:47:40 -07:00
Ed Morley
f0346ff780 Merge mozilla-central to mozilla-inbound 2012-05-21 13:19:38 +01:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
L. David Baron
90bd8753e1 Remove caching of current inflation container and its width from the pres context. (Bug 747720, patch 6) r=roc
This is no longer needed because we're getting the width from
nsFontInflationData and the null-ness of the container from
mInflationDisabledForShrinkWrap.
2012-05-20 22:18:28 -07:00
L. David Baron
3ab78f01f9 Remove width determination parameters from font inflation methods. (Bug 747720, patch 5) r=roc
These are no longer needed since we're getting the width from the
nsFontInflationData.
2012-05-20 22:18:28 -07:00
L. David Baron
4a752104bd Use the same width basis for font inflation throughout a font inflation flow root. (Bug 747720, patch 3) r=roc
Font inflation flow roots are similar to block formatting contexts,
though I'm trying to make not all block formatting contexts be flow
roots in later patches on this bug, bug 707195, and related bugs.

This will lead to more consistent font size inflation in a flow of text
where the blocks vary in width (e.g., because some of the blocks have
horizontal margins) but we determine the text to comprise a single flow.
2012-05-20 22:18:27 -07:00
L. David Baron
11f5c76522 Replace AutoMaybeNullInflationContainer with AutoMaybeDisableInflationForShrinkWrap since the concept of the pres context's current inflation container will be going away. (Bug 747720, patch 2) r=roc 2012-05-20 22:18:27 -07:00
Phil Ringnalda
9636fcfcd2 Bug 688128 - Don't run test_flush_on_paint.html on OS X, where it mostly fails, r=roc 2012-05-18 22:22:55 -07:00
Benjamin Smedberg
2187798a40 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Jeff Muizelaar
9731bb1eff Bug 754985. Draw shadows in device space when using a uniform scale. r=roc
--HG--
extra : rebase_source : 9d5bf7c1e6a2373718724ace6da1229b2213c1b6
2012-05-16 16:45:25 -04:00
David Zbarsky
e93bdbfeeb Bug 756229 - Fix some layout warnings. r=roc 2012-05-18 11:42:39 -04:00
Robert Longson
165f6890cf Bug 528332 - Implement non-scaling-stroke vector-effect. Part 1 - style system changes r=dbaron 2012-05-18 09:33:40 +01:00
Aryeh Gregor
7cb03d1868 Bug 756045 - Turn "ASSERTION: anonymous nodes should not be in child lists" into an NS_WARNING; r=bz 2012-05-18 09:20:49 +03:00
Robert Longson
a067109b15 Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt 2012-05-17 11:02:41 +01:00
Jonathan Watt
c8b52ec634 Bug 734082 - Compute and store bounds and visual overflow bounds for both SVG leaf and container frames. r=roc. 2012-05-17 05:05:09 +01:00
Nicholas Cameron
044718db79 Bug 755078 - Disable mask layers on Android. r=roc 2012-05-17 10:30:10 +12:00