Commit Graph

3858 Commits

Author SHA1 Message Date
Matt Woodrow
f535bd8833 Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc 2012-06-30 15:06:10 +12:00
Matt Woodrow
a6e3f20c79 Bug 539356 - Part 3 - Make GetParentPresContext() succeed when the current PresContext has no frames. r=bz 2012-06-30 15:06:09 +12:00
Jonathan Watt
513ddf221e Bug 769242 - Rename nsDisplaySVG to nsDisplayOuterSVG in preparation for adding other SVG display list item types. r=dholbert. 2012-06-28 20:51:20 +01:00
Ehsan Akhgari
9e198d3f62 Bug 766843 - Exempt inner table frames from optimized dynamic position change handling, as the required handling is performed for outer table frames; r=bzbarsky 2012-06-27 16:24:01 -04:00
Chris Lord
f52875b4e5 Bug 758620 - Force fixed-position frames to have their own layers. r=roc
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-27 16:43:57 +01:00
Chris Lord
9a816c469a Bug 758620 - Layout fixed-position frames to the set scroll-port. r=roc
If a scroll position clamping scroll-port size has been set, layout fixed
position frames with respect to this instead of the calculated containing
block size.
2012-06-27 16:43:46 +01:00
Ehsan Akhgari
a95b6edeea Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Daniel Holbert
df94dd9bd8 Bug 666041 patch 3: Create boilerplate nsFlexContainerFrame class. r=bz 2012-06-26 15:12:13 -07:00
Daniel Holbert
0051caa58b Bug 666041 patch 2.5: Add nsCSSFrameConstructor code for detecting when a flex container needs to have its frames rebuilt. r=bz 2012-06-26 15:11:53 -07:00
Daniel Holbert
dd5d8688a3 Bug 666041 patch 2: Add "-moz-flex" & "-moz-inline-flex" values for "display" property. r=bz 2012-06-26 15:11:38 -07:00
Ed Morley
cd98097038 Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures 2012-06-26 16:13:33 +01:00
Chris Lord
7edca27f23 Bug 758620 - Force fixed-position frames to have their own layers. r=roc
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-26 14:43:11 +01:00
Chris Lord
87d5e4ea27 Bug 758620 - Layout fixed-position frames to the set scroll-port. r=roc
If a scroll position clamping scroll-port size has been set, layout fixed
position frames with respect to this instead of the calculated containing
block size.
2012-06-26 14:42:57 +01:00
Ed Morley
3c64d735a8 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-26 09:52:55 +01:00
Nicholas Cameron
26fadecba0 Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron
01224f6b7a Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
6b5607e36f Bug 757347; changes to FrameLayerBuilder. r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
e6af467b3d Bug 757347; changes to mask layer user data. r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
6011f19ec2 Bug 757347; Add a cache for image containers. r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
2237afc914 Back out bug 757346
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Jonathan Watt
9ac7bb2267 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nicholas Cameron
7914eb8944 Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
3cd654450f Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
abe8ccd904 Bug 757347; changes to FrameLayerBuilder. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
aafc59666b Bug 757347; changes to mask layer user data. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
ed4f682932 Bug 757347; Add a cache for image containers. r=roc 2012-06-26 09:44:41 +12:00
Jonathan Watt
ec3416999b Bug 767996 - Prevent DoApplyRenderingChangeToTree calling nsSVGUtils::InvalidateBounds() and passing in an nsSVGOuterSVGFrame. r=me. 2012-06-25 18:55:30 +01:00
Aryeh Gregor
e6e1d6b4e8 Bug 766795 - Fix asserts when placing cursor in editable detached content; r=roc,ehsan 2012-06-24 09:54:43 +03:00
Bas Schouten
0064f5fb68 Bug 764117 - Part 1: Prefer performance over avoiding seaming in border drawing. r=roc 2012-06-22 16:27:38 +02:00
Robert O'Callahan
a0d0cba0e5 Bug 766007. Create scrollframes for frameset documents. r=tnikkel 2012-06-22 22:51:05 +12:00
Mounir Lamouri
1f70fdd32a Back out bug 766007, bug 703241 and bug 752796 due to perma-orange (419f0d1b848b to 8661c74deeb5). 2012-06-22 11:13:32 +02:00
Robert O'Callahan
704486f05e Bug 703241. Part 2: Stop the 'scroll top of line into view' behavior when ancestors in the line are transformed or positioned. Allow that behavior for any kind of line-participant ancestor. r=mats 2012-06-22 17:06:54 +12:00
Robert O'Callahan
596c6feb9c Bug 703241. PresShell::DoScrollContentIntoView and PresShell::ScrollFrameRectIntoView should take transforms into account. r=matspal 2012-06-22 17:06:49 +12:00
Robert O'Callahan
5480454568 Bug 766007. Create scrollframes for frameset documents. r=tnikkel 2012-06-22 17:06:40 +12:00
L. David Baron
16fef30b6a Implement new values of animation-direction. (Bug 655920) r=bzbarsky 2012-06-21 11:44:34 -07:00
Kartikaya Gupta
0cf219076d Bug 755971 - Add methods to nsLayoutUtils to calculate the padding boxes. r=bz 2012-06-21 09:35:17 -04:00
Mats Palmgren
b3fab0a0ed Bug 764541. r=smontagu 2012-06-21 12:51:38 +02:00
Ryan VanderMeulen
3c55454e37 Backout b35294da2c4b (bug 764117) due to OSX reftest orange. 2012-06-20 22:56:36 -04:00
Bas Schouten
7dda2cd9c8 Bug 764117: Prefer performance over avoiding seaming. r=roc 2012-06-20 23:41:13 +02:00
Scott Johnson
d5b1127af7 Bug 763702, Part 2/2: Crashtest for bug 763702. [r=dbaron]
--HG--
extra : rebase_source : 46de60b9ddc1dd6c0f80be39d4f5491aa1525e90
2012-06-20 11:09:37 -05:00
Ehsan Akhgari
fc3761841a Bug 765597 - Invalidate the thebes layer as well as the overflow area when moving frames; r=dbaron 2012-06-19 16:47:27 -04:00
Jonathan Watt
1d7315c090 Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr. 2012-06-19 16:28:04 +01:00
Ehsan Akhgari
217735f725 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (layout parts); r=roc
--HG--
extra : rebase_source : 9f3da1b47dcb9d7cc950488b9b70aa682b6984de
2012-06-18 23:26:34 -04:00
Kartikaya Gupta
a8f112f62d Bug 763570 - Part 2 - Add a scrollframe from frameset documents on Fennec, so that they work with async pan/zoom and touch events. r=bz 2012-06-15 17:49:53 -04:00
Kartikaya Gupta
985015647e Bug 763570 - Part 1 - Back out 18b206c111cd from bug 747493 as we have a better solution that also fixes other broken frameset behaviours. r=tnikkel 2012-06-15 17:49:46 -04:00
Matt Brubeck
889af1a907 Merge last green changeset from inbound to mozilla-central 2012-06-13 13:23:54 -07:00
Scott Johnson
d4d53d2412 Bug 733614: Backout changes from bug 695222 for mozilla 16 branch [r=dbaron]. 2012-06-13 11:00:56 -05:00
Siddharth Agarwal [
3c45c1f03b Bug 764376 - Fix references to |class nsArenaMemoryStats|; r=ehsan 2012-06-13 10:43:38 -04:00
Ed Morley
2840374911 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-12 10:36:42 +01:00
L. David Baron
a780231060 Don't assume ordering of callers of nsPresContext::ScreenWidthInchesForFontInflation; instead, track changes only for the caller that cares about changes. (Bug 759755, patch 5) r=bzbarsky 2012-06-11 22:43:31 -07:00