Ehsan Akhgari
8f19fe7049
Backout changeset ce5e9fefee19 (bug 539356) because of performance and correctness regressions
2012-07-03 20:18:34 -04:00
Ehsan Akhgari
e217b72858
Backout changeset 0c75abcb72ff (bug 539356) because of performance and correctness regressions
2012-07-03 20:17:01 -04:00
Ehsan Akhgari
cbdaea8546
Backout changeset e794d5f88e0c (bug 539356) because of performance and correctness regressions
2012-07-03 20:14:47 -04:00
Ehsan Akhgari
f3e27db850
Backout changeset cb1ac88bedc2 (bug 539356) because of performance and correctness regressions
2012-07-03 20:14:11 -04:00
Ehsan Akhgari
2edc2e9dbf
Backout changeset f7599b247eef (bug 539356) because of performance and correctness regressions
2012-07-03 20:10:16 -04:00
Ehsan Akhgari
fe21740d3e
Backout changeset 17cc480ae05d (bug 539356) because of performance and correctness regressions
2012-07-03 20:08:53 -04:00
Ehsan Akhgari
64c98e2147
Backout changeset 6234134d4430 (bug 539356) because of performance and correctness regressions
2012-07-03 20:08:19 -04:00
Ehsan Akhgari
4d2dc4e9a4
Backout changeset 2cf9546ee691 (bug 770001) because DLBI is being backed out
2012-07-03 19:40:24 -04:00
Ehsan Akhgari
e99c7405d0
Backout changeset 25061ce7382b (bug 770041) because DLBI is being backed out
2012-07-03 19:39:44 -04:00
Ehsan Akhgari
66612fe60d
Backout changeset 4e29b12a5d25 (bug 770096) because DLBI is being backed out
2012-07-03 19:38:42 -04:00
Ehsan Akhgari
2250461ece
Backout changeset 6266a1336e2d (bug 770058 part 2) because DLBI is being backed out
2012-07-03 19:37:29 -04:00
Daniel Holbert
33fd1f6b89
Bug 770299: use size_t instead of int for loop iterator in MaskLayerImageCache.h, to fix build warning. r=nrc
2012-07-03 09:01:30 -07:00
Ed Morley
bc682c2957
Backout 3175d72d8a40 (bug 770144) for turning 611498-1.html permaorange
2012-07-03 11:58:04 +01:00
Matt Woodrow
ebbb5a60e4
Bug 770144 - Restrict ThebesLayer invalidations to the visible region. r=roc
2012-07-03 21:07:28 +12:00
Phil Ringnalda
700c915a37
Back out 921c2e13b45e (bug 770144) for reftest bustage
2012-07-02 21:04:38 -07:00
Matt Woodrow
8662ef3442
Bug 770144 - Restrict ThebesLayer invalidations to the visible region. r=roc
2012-07-03 14:26:45 +12:00
Robert O'Callahan
69ce2f5f03
Bug 770058. Part 2: When the document switches between active and inactive, invalidate all frames. r=mattwoodrow
2012-07-03 14:24:20 +12:00
Matt Woodrow
b14b46dec5
Bug 770096 - Prevent crashes when encountering an empty ThebesLayer. r=roc
2012-07-03 14:23:11 +12:00
Matt Woodrow
9f3588825e
Bug 770041 - Revert GetRootPresContext to pre-DLBI behaviour and add GetDisplayRootPresContext for DLBI. r=roc
2012-07-03 13:02:30 +12:00
Ed Morley
bb3f6c2bad
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-02 10:03:16 +01:00
Ms2ger
5135fa5aa8
Bug 769437 - Remove a check that has been dead since 2005 to fix a build warning; r=mounir
2012-07-02 08:23:56 +02:00
Ms2ger
a4ebdb8e6a
Bug 767790 - Remove nsIHTMLDocument::{Get,Set}IsFrameset; r=mounir
2012-07-02 08:22:37 +02:00
Robert O'Callahan
ddbee0e9d9
Backout bug 768775 for now
2012-07-02 14:43:37 +12:00
Robert O'Callahan
7252675cc8
Bug 768775. For linear gradients where the gradient line is parallel to an axis and runs from one edge of a background tile to the other, we can repeat the background by just repeating the gradient instead of drawing individual tiles. r=jrmuizel
...
--HG--
extra : rebase_source : 81b9a7951ce78f60aa8eaeca4f66f62561133254
2012-07-02 11:46:32 +12:00
Robert O'Callahan
e1af2fd5e7
Bug 770001. When comparing clips, adjust for any change in the ThebesLayer coordinate system. When clips are different, try to accumulate differences intelligently, taking into account that changes in clips outside the bounds of the clipped display item don't matter. r=mattwoodrow
...
--HG--
extra : rebase_source : d958c629307045f2592ffe658cd1a2e608713cbd
2012-07-02 11:46:21 +12:00
David Zbarsky
ae718ee1c0
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Matt Woodrow
660deac456
Bug 539356 - Part 28 - Cached nsDisplayBackground rasterizations with BasicLayers. r=roc
2012-06-30 15:06:14 +12:00
Matt Woodrow
d6338f98b1
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
67796cbb7d
Bug 539356 - Part 25 - Invalidate display items that have a changed clip. r=roc
2012-06-30 15:06:13 +12:00
Oleg Romashin
95b7a73ba9
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
895528986f
Bug 539356 - Part 19 - Only repaint retained layers after the previous repainted has been drawn to the window. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
ab51baf3ec
Bug 539356 - Part 14 - Handle multiple widget layer managers retaining data for the same frame. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
850cb83cd3
Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
ffcd727240
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
4e803b179a
Bug 739671 - Store optimized Color/ImageLayers on the ThebesLayers that they replace. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
6b8da8ec1c
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
c96dc0e2ed
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
2012-06-30 15:06:11 +12:00
Matt Woodrow
cbd39105d9
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Matt Woodrow
557c514f1c
Bug 539356 - Revert changes made by bug 728983
2012-06-30 15:06:10 +12:00
Matt Woodrow
9193c41326
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
2012-06-30 15:06:10 +12:00
Matt Woodrow
a072bd4903
Bug 539356 - Part 7 - Store FrameLayerBuilder objects on the LayerManager instead of nsDisplayListBuilder. r=roc
2012-06-30 15:06:10 +12:00
Matt Woodrow
147e839dc3
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
6750b1ce01
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
3c530c668a
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
e9c88c4e63
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
9fd49ed93f
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
1163c9e9c6
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
45fe6d3ae2
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
d0c73eda8f
Bug 666041 patch 3: Create boilerplate nsFlexContainerFrame class. r=bz
2012-06-26 15:12:13 -07:00
Daniel Holbert
a445dcdc59
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
348d6c9a3d
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
ef4179d2d4
Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures
2012-06-26 16:13:33 +01:00
Chris Lord
1448e862c1
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
0b81e47018
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
fb876e555d
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-26 09:52:55 +01:00
Nicholas Cameron
03e8305815
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
34289b5948
Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc
2012-06-26 14:43:30 +12:00
Nicholas Cameron
dde00bf60b
Bug 757347; changes to FrameLayerBuilder. r=roc
2012-06-26 14:43:30 +12:00
Nicholas Cameron
4a220c27be
Bug 757347; changes to mask layer user data. r=roc
2012-06-26 14:43:30 +12:00
Nicholas Cameron
9a71fb3f8c
Bug 757347; Add a cache for image containers. r=roc
2012-06-26 14:43:30 +12:00
Nicholas Cameron
549b63d97d
Back out bug 757346
...
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Jonathan Watt
6380335603
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nicholas Cameron
aae4ecb5d0
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
f7821afd6f
Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
6f0ff4bb34
Bug 757347; changes to FrameLayerBuilder. r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
005c5ef480
Bug 757347; changes to mask layer user data. r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
8c7a60de72
Bug 757347; Add a cache for image containers. r=roc
2012-06-26 09:44:41 +12:00
Jonathan Watt
bae43f45b9
Bug 767996 - Prevent DoApplyRenderingChangeToTree calling nsSVGUtils::InvalidateBounds() and passing in an nsSVGOuterSVGFrame. r=me.
2012-06-25 18:55:30 +01:00
Aryeh Gregor
868bf136db
Bug 766795 - Fix asserts when placing cursor in editable detached content; r=roc,ehsan
2012-06-24 09:54:43 +03:00
Bas Schouten
59e189f351
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
052a9b7ec1
Bug 766007. Create scrollframes for frameset documents. r=tnikkel
2012-06-22 22:51:05 +12:00
Mounir Lamouri
744531ad99
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
9cedb951bc
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
d9153fe2d6
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
9c75a25b45
Bug 766007. Create scrollframes for frameset documents. r=tnikkel
2012-06-22 17:06:40 +12:00
L. David Baron
e1952224d8
Implement new values of animation-direction. (Bug 655920) r=bzbarsky
2012-06-21 11:44:34 -07:00
Kartikaya Gupta
7c2ab6a7f0
Bug 755971 - Add methods to nsLayoutUtils to calculate the padding boxes. r=bz
2012-06-21 09:35:17 -04:00
Mats Palmgren
730cb4085d
Bug 764541. r=smontagu
2012-06-21 12:51:38 +02:00
Ryan VanderMeulen
7d0e71644b
Backout b35294da2c4b (bug 764117) due to OSX reftest orange.
2012-06-20 22:56:36 -04:00
Bas Schouten
217961fb06
Bug 764117: Prefer performance over avoiding seaming. r=roc
2012-06-20 23:41:13 +02:00
Scott Johnson
be16a4b22f
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
ba82a5d757
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
70c1310055
Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr.
2012-06-19 16:28:04 +01:00
Ehsan Akhgari
8a54f4db7a
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
51a77b21ba
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
5ace9309ab
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
cee86ebe22
Merge last green changeset from inbound to mozilla-central
2012-06-13 13:23:54 -07:00
Scott Johnson
2332c9b000
Bug 733614: Backout changes from bug 695222 for mozilla 16 branch [r=dbaron].
2012-06-13 11:00:56 -05:00
Siddharth Agarwal [
7674716a66
Bug 764376 - Fix references to |class nsArenaMemoryStats|; r=ehsan
2012-06-13 10:43:38 -04:00
Ed Morley
11c73f1659
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-12 10:36:42 +01:00
L. David Baron
0e73af2214
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
L. David Baron
5c2604b010
Properly dirty intrinsic widths when doing things that change inflation. (Bug 759755, patch 3) r=roc
2012-06-11 13:57:35 -07:00
L. David Baron
d5f5088f98
Back out patches 2 and 3 of bug 759755 for causing intermittent failures of layout/reftests/font-inflation/container-with-clamping.html .
2012-06-10 17:36:18 -07:00
Ryan VanderMeulen
891e38e528
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Ryan VanderMeulen
9c1d160da3
Merge the last PGO-green inbound changeset to m-c
2012-06-10 18:21:22 -04:00
Olli Pettay
331cfaf7ec
Bug 763014 - crash in PresShell::HandleEventInternal, r=mats
2012-06-11 00:45:09 +03:00
L. David Baron
7cb71d7b6a
Properly dirty intrinsic widths when doing things that change inflation. (Bug 759755, patch 3) r=roc
2012-06-10 13:02:23 -07:00
Olli Pettay
ac6b89bfdb
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Boris Zbarsky
39f6f39d17
Bug 763424. Dynamic changes to generated content don't work correctly on frames which pass a child content insertion frame to ProcessChildren (e.g. <td>). r=dbaron
2012-06-11 18:21:35 -04:00
Matt Brubeck
e8e3af840b
Re-land backout of bug 754202 and fix other accidental changes from merge 75b67011b798 on a CLOSED TREE
2012-06-11 11:12:18 -07:00
Nathan Froyd
df08b6c5cc
Bug 674922 - report on most common objects allocated in a PresShell's arena; r=roc,njn
2012-06-06 13:35:40 -04:00
Nathan Froyd
07dd9516f2
Bug 674922 - report per-frame-type numbers in about:memory; r=njn,roc
2012-06-06 13:29:16 -04:00
Nathan Froyd
8aa1a6dc0a
Bug 674922 - account for all of nsPresArena::State's members; r=njn
2012-06-05 12:33:54 -04:00
Ed Morley
a73fc227f9
Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms
2012-06-11 10:08:32 +01:00
Oleg Romashin
4d14e84fec
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-06-11 16:45:39 +12:00
Matt Woodrow
b10091e4bd
Bug 539356 - Part 19 - Only repaint retained layers after the previous repainted has been drawn to the window. r=roc
2012-06-11 16:45:39 +12:00
Matt Woodrow
e1a184f70a
Bug 539356 - Part 14 - Handle multiple widget layer managers retaining data for the same frame. r=roc
2012-06-11 16:45:39 +12:00
Matt Woodrow
2e295df184
Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
e1af0db87a
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
13e6b795f1
Bug 739671 - Store optimized Color/ImageLayers on the ThebesLayers that they replace. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
e0d2c896b0
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
d8b05307aa
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
147cab5783
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
...
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Matt Woodrow
1b5d7c74d7
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
2012-06-11 16:44:09 +12:00
Matt Woodrow
7b18141336
Bug 539356 - Part 7 - Store FrameLayerBuilder objects on the LayerManager instead of nsDisplayListBuilder. r=roc
2012-06-11 16:44:08 +12:00
Matt Woodrow
e15259b14a
Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc
2012-06-11 16:44:08 +12:00
Matt Woodrow
bf4a985e44
Bug 539356 - Part 3 - Make GetParentPresContext() succeed when the current PresContext has no frames. r=bz
2012-06-11 16:44:08 +12:00
Nicholas Cameron
a073280631
Bug 755078 - Backout previously-landed patch for bug 755078. r=roc
2012-06-09 14:22:40 -04:00
David Zbarsky
6025f51339
Bug 758533: Check that nsImageRenderer has an image when getting the container r=gal
2012-06-10 17:31:42 -07:00
Ryan VanderMeulen
bf2b50270d
Merge m-c to inbound
2012-06-10 17:59:00 -04:00
Aryeh Gregor
6865bb0c16
Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan
...
--HG--
rename : layout/generic/nsTypedSelection.h => layout/generic/Selection.h
2012-06-08 17:20:55 +03:00
Timothy Nikkel
7437c32e01
Bug 747493. Give frameset documents a basic scroll layer so we can communicate the document's metrics to the compositor and frontend. r=roc,mats
2012-06-09 19:26:57 -05:00
Kartikaya Gupta
084bf42619
Bug 705106 - Use the correct scroll port size when trying to scroll to an area. r=roc
2012-06-09 12:14:39 -04:00
Robert O'Callahan
74d05f0dd8
Bug 731293. Add nsLayoutUtils::GetParentOrPlaceholderForCrossDoc. r=mats
2012-06-09 00:22:51 +12:00
Robert O'Callahan
453c373374
Bug 731293. Remove nsFrameManager parameter from nsLayoutUtils::GetParentOrPlaceholderFor. r=mats
2012-06-09 00:22:25 +12:00
Robert O'Callahan
c94736b8a6
Bug 753329. Share ThebesLayerInvalidRegion for a given ContainerLayer across all the frames that are sharing that layer as their ContainerLayer. r=mattwoodrow
...
* * *
Bug 753329. Followup: put ThebesLayerInvalidRegionProperty in display-list-builder coordinates so it can be shared by frames with different coordinate systems. r=mattwoodrow
2012-06-07 22:07:32 +12:00
Robert O'Callahan
fc2e9d6bd1
Bug 761572. Allow click and dblclick events to be sent to an element even if it's made display:none during the mouseup event. r=smaug
2012-06-07 22:06:39 +12:00
Mounir Lamouri
8c421a5c03
Bug 760848 - Make select.size reflection follow the specifications. r=smaug
2012-06-07 01:27:53 +02:00
Ehsan Akhgari
c6218431ee
Merge mozilla-central into mozilla-inbound
2012-06-06 12:46:50 -04:00
Ed Morley
7e31e8cfac
Merge mozilla-central to mozilla-inbound
2012-06-06 10:24:28 +01:00
Ed Morley
22d9b9afc4
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-06 09:20:35 +01:00
Ms2ger
1a2d55bdac
Bug 760047 - Don't handle a null aDocument in nsGlobalWindow::SetNewDocument; r=mounir
2012-06-06 09:36:58 +02:00
Ms2ger
19f060907a
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
Ehsan Akhgari
5682d40581
Bug 157681 - Part 2: Optimize positioned frame offset changes by moving the frame as opposed to reflowing it in case we know that the size of the frame will not change; r=dbaron
...
This patch adds a change hint to signal that one of the offsets on a
frame has been changed. When processing the hint, we do one of the
following things based on the position property of the frame.
* For static frames, we ignore the offset changes completely, as they
will not change the layout.
* For relative positioned frames, this patch refactors the
nsHTMLReflowState::ComputeRelativeOffsets function so that it can be
used from other callers, and it uses that to compute the new relative
offsets, and uses the offsets computed previously to compute the new
position of the frame.
* For absolute positioned frames, we set up a fake parent reflow state
object, and then we create a new reflow state object for the frame in
question. This setup is similar to what nsFrame::BoxReflow does.
Once we have the new reflow state object, we use it to compute the
absolute offsets, and then we use the computed offsets to set the new
position of the frame. The offset computation is similar to what
nsAbsoluteContainingBlock::ReflowAbsoluteFrame does. In some cases
where it is possible for the dimensions of the frame to change based
on the offset changes, we fall back to a full reflow.
2012-06-06 00:53:48 -04:00
Scott Johnson
c1eb117478
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
6c704020bd
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
bdc2b4bb58
Merge m-c to m-i
2012-06-06 15:13:51 +12:00
Geoff Lankow
00f3a215c9
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
L. David Baron
c0710aeffc
Restore application of font size inflation to radios and checkboxes. (Bug 757937) r=roc
2012-06-04 16:26:30 -07:00
Nathan Froyd
3d989e8956
Bug 760812 - correct bitflags for allocating objects by size in nsPresArena; r=roc
2012-06-05 10:14:58 -04:00
Kartikaya Gupta
0e001bb8d0
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
0d03951986
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
d63c5a0460
Bug 748088 - Native android reftest are not testing OMTC+OGL. r=ajuma
2012-06-01 08:42:38 -04:00
Jeff Muizelaar
90cf6fdec4
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
1e390de796
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
2cf407dadc
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
ef7ec688e3
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
09d883079b
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
52a4aa2063
Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt
2012-05-30 18:43:39 +01:00
Boris Zbarsky
6e136586b6
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
c35029e3ba
Bug 758179. Part 1: Flush layout before calling nsFrame::HandlePress/HandleRelease. r=mats
2012-05-30 01:13:36 +12:00
Boris Zbarsky
89e50f89ed
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
87a457843f
Bug 758561 - Don't build a mask for an empty layer. r=roc
2012-05-28 21:10:08 -04:00
Nicholas Cameron
d2dd125d17
Bug 757346 - Change from clipping the mask to drawing it. r=roc
2012-05-27 16:55:22 -04:00
Takanori MATSUURA
4e1026d682
Bug 751521 - Separate pixman detection from cairo. r=glandium
2012-05-26 08:44:00 +02:00
Alexander Surkov
a644c2f36d
Bug 757670 - make nsIPresShell::GetLinkLocation faster, r=bz, tbsaunde
2012-05-24 15:57:16 +09:00
Kartikaya Gupta
8a9a864a95
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
b9d2d5f9e3
Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz
2012-05-23 14:46:04 -04:00
Kartikaya Gupta
0f2c633486
Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage
2012-05-23 11:08:19 -04:00
Kartikaya Gupta
6ab5f951cd
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
9d09bfe7c0
Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel
2012-05-04 17:00:57 +12:00
Nicholas Cameron
8e7e5c8a18
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
ff3f144642
Bug 753784; add the ability to force a single tile. r=roc
2012-05-22 19:14:03 -04:00
Jeff Muizelaar
b2782e5074
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
74e0408fed
Bug 756813: Prevent creation of ImageLayer if ImageContainer is null r=gal
2012-05-21 10:47:40 -07:00
Ed Morley
c5acb642c1
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
692b93095e
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
54995e2a8e
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
4fa0c843c9
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
88a762e752
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
e5bd6b809a
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
4f91700da9
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
cf350bd099
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
dc658d2398
Bug 756229 - Fix some layout warnings. r=roc
2012-05-18 11:42:39 -04:00
Robert Longson
3ca6774243
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
81df634941
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
3d82caf05b
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
75835eecfc
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
b9c7de3bfd
Bug 755078 - Disable mask layers on Android. r=roc
2012-05-17 10:30:10 +12:00
Mats Palmgren
6e5d59a73f
Bug 754480 - Remove PresShell members associated with mContentToScrollTo, put that data in a temporary content property instead. part=3/3 r=bz
2012-05-16 19:32:40 +02:00
Mats Palmgren
29312bf552
Bug 754480 - Sort members in size order. Use narrower types where possible. part=2/3 r=bz
2012-05-16 19:32:40 +02:00
Mats Palmgren
48c17889f4
Bug 754480 - Remove unused mDragService member. part=1/3 r=bz
2012-05-16 19:32:40 +02:00
Trevor Saunders
60316084b6
bug 693933 - make nsFrameSelection::GetSelection() return nsTypedSelection* r=smaug
2012-04-06 17:54:38 -04:00
Robert O'Callahan
2c785185e1
Bug 754196. If ScrollToShowRect has no need to scroll, don't call ScrollTo, so pending smooth scrolls won't be interrupted. r=matspal
2012-05-16 17:40:57 +12:00
Ed Morley
8fd6f302fe
Merge mozilla-central to mozilla-inbound
2012-05-15 18:19:25 +01:00
Serge Gautherie
ac415c0597
Bug 632408. (Bv1) Improve newer test code some more. r=roc.
2012-05-15 15:33:55 +02:00
Vincent LAMOTTE
bcc3cf4e81
Bug 657953 (1/2) - Implement the layout part of the meter element. r=roc
2012-05-16 17:47:10 +02:00
Matt Woodrow
46963a8632
bug 750334 - rotating image appears too big during transition, then snaps to correct size r=roc
...
--HG--
extra : rebase_source : a8064d474693838e68f7b865f76043e1192a07a5
2012-05-15 10:31:39 +12:00
Ehsan Akhgari
5634d262e2
Bug 696229 - Adjust the hint correctly while drawing the caret for drag/drop so that it gets attached to the beginning of the lines correctly; r=roc
2012-05-11 14:50:19 -04:00
Nicholas Cameron
946c3ed9e9
Bug 754488 - Fix warning in FrameLayerBuilder.cpp. r=dholbert
2012-05-14 19:01:05 -04:00
Mats Palmgren
c6512a9065
Bug 749935 - Make all nsRect Union methods saturating. If width/height overflows nscoord_MAX then clamp the x/y to nscoord_MIN / 2 and try again. r=roc
2012-05-14 22:11:39 +02:00
Matt Woodrow
5939c267ea
Bug 722603 - Improve dirty rect calculation with 3d transforms and preserve-3d. r=roc
2012-05-11 19:49:14 +12:00
Robert O'Callahan
338537b43a
Bug 681192. Part 17: Disable test_transformed_scrolling_repaints_2.html on Mac. r=matspal
...
--HG--
extra : rebase_source : 6af0be8370c0e07e55954245f6a6305d04eb2a2b
2012-05-10 17:24:21 +12:00
Robert O'Callahan
b4c51b5b14
Bug 681192. Part 10: Control rounding direction of scaledOffset to try to make the residual be close to mActiveScrolledRootPosition. r=tnikkel
...
--HG--
extra : rebase_source : f27fb737f8956ed117df0be3a71da847cc2048c0
2012-05-10 17:24:20 +12:00
Robert O'Callahan
1b94d7fe2c
Bug 681192. Part 6: Test that various scrolling operations inside scaled transforms don't trigger unnecessary repainting. r=matspal
...
--HG--
extra : rebase_source : a72afaa7ebb5e9b59cf574cd973f966eee5c7f45
2012-05-10 17:24:19 +12:00
Oleg Romashin
1c3d441a1d
Bug 681192. Part 4: Make ScrollFrameRectIntoView compute a generous allowed scroll destination range. r=roc,matspal
...
--HG--
extra : rebase_source : 524add7c1080994dd1bc2345cbd6f54c15653d27
2012-02-07 12:22:53 -08:00
Robert O'Callahan
43cffcf97d
Bug 681192. Part 0.3: Add FrameLayerBuilder::GetThebesLayerResolutionForFrame. r=mattwoodrow
...
--HG--
extra : rebase_source : eea4dee6d081de5c288e295f3549fc88b10e6c39
2012-05-10 17:24:18 +12:00
Robert O'Callahan
a86b9ab41d
Bug 681192. Part 0.2: Use FuzzyEqual to check whether we need to invalidate ThebesLayers when subpixel offsets have changed. r=mattwoodrow
...
--HG--
extra : rebase_source : d0f8464aea9a436214d394123b1399105ccd0f66
2012-05-10 17:24:18 +12:00