Commit Graph

4646 Commits

Author SHA1 Message Date
Mats Palmgren
8ad31a0bc8 Bug 804486 - Add toolkit.scrollbox.horizontalScrollDistance pref, default 5. Change horizontal scroll increment from 10px to horizontalScrollDistance * GetLineScrollAmount().width(). Make GetLineScrollAmount() use the font's AveCharWidth() for the horizontal amount rather than MaxHeight(). r=roc 2012-10-29 06:44:31 +01:00
Robert O'Callahan
c78fa977de Bug 805697. Remove StCaretHider since it's not needed anymore. r=mats
--HG--
extra : rebase_source : c2c8652585958ddaeb9e01ed1fe47a391339c2ec
2012-10-29 17:31:26 +13:00
Bas Schouten
3ab5655309 Bug 805831 - Followup: Fix compiler warning. 2012-10-27 16:48:37 +02:00
Bas Schouten
e52a32f0ff Bug 805831: Add a cache for border corner gradients. r=joedrew 2012-10-27 06:32:52 +02:00
Phil Ringnalda
8ef69d2aac Back out fbd8fdb7c544 (bug 805831) for build failures 2012-10-26 21:53:41 -07:00
Bas Schouten
688168bfaf Bug 805831: Add a cache for border corner gradients. r=joedrew 2012-10-27 06:32:52 +02:00
Paul Adenot
146a6e0a20 Bug 800319 - Make the gradient cache differentiate between backend types. r=Bas 2012-10-26 15:34:43 +02:00
L. David Baron
c0bec06ffc Bug 804970, patch 5: Handle dynamic changes to the basis for 'rem' units by rebuilding all style data. r=bzbarsky 2012-10-26 19:04:20 +02:00
L. David Baron
bd2ade79c8 Bug 804970, patch 4: Refactor part of RebuildAllStyleData into a helper function (slightly reordering it), so that we can share that part. r=bzbarsky 2012-10-26 19:04:20 +02:00
Jonathan Watt
2a46ad0735 Bug 795592 - Stop calling nsIFrame::FinishAndStoreOverflow on NS_STATE_SVG_NONDISPLAY_CHILD frames. r=mattwoodrow. 2012-10-26 11:56:48 +01: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
Matt Woodrow
68ac6cb0e7 Bug 800041 - Make nsDisplayWrapList set its own reference frame correctly, and sanity check during ComputeVisibilityForSublist. r=roc 2012-10-25 18:32:25 +13:00
Scott Johnson
f9e3245129 Bug 802311: Make max line box width adjustment API compute right edge of line boxes correctly to fix reflow-on-zoom issues. [r=dbaron] 2012-10-25 16:38:54 -05:00
Ehsan Akhgari
9cded8fa00 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-25 14:44:37 -04:00
Ehsan Akhgari
78b2656cbc Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
03be701616 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04: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
Mats Palmgren
56d1a48bc1 Bug 798691, part 2. r=roc 2012-10-25 13:17:10 +02: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
Simon Montagu
f75b916dab Don't split inlines with bidi-isolated kids unnecessarily when they don't have siblings. Bug 793233, r=roc 2012-10-25 01:36:37 -07:00
Phil Ringnalda
1d64e213a8 Back out c95958e3b85d and e8a8bf41e0c4 (bug 798964) for Android reftest-4 failures 2012-10-25 01:19:57 -07:00
Phil Ringnalda
d3bdbf57ba Back out 8bffa268afd8 (bug 800041) for reftest assertions in 745934-1.html 2012-10-24 23:49:39 -07:00
Matt Woodrow
b7fc4d07b6 Bug 800041 - Make nsDisplayWrapList set its own reference frame correctly, and sanity check during ComputeVisibilityForSublist. r=roc 2012-10-25 18:32:25 +13:00
Matt Woodrow
e9a6eb0cd4 Bug 798964 - Make mLineContinuationPoint correct when we call Init() on a frame that isn't the first on the line. r=roc 2012-10-25 18:32:25 +13:00
Matt Woodrow
1c151da429 Bug 798964 - Add nsDisplayBackground color and make the bounds of nsDisplayBackground match the image. r=roc 2012-10-25 18:32:25 +13:00
Matt Woodrow
64df41fa2a Bug 800041 - Set the correct reference frame for nsDisplayScrollLayer when the frame is transformed. r=roc 2012-10-25 12:04:41 +13:00
Chris Lord
dec9634e6a Bug 803826 - Assert the layer builder exists in DrawThebesLayer. r=mattwoodrow
If the layer builder is NULL, this function will cause a crash. The layer
builder being NULL indicates a bug, so assert that it isn't.
2012-10-23 12:05:29 +01:00
Chris Lord
d611c596a1 Bug 803826 - Only reset the layer builder pointer in ~ClippedDisplayItem. r=mattwoodrow
PaintInactiveLayer was resetting the layer manager's layer builder pointer, but
this was unnecessary as this was also being done on destruction of the
ClippedDisplayItem.
2012-10-23 12:05:14 +01:00
Chris Lord
d09c17393d Bug 803826 - Restore the layer builder pointer on return from PaintForFrame. r=mattwoodrow
It's possible for nsDisplayList::PaintForFrame to reset the layer builder
pointer on a layer manager it didn't create. Instead of setting it to null,
store the existing pointer and restore it on return.
2012-10-23 12:01:23 +01:00
Karl Tomlinson
41af1327ed b=793501 attach DocumentViewer to top GTK widget r=roc
--HG--
extra : transplant_source : F%94%EC%07%23%7B2L%BCr%28%C5%088%06%FD%CD%9A%BAe
2012-10-23 11:46:45 +13:00
Karl Tomlinson
9fdbdcba05 b=793501 don't resize toplevel window in response to resized notification r=bz
--HG--
extra : transplant_source : U%3E%D3b%3D%AE0%0D%C7%8D%27%F5a%D4%F6%2C%27%EE%EA%A1
2012-10-23 11:32:24 +13:00
Robert O'Callahan
a4d67cf238 Bug 800859. Part 4 alternative: unconditionally dispatch MozAfterPaint to all subdocuments. r=mattwoodrow
--HG--
extra : rebase_source : 2cc3125aff27b55daf6d306a2c391a9587a70101
2012-10-23 14:52:48 +13:00
Robert O'Callahan
117a471483 Bug 800859. Part 3: Dispatch MozAfterPaint after we've done the COMPOSITE step for the invalidations recorded in the event. r=mattwoodrow
--HG--
extra : rebase_source : 7a204c0930e7a2a35ad99af79d28ebba56f034fe
2012-10-19 17:50:34 +13:00
Robert O'Callahan
3df73be65b Bug 800859. Part 2: Remove nsIPresShell::DidPaint. r=mattwoodrow
--HG--
extra : rebase_source : 3c46d24378ca10f4cf3c476d1de6930ed9683946
2012-10-19 14:21:16 +13:00
Robert O'Callahan
055f521513 Bug 800859. Part 1: Refactor PaintType into two independent flags. r=mattwoodrow
--HG--
extra : rebase_source : 9bb272d795f42e63ea00e0f9107eeaaa593a332d
2012-10-19 14:20:39 +13:00
Robert O'Callahan
e62533e7a7 Bug 802457. Ensure that positioned children of intrinsic-height viewports are reflowed with the correct container height. r=mats
--HG--
extra : rebase_source : 389b5916de9b7a7bd4232f2c541ae0db7500ba2e
2012-10-23 14:48:12 +13:00
Bas Schouten
9e0b0b117d Bug 803949: Do not draw anything for zero size images. r=roc 2012-10-23 00:37:08 +02:00
Ehsan Akhgari
283f767815 Merge mozilla-central into mozilla-inbound 2012-10-22 17:05:46 -04:00
Olli Pettay
26c63deaa6 Bug 793848, faster svg:use check, r=bz 2012-10-21 15:33:38 +03:00
Mats Palmgren
f374a590a0 Bug 802902 - Live long and prosper Mr. View Manager. r=roc 2012-10-22 15:53:31 +02:00
Peter Van der Beken
e86cd8818c Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
Robert Longson
f0e3d9926e Bug 791826 - Fix crash with SVG preserveAspectRatio, position:fixed. r=jwatt 2012-10-20 11:03:35 +01:00
Seth Fowler
697379c692 Bug 503720: Implement vw/vh/vmin/vmax. r=dbaron 2012-10-19 16:21:06 -07:00
Scott Johnson
e2ecfdda8c Bug 784375: Add a preference to control maximum font size inflation ratio. [r=dbaron] 2012-10-15 14:03:37 -05:00
Peter Van der Beken
a69ce442c1 Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Matt Woodrow
2c805adb2f Bug 803194 - Update DisplayItemData and frame data when the merged frame list changes. r=roc 2012-10-19 17:36:00 +13:00
Ehsan Akhgari
fda8c5cb60 Bug 794510 - Part 8 (second half) 2012-10-18 15:04:20 -04:00
Ehsan Akhgari
70db55e9fa Bug 794510 - Part 8: Use void* parameters to mmap and friends as opposed to caddr_t; r=bsmith
caddr_t is an obsolete BSD type which we don't need to use any more.
2012-10-18 15:00:31 -04:00
Robert O'Callahan
4f8d6f3962 Bug 703241. Part 3: nsLayoutUtils::GetTransformToAncestor should handle the case where aAncestor == aFrame. r=matspal 2012-10-17 16:13:24 +13:00
Robert O'Callahan
d234cc4757 Bug 703241. Part 4: Don't let 'frame' be treated as its own container in PresShell::DoScrollContentIntoView. r=matspal
--HG--
extra : rebase_source : 1fba4feec8e6686d00c79bb2aea5d5ac0837c116
2012-10-17 17:44:06 +13:00
Robert O'Callahan
399a5061ba 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
--HG--
extra : rebase_source : bcbe05a09fe9f5423bb09697f8be3c6ce0c44f46
2012-06-22 17:06:54 +12:00
Robert O'Callahan
7027f42f5d Bug 703241. PresShell::DoScrollContentIntoView and PresShell::ScrollFrameRectIntoView should take transforms into account. r=matspal
--HG--
extra : rebase_source : e1a16f9a19e78ea71044ee78af9fdbf00ec48c0b
2012-06-22 17:06:49 +12:00
Timothy Nikkel
31bcc858c2 Bug 642257. If there are no plugins in the display list skip a potentially expensive compute visibility pass with accurate visible regions to determine plugin geometry because it is not needed. r=roc
If there is a plugin in a background tab and a complex scene in a foreground tab the accurate visible regions can cause us to bog down, for no good reason.
2012-10-18 00:34:58 -05:00
Masayuki Nakano
1cc0ce4f3e Bug 705057 part.1 Ensure a set of composition events is fired on same content r=smaug 2012-09-26 14:47:45 +09: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
Matt Woodrow
db1a916d11 Bug 802321 - Don't compare geometry objects for inactive layers. r=roc 2012-10-17 21:00:00 +13:00
Daniel Holbert
4695d22cd2 Bug 798235: For flex items in a vertical flex container, treat enumerated values for flex-basis as "auto". r=dbaron 2012-10-16 19:04:29 -07:00
Daniel Holbert
e7fc8e8eef Bug 800603: Just check rv (not rv & outparam) after calling imgIRequest:GetImage & GetImagePrincipal. r=jrmuizel 2012-10-16 16:05:54 -07:00
Matt Woodrow
5adc69789e Bug 795674 - Handled merged frame changes with minimal invalidations. r=roc 2012-10-16 14:23:07 +13:00
Gabor Krizsanits
87f73c1de7 Bug 676054: part3: nsStyleSheetService::GetInstance. r=bz 2012-10-16 21:45:56 +02:00
Gabor Krizsanits
b38c7dcb1a Bug 676054 - part2: Provide AUTHOR_SHEET type for registering with nsIStyleSheetService. r=bz 2012-10-16 21:45:50 +02:00
Jonathan Kew
12f1ce33e2 bug 794038 pt 2.0 - respond to changes to backing-store resolution when a window moves between HiDPI and non-HiDPI displays. r=smichaud 2012-10-16 20:41:20 +01:00
Boris Zbarsky
042a574012 Bug 801116 followup: clearer variable naming. DONTBUILD 2012-10-16 10:52:55 -04:00
Makoto Kato
f63a03e07e Bug 801483 - make nsBufferedInputStream::Init fallible. r=bsmith 2012-10-16 17:38:20 +09:00
Matt Woodrow
61b5617212 Backout e19d625511a0 for breaking WinXP M-o 2012-10-16 16:59:35 +13:00
Boris Zbarsky
0efef94b7a Bug 801116. Take box-sizing into account when computing intrinsic width based on a fixed height and an intrinsic ratio. r=dholbert 2012-10-15 23:12:03 -04:00
Matt Woodrow
48c7fedb20 Bug 801365 - Invalidate ThebesLayers if the zoom factor changes. r=roc 2012-10-16 14:10:51 +13:00
Matt Woodrow
f743e85a32 Bug 800198 - Make mContainerReferenceFrame the reference frame for the items inside the container, not the container itself. r=roc 2012-10-16 14:10:48 +13:00
Matt Woodrow
8abe8138c6 Bug 770001 - Add invalidation test helpers and form control invalidation mochitest. r=roc 2012-10-16 14:10:45 +13:00
Robert O'Callahan ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
cd666bb77c Bug 770001. When a display item has changed, don't bother invalidating areas that have been clipped out. r=mattwoodrow, roc 2012-10-16 14:10:43 +13:00
Trevor Saunders
bc9ac5fb2d bug 801659 - clean up cache of DocAccessible on pres shells, and add fast path to nsAccDocManager::GetDocAccessible() r=surkov, dholbert 2012-10-15 10:58:42 -04:00
Scott Johnson
949ed1800f Backout e52a16b96738 (Bug 784375) for oranges on OSX 10.8. 2012-10-15 15:13:40 -05:00
Daniel Holbert
651180579f Bug 801098: Unprefix flexbox properties & keywords (still preffed off by default). r=dbaron 2012-10-15 12:42:43 -07:00
Scott Johnson
83bddfc6db Bug 784375: Add a preference to control maximum font size inflation ratio. [r=dbaron] 2012-10-15 14:03:37 -05:00
Scott Johnson
61895ce5f5 Backout 94f06c75c3b5 for lack of reviewer. 2012-10-15 14:13:35 -05:00
Scott Johnson
293a66e4de Bug 784375: Add a preference to control maximum font size inflation ratio. 2012-10-15 14:03:37 -05:00
Chris Lord
910224d867 Bug 801566 - Fix building with --disable-debug and --enable-dump-painting. r=mattwoodrow
Change #ifdef DEBUG to MOZ_DUMP_PAINTING for function AppUnitsPerDevPixel.
2012-10-15 19:56:11 +01:00
David Zbarsky
e584460f90 Backout bug 779684 for topcrash 2012-10-15 14:35:50 -04:00
David Zbarsky
ec66c8d312 Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc 2012-10-15 01:42:40 -04:00
David Zbarsky
53345541db Backout 784bb7c5ea9c (Bug 799407) for bustage 2012-10-15 02:14:34 -04:00
David Zbarsky
16b60cf311 Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc 2012-10-15 01:42:40 -04:00
Robert O'Callahan
e573a641c1 Bug 795657. Don't reframe for adding a transform when absolute descendants are present, when the frame is already positioned. r=bz
--HG--
extra : rebase_source : 4c4fbbe51069b58a023c7f40f70f9f13efc487e1
2012-10-10 23:25:57 +13:00
Matt Woodrow
8760ddc9ae Bug 795674 - Remove mNewDisplayItemData. r=roc 2012-10-12 15:39:46 +13:00
Nicholas Nethercote
8653ecbff2 Bug 800187 (part 1) - Add memory reporter for the nsStyleSheetService. r=bz.
--HG--
extra : rebase_source : fc5c04daa0fd919f11470b090e38e9e8a5f19db6
2012-10-11 21:05:38 -07:00
Mats Palmgren
3298e61f13 Bug 798691. r=roc 2012-10-14 20:27:37 +02:00
Robert O'Callahan
570d8fb6ce Bug 626245. Part 5: Move plugin widgets before compositing the window, not after. r=matspal
--HG--
extra : rebase_source : 147afbc494e9b05f52b134ca6dd4f9635457d879
2012-10-10 23:25:57 +13:00
Robert O'Callahan
78fbac6550 Bug 626245. Part 4.5: Forward WillPaintWindow/DidPaintWindow notifications to the presshell and do plugin geometry updates from there. r=matspal
--HG--
extra : rebase_source : 5cf892e26962ef045d76a69fa4b4be9f7d7388da
2012-10-10 23:25:57 +13:00
Robert O'Callahan
8aec82ec43 Bug 626245. Part 4: Compute plugin widget geometry updates via the refresh driver's painting, and defer actual widget updates until we've just composited the window. r=mats
Updating plugin widget geometry every time we paint means we don't have to
explicitly request plugin geometry updates.
This patch stops us from flushing plugin geometry changes in
FlushPendingNotifications(Flush_Layout). There are too many Flush_Layouts and
flushing plugin geometry changes on them produces frequent
desynchronization of the plugin geometry with the rendered window contents.
There is some Web compatibility risk there --- it means we have to change
our tests, for one thing --- but hopefully it's OK.

--HG--
extra : rebase_source : 87adde45795ea2cab362ed9df54e62c5cc97e16c
2012-10-07 02:03:23 +13:00
Robert O'Callahan
e4b07bb2c9 Bug 626245. Part 3.5: Fix nsLayoutUtils::Transform functions to convert to correct appunits values for the destination frame. r=mats
--HG--
extra : rebase_source : d8130b84e38d5a0cdc84375e22d06951a405025b
2012-10-12 13:11:37 +13:00
Robert O'Callahan
28e795cc72 Bug 626245. Part 3: Make aAncestor const in TransformFrameRectToAncestor. r=matspal
--HG--
extra : rebase_source : d09fd6845a0405dd657fc0c0c1d43ebbab2bfc9d
2012-10-08 17:52:52 +13:00
Jeff Muizelaar
79fa5e64ff Bug 799335. Fix unintenional image flash on tab switch. r=joe,dholbert
This was caused by bug 792199.

There are two parts to this fix:
1. Always decode during StartDecoding even if we already have a Decoder
(hopefully this is safe) This was a bug in the original patch.

2. After calling StartDecoding() we recheck if we're complete and abort if
we're not doing a SYNC_DECODE. Before this regression we would usually be done
decoding the image because of the decoding we did when we Locked all of the
images on tab switch.

--HG--
extra : rebase_source : 9db93075aad2f45c6cc70d27ef67468b4507642c
2012-10-12 16:04:32 -04:00
Jeff Muizelaar
46be3317c2 Bug 799335. Rename nsStyleImage::RequestDecode to StartDecoding. r=dholbert
Now that RequestDecode call StartDecoding this make more sense.

--HG--
extra : rebase_source : ded757b8c90cbc4e5d221c79d2704105e1051183
2012-10-12 16:04:03 -04:00
Ed Morley
730f7084d0 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-12 11:59:59 +01:00
Ed Morley
6ab749ccb9 Backout 5b727a94eebd (bug 731974) for causing bug 797263 again 2012-10-12 11:25:17 +01:00
Chris Jones
b00b1e25b0 Bug 795657: Integrate native viewport configuration better into async pan-zoom code. r=jwir3,roc
This is a rollup of the following patches
 - Change the interpretation of FrameMetrics.mZoom to a "resolution-indepedent zoom", instead of a resolution-depedent scale factor. r=roc
 - Remove mention of "meta" from TabChild. r=roc
 - Remove some useless logging. r=roc
 - Tag FrameMetrics with its composition bounds at paint time. r=roc
 - Add a helper to calculate the render resolution for a FrameMetrics. r=roc
 - Add a helper to compute the approximate CSS dimensions a FrameMetrics will cover during composition. r=roc
 - BrowserElementScrolling doesn't actually care about zoom or resolution. r=roc
 - Accept the viewport that content has calculated, when it's received the latest widget geometry update. r=roc
 - Mechanically separate uses of zoom/resolution based on new definitions. r=roc
 - Convert GetViewportInfo()'s resolution-dependent scale into resolution-indepedent zoom. r=roc
 - Reinterpret defaultZoom == 0.0 as "intrinsic scale". r=jwir3,roc
2012-10-11 22:46:24 -07:00
Ed Morley
7a45853856 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-11 14:46:06 +01:00
Olli Pettay
0f6bf5eed5 Bug 733305, add a way to hide XBL, r=bz, a=abillings
--HG--
extra : rebase_source : df18273ecdbf013138e8e6f1f4ef8082ac4f410c
2012-10-10 22:04:42 +03:00
Trevor Saunders
e2db6e1941 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Matt Woodrow
7d5daf4218 Bug 800287 - Optimize display list processing. r=roc 2012-10-12 12:38:25 +13:00
Matt Woodrow
7a9bd0af9d Bug 795674 - Add DisplayItemData debugging code. r=roc 2012-10-12 12:38:25 +13:00
Matt Woodrow
8b3fa0303c Bug 795674 - Refactor DisplayItemData storage in FrameLayerBuilder. r=roc 2012-10-12 12:38:24 +13:00
Vladimir Vukicevic
77b95b1502 b=731974, requestAnimationFrame generates too short/long frames (incl. bug 799242); r=bz,smaug,roc 2012-10-02 10:54:46 -04:00
Ed Morley
af5fd4c00a Backout b71e714d5957 (bug 795657) for burning 2012-10-11 14:54:14 +01:00
Robert O'Callahan
d5f28b3453 Bug 795657. Don't reframe for adding a transform when absolute descendants are present, when the frame is already positioned. r=bz 2012-10-10 23:25:57 +13:00
Ehsan Akhgari
60c0879cc1 Merge mozilla-central into mozilla-inbound 2012-10-10 20:21:13 -04:00
Masatoshi Kimura
50c0d83bb3 Bug 797385 - Part 2: Remove ibm864 usage. r=smontagu 2012-10-10 06:32:37 -04:00
David Zbarsky
d70685476e [Bug 799407] Fix build warnings in layout r=roc 2012-10-10 01:00:05 -04:00
Jeff Walden
7d556d0048 Eliminate a few nullptr-to-bool conversions to avoid a clang warning (which we upgrade to error) in some clang revs. No bug, r=sparky
--HG--
extra : rebase_source : 6b45c8e1dd07449a5ebc34704c19e05fe155f628
2012-10-09 16:14:42 -07:00
Ed Morley
1517aafcca Backout 739aff49b8bb (bug 731974) for turning browser_586068-reload.js permaorange on WinXP 3 days ago 2012-10-08 10:57:12 +01:00
Robert O'Callahan
1b98127dec Bug 793065. Keep mRootPresContext alive in case something crazy happens. r=mattwoodrow 2012-10-05 16:20:35 +13:00
Masayuki Nakano
5ac763afdd Bug 795785 part.1 Editor should scroll the selection into view after edit even when the editor is specified overflow: hidden; r=ehsan,smaug, sr=smaug 2012-10-08 03:45:51 +09:00
Boris Zbarsky
d9ec7ac515 Bug 790265. Changes that might attach a binding (e.g. state changes on <object> elements) should trigger a frame construction attempt even for display:none elements, so the binding will get attached. r=dholbert 2012-10-05 23:50:55 -04:00
Vladimir Vukicevic
4e6612830f b=731974, requestAnimationFrame generates too short/long frames; r=bz,smaug,roc 2012-10-02 10:54:46 -04:00
Chris Lord
de6ceac9dc Bug 795674 - Reinstate underlying frame swap when merging nsDisplayScrollLayer. r=roc
This swap was removed with the work in Bug 785333, as layers were associated
with merged frames as well as their underlying frames. Since DLBI, this is no
longer the case, so reinstate this temporary fix for a very common case of
the underlying frame of a display-item changing.
2012-10-05 10:56:49 +01:00
Cameron McCormack
8290da709f Bug 782888 - Do not propagate nsChangeHint_UpdateEffects to text nodes. r=bz 2012-10-05 12:47:52 +10:00
Nathan Froyd
5375444878 Bug 796129 - remove prtypes #includes in layout/ 2012-10-01 17:12:57 -04: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
Robert O'Callahan
cd1ea4aa32 Bug 787947. Avoid scaling by 0 when snapping gradient tiles. r=jrmuizel 2012-09-25 15:25:48 +12:00
Yu-Sian (Thomasy) Liu
58bc1b7fb5 Bug 594935: Add calc to parser, do calc in PaintGradient and add stop point to HasCalc(). r=bz 2012-10-03 22:31:56 -07:00
Chris Jones
a734561c9e Bug 790505, part 4: If we're just updating the transform of a prerendered layer, then schedule an empty transaction to skip unnecessary display-list overhead. r=mattwoodrow,roc 2012-10-02 22:55:52 -07:00
Chris Jones
6a8aa4b23b Bug 790505, part 2: Add a GetLayerTransformForFrame() helper for computing a frame's layer transform outside a proper transaction, and mark frames that have been fully prerendered. r=roc 2012-10-02 22:55:50 -07:00
Chris Jones
8e7287f20e Bug 790505, part 1: Have prerendered transform frames pretend that they don't have an opaque region so that we can move them around more efficiently. r=mattwoodrow 2012-10-02 22:55:50 -07:00
Daniel Holbert
7859bf8bf7 Bug 796212 followup: add #ifdef guard around static variables that are only used in #ifdef'd code, to fix build warning in non-MOZ_FLEXBOX-enabled builds. 2012-10-03 19:52:21 -07:00
Ed Morley
6582dac750 Backout ffcdd896a1fa (bug 787947) for reftest failures 2012-10-03 13:43:19 +01:00
Robert O'Callahan
cf862f164f Bug 787947. Avoid scaling by 0 when snapping gradient tiles. r=jrmuizel 2012-09-25 15:25:48 +12:00
Chris Jones
263dc7d01e Back out bug 790505 for leaking 2012-10-03 00:21:08 -07:00
Chris Jones
6ed6eba931 Bug 790505, part 4: If we're just updating the transform of a prerendered layer, then schedule an empty transaction to skip unnecessary display-list overhead. r=roc 2012-10-02 22:55:52 -07:00
Chris Jones
a03ca9170e Bug 790505, part 3: Add a GetLayerTransformForFrame() helper for computing a frame's layer transform outside a proper transaction, and mark frames that have been fully prerendered. r=roc 2012-10-02 22:55:50 -07:00
Chris Jones
388ef7aad1 Bug 790505, part 1: Have prerendered transform frames pretend that they don't have an opaque region so that we can move them around more efficiently. r=mattwoodrow 2012-10-02 22:55:50 -07:00
Daniel Holbert
1c3ec77888 Bug 796212 part 2: Make pref "layout.css.flexbox.enabled" control whether -moz-flex and -moz-inline-flex are recognized as valid values for "display" property. r=bz 2012-10-02 22:04:50 -07:00
Ryan VanderMeulen
06032fe15d Merge m-c to inbound. 2012-10-02 22:09:07 -04:00
Matt Woodrow
087f699aa3 Bug 796183 - Always invalidate the widget when doing empty transactions with a LayerManager. r=roc 2012-10-03 13:04:26 +13:00
Matt Woodrow
6e2109b0c9 Bug 795899 - Remove merged frame handling in BuildContainerLayerFor. r=roc 2012-10-03 13:03:34 +13:00
Ed Morley
d078159b72 Merge mozilla-central to mozilla-inbound 2012-10-02 11:19:03 +01:00
Daniel Holbert
f2b8223253 Bug 796568 - cleanup in nsLayoutUtils: remove unnecessary "mozilla::" namespace prefix and convert some NULL to nullptr. r=mats 2012-10-02 17:18:48 -07:00
Phil Ringnalda
293dbb7ef1 merge m-c to m-i 2012-10-01 21:50:57 -07:00
Matt Woodrow
1c469a0cf7 Bug 770144 - Use FuzzyEqual to compare layer scale values. r=roc 2012-10-02 17:00:09 +13:00
Benoit Girard
89e0e7d121 Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00
Vladimir Vukicevic
f01fc07d9d b=683143,792462; Some tests call SimpleTest.finish() twice/guard against that; r=ehsan 2012-10-01 17:51:10 -04:00
Ed Morley
4583cbb907 Backout 16ae4d5d27d7 for mochitest-other failures in test_mousescroll.xul 2012-10-02 17:38:49 +01:00
Vladimir Vukicevic
b07a6d7317 b=731974, requestAnimationFrame generates too short/long frames; r=bz,smaug,roc 2012-10-02 10:54:46 -04:00
Ms2ger
a77a250988 Bug 793314 - Remove PtrBits; r=mounir,roc 2012-10-02 10:24:11 +02:00
Matt Woodrow
17aa832683 Bug 795646 - Add crashtest for merged nsDisplayFixedPosition items. r=cjones 2012-09-30 19:20:24 +13:00
Matt Woodrow
7c3ede606e Bug 795591 - Disable merged display item tracking. r=cjones 2012-09-30 13:55:10 +13:00
Doug Sherk
f73db9f5da Bug 784908: Part 1: Change names of FrameMetrics variables to be more descriptive, add documentation, change some coordinate spaces. r=roc 2012-09-28 22:16:34 -04:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
foudfou
62d7406c52 Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).

--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Robert O'Callahan
cc5f08587e Bug 539356 - Fix mActiveScrolledRootOffset to be offset to the reference frame. r=mattwoodrow 2012-09-28 23:19:39 +12:00
Matt Woodrow
a1f75a8ee5 Bug 781053 - Part 3 - Force the throbber into it's own layer. r=roc 2012-09-25 08:31:48 +12:00
Matt Woodrow
5b541f16bf Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc 2012-09-25 08:31:30 +12:00
Matt Woodrow
f4e72f1dd0 Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc 2012-09-25 08:29:14 +12:00
Robert O'Callahan
a350224ed9 Bug 770106. nsDisplayButtonBorderBackground should use the button's border-box for hit-testing, not its visual overflow area. r=mattwoodrow 2012-09-28 23:19:38 +12:00
Matt Woodrow
728fcb17f4 Bug 539356 - Handled scrolled inactive layers trees correctly. r=roc 2012-09-17 10:57:22 +12:00
Matt Woodrow
82f400d981 Bug 539356 - Correctly invalidate SVG observers. r=roc 2012-08-29 17:49:16 +12:00
Matt Woodrow
de918ca279 Bug 539356 - Make the table code use rect invalidation to avoid over invalidation. r=roc 2012-08-29 17:48:45 +12:00
Matt Woodrow
967a15e46e Bug 539356 - Add an option for frames to invalid just a rect instead of the frame bounds. r=roc 2012-08-29 17:48:45 +12:00
Matt Woodrow
8c72ac3baa Bug 539356 - Add HasRetainedDataFor. r=roc 2012-08-29 17:48:45 +12:00
Robert O'Callahan
f061f5d0a9 Bug 770058. Part 2: When the document switches between active and inactive, invalidate all frames. r=mattwoodrow 2012-08-29 17:48:45 +12:00
Robert O'Callahan
92dac1e3cd 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 2012-08-29 17:48:44 +12:00
Matt Woodrow
722d9c982d Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc 2012-08-29 17:48:44 +12:00
Matt Woodrow
36ede50ee4 Bug 539356 - Part 25 - Invalidate display items that have a changed clip. r=roc 2012-08-29 17:48:43 +12:00
Oleg Romashin
eaf15a9992 Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-08-29 17:48:43 +12:00
Matt Woodrow
3c98add6f7 Bug 539356 - Part 14 - Handle multiple widget layer managers retaining data for the same frame. r=roc 2012-08-29 17:48:41 +12:00
Matt Woodrow
ddc3006aef Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc 2012-08-29 17:48:15 +12:00
Matt Woodrow
e195484e72 Bug 539356 - Part 11 - Reimplement empty transactions. r=roc 2012-08-29 17:48:15 +12:00
Matt Woodrow
e79b288e75 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Matt Woodrow
904da4f579 Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc 2012-08-29 17:47:18 +12:00
Matt Woodrow
12901c44ef Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc 2012-08-29 17:47:18 +12:00
Matt Woodrow
e6baaac399 Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
imported patch move-by-correctly
2012-08-29 17:47:15 +12:00
Matt Woodrow
1d675c61d6 Bug 539356 - Part 9c - Remove old invalidation code. r=bz 2012-08-29 17:39:31 +12:00
Matt Woodrow
cc33f42c8a Bug 539356 - Part 9b - Add new frame invalidation API. r=roc 2012-08-29 17:39:01 +12:00
Matt Woodrow
c900597192 Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc 2012-08-29 17:39:01 +12:00
Matt Woodrow
f64b473bf7 Bug 539356 - Revert changes made by bug 728983 2012-08-29 17:38:58 +12:00
Aryeh Gregor
3d16887327 Bug 794905 - nsLayoutUtils::FontSizeInflationEnabled can return nsresult instead of bool; r=jwir3 2012-09-27 18:24:17 +02:00
Ed Morley
5a3b322459 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Robert O'Callahan
e2e5bf0685 Bug 539356 - Fix mActiveScrolledRootOffset to be offset to the reference frame. r=mattwoodrow 2012-09-28 01:07:40 +12:00
Matt Woodrow
88b0ce7b03 Bug 781053 - Part 3 - Force the throbber into it's own layer. r=roc 2012-09-25 08:31:48 +12:00
Matt Woodrow
2d16b9b765 Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc 2012-09-25 08:31:30 +12:00
Matt Woodrow
6daf7f245c Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc 2012-09-25 08:29:14 +12:00
Matt Woodrow
0a8aa26fb7 Bug 539356 - Handled scrolled inactive layers trees correctly. r=roc 2012-09-17 10:57:22 +12:00
Matt Woodrow
11dba48580 Bug 539356 - Correctly invalidate SVG observers. r=roc 2012-08-29 17:49:16 +12:00
Matt Woodrow
9a9168f55a Bug 539356 - Make the table code use rect invalidation to avoid over invalidation. r=roc 2012-08-29 17:48:45 +12:00
Matt Woodrow
5eaaebce0e Bug 539356 - Add an option for frames to invalid just a rect instead of the frame bounds. r=roc 2012-08-29 17:48:45 +12:00
Matt Woodrow
ff33f7ce7a Bug 539356 - Add HasRetainedDataFor. r=roc 2012-08-29 17:48:45 +12:00
Robert O'Callahan
b90b8f6ece Bug 770058. Part 2: When the document switches between active and inactive, invalidate all frames. r=mattwoodrow 2012-08-29 17:48:45 +12:00
Robert O'Callahan
1d9db1ed96 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 2012-08-29 17:48:44 +12:00
Matt Woodrow
4efdb99b18 Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc 2012-08-29 17:48:44 +12:00
Matt Woodrow
a15597e119 Bug 539356 - Part 25 - Invalidate display items that have a changed clip. r=roc 2012-08-29 17:48:43 +12:00
Oleg Romashin
585aa99e71 Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-08-29 17:48:43 +12:00
Matt Woodrow
e6a09298ad Bug 539356 - Part 14 - Handle multiple widget layer managers retaining data for the same frame. r=roc 2012-08-29 17:48:41 +12:00
Matt Woodrow
e978622113 Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc 2012-08-29 17:48:15 +12:00
Matt Woodrow
1534837d0c Bug 539356 - Part 11 - Reimplement empty transactions. r=roc 2012-08-29 17:48:15 +12:00
Matt Woodrow
6bcc0bc124 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Matt Woodrow
49d4c24594 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Alexandre Dumont
01f3a22f41 Bug 596753: Flatten layout/svg/base/src into layout/svg. r=dholbert
--HG--
rename : layout/svg/base/src/Makefile.in => layout/svg/Makefile.in
rename : layout/svg/base/src/SVGFEContainerFrame.cpp => layout/svg/SVGFEContainerFrame.cpp
rename : layout/svg/base/src/SVGFEImageFrame.cpp => layout/svg/SVGFEImageFrame.cpp
rename : layout/svg/base/src/SVGFELeafFrame.cpp => layout/svg/SVGFELeafFrame.cpp
rename : layout/svg/base/src/SVGFEUnstyledLeafFrame.cpp => layout/svg/SVGFEUnstyledLeafFrame.cpp
rename : layout/svg/base/src/SVGViewFrame.cpp => layout/svg/SVGViewFrame.cpp
rename : layout/svg/base/src/nsISVGChildFrame.h => layout/svg/nsISVGChildFrame.h
rename : layout/svg/base/src/nsISVGGlyphFragmentNode.h => layout/svg/nsISVGGlyphFragmentNode.h
rename : layout/svg/base/src/nsISVGSVGFrame.h => layout/svg/nsISVGSVGFrame.h
rename : layout/svg/base/src/nsSVGAFrame.cpp => layout/svg/nsSVGAFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.cpp => layout/svg/nsSVGClipPathFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.h => layout/svg/nsSVGClipPathFrame.h
rename : layout/svg/base/src/nsSVGContainerFrame.cpp => layout/svg/nsSVGContainerFrame.cpp
rename : layout/svg/base/src/nsSVGContainerFrame.h => layout/svg/nsSVGContainerFrame.h
rename : layout/svg/base/src/nsSVGEffects.cpp => layout/svg/nsSVGEffects.cpp
rename : layout/svg/base/src/nsSVGEffects.h => layout/svg/nsSVGEffects.h
rename : layout/svg/base/src/nsSVGFilterFrame.cpp => layout/svg/nsSVGFilterFrame.cpp
rename : layout/svg/base/src/nsSVGFilterFrame.h => layout/svg/nsSVGFilterFrame.h
rename : layout/svg/base/src/nsSVGFilterInstance.cpp => layout/svg/nsSVGFilterInstance.cpp
rename : layout/svg/base/src/nsSVGFilterInstance.h => layout/svg/nsSVGFilterInstance.h
rename : layout/svg/base/src/nsSVGFilterPaintCallback.h => layout/svg/nsSVGFilterPaintCallback.h
rename : layout/svg/base/src/nsSVGForeignObjectFrame.cpp => layout/svg/nsSVGForeignObjectFrame.cpp
rename : layout/svg/base/src/nsSVGForeignObjectFrame.h => layout/svg/nsSVGForeignObjectFrame.h
rename : layout/svg/base/src/nsSVGGFrame.cpp => layout/svg/nsSVGGFrame.cpp
rename : layout/svg/base/src/nsSVGGFrame.h => layout/svg/nsSVGGFrame.h
rename : layout/svg/base/src/nsSVGGenericContainerFrame.cpp => layout/svg/nsSVGGenericContainerFrame.cpp
rename : layout/svg/base/src/nsSVGGenericContainerFrame.h => layout/svg/nsSVGGenericContainerFrame.h
rename : layout/svg/base/src/nsSVGGeometryFrame.cpp => layout/svg/nsSVGGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGGeometryFrame.h => layout/svg/nsSVGGeometryFrame.h
rename : layout/svg/base/src/nsSVGGlyphFrame.cpp => layout/svg/nsSVGGlyphFrame.cpp
rename : layout/svg/base/src/nsSVGGlyphFrame.h => layout/svg/nsSVGGlyphFrame.h
rename : layout/svg/base/src/nsSVGGradientFrame.cpp => layout/svg/nsSVGGradientFrame.cpp
rename : layout/svg/base/src/nsSVGGradientFrame.h => layout/svg/nsSVGGradientFrame.h
rename : layout/svg/base/src/nsSVGImageFrame.cpp => layout/svg/nsSVGImageFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.cpp => layout/svg/nsSVGInnerSVGFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.h => layout/svg/nsSVGInnerSVGFrame.h
rename : layout/svg/base/src/nsSVGIntegrationUtils.cpp => layout/svg/nsSVGIntegrationUtils.cpp
rename : layout/svg/base/src/nsSVGIntegrationUtils.h => layout/svg/nsSVGIntegrationUtils.h
rename : layout/svg/base/src/nsSVGMarkerFrame.cpp => layout/svg/nsSVGMarkerFrame.cpp
rename : layout/svg/base/src/nsSVGMarkerFrame.h => layout/svg/nsSVGMarkerFrame.h
rename : layout/svg/base/src/nsSVGMaskFrame.cpp => layout/svg/nsSVGMaskFrame.cpp
rename : layout/svg/base/src/nsSVGMaskFrame.h => layout/svg/nsSVGMaskFrame.h
rename : layout/svg/base/src/nsSVGOuterSVGFrame.cpp => layout/svg/nsSVGOuterSVGFrame.cpp
rename : layout/svg/base/src/nsSVGOuterSVGFrame.h => layout/svg/nsSVGOuterSVGFrame.h
rename : layout/svg/base/src/nsSVGPaintServerFrame.cpp => layout/svg/nsSVGPaintServerFrame.cpp
rename : layout/svg/base/src/nsSVGPaintServerFrame.h => layout/svg/nsSVGPaintServerFrame.h
rename : layout/svg/base/src/nsSVGPathGeometryFrame.cpp => layout/svg/nsSVGPathGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGPathGeometryFrame.h => layout/svg/nsSVGPathGeometryFrame.h
rename : layout/svg/base/src/nsSVGPatternFrame.cpp => layout/svg/nsSVGPatternFrame.cpp
rename : layout/svg/base/src/nsSVGPatternFrame.h => layout/svg/nsSVGPatternFrame.h
rename : layout/svg/base/src/nsSVGStopFrame.cpp => layout/svg/nsSVGStopFrame.cpp
rename : layout/svg/base/src/nsSVGSwitchFrame.cpp => layout/svg/nsSVGSwitchFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.cpp => layout/svg/nsSVGTSpanFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.h => layout/svg/nsSVGTSpanFrame.h
rename : layout/svg/base/src/nsSVGTextContainerFrame.cpp => layout/svg/nsSVGTextContainerFrame.cpp
rename : layout/svg/base/src/nsSVGTextContainerFrame.h => layout/svg/nsSVGTextContainerFrame.h
rename : layout/svg/base/src/nsSVGTextFrame.cpp => layout/svg/nsSVGTextFrame.cpp
rename : layout/svg/base/src/nsSVGTextFrame.h => layout/svg/nsSVGTextFrame.h
rename : layout/svg/base/src/nsSVGTextPathFrame.cpp => layout/svg/nsSVGTextPathFrame.cpp
rename : layout/svg/base/src/nsSVGTextPathFrame.h => layout/svg/nsSVGTextPathFrame.h
rename : layout/svg/base/src/nsSVGUseFrame.cpp => layout/svg/nsSVGUseFrame.cpp
rename : layout/svg/base/src/nsSVGUtils.cpp => layout/svg/nsSVGUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => layout/svg/nsSVGUtils.h
rename : layout/svg/base/src/resources/content/svgBindings.xml => layout/svg/resources/content/svgBindings.xml
rename : layout/svg/base/src/svg.css => layout/svg/svg.css
2012-09-24 23:01:21 +02:00
Robert O'Callahan
388f531a69 Bug 787947. We crash with dump-paint-list enabled when there are nested calls to nsLayoutUtils::PaintFrame. r=mattwoodrow 2012-09-25 15:25:47 +12:00
Matt Woodrow
6663628f6b Bug 793132 - Make sure that only display lists get the reference frame adjusted transform. r=roc 2012-09-26 10:47:41 +12:00
Phil Ringnalda
16e0947c04 Back out 85d6cbd01d39, 56fc051c1932, a2ad17b87332 (bug 781053) for OS X debug assertions and crashes
--HG--
extra : rebase_source : ab24a2f8e9eddcf33ea39344abb7afbf400bf6e0
2012-09-24 21:23:05 -07:00
Phil Ringnalda
59da0af0b1 Back out 8bd13443d0bc (bug 579517) to get a clean backout
--HG--
extra : rebase_source : 63c8087f0a6de5adeddb8762ff9e410b2b818e22
2012-09-24 21:21:10 -07:00
Ehsan Akhgari
3eee84e809 Bug 579517 follow-up: Remove NSPR types that crept in 2012-09-24 17:55:10 -04:00
Matt Woodrow
4e60645e00 Bug 781053 - Part 3 - Force the throbber into it's own layer. r=roc 2012-09-25 08:31:48 +12:00
Matt Woodrow
aed7d4ce0a Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc 2012-09-25 08:31:30 +12:00
Matt Woodrow
db4e12dd09 Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc 2012-09-25 08:29:14 +12:00
Bobby Holley
5af5a73d3d Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Robert O'Callahan
592db0a464 Bug 791616. Part 2: Add API to ScrollIntoView methods to control whether to scroll in a direction when that direction is not a perceived scrollable direction. r=mats 2012-09-24 16:37:10 +12:00
Robert O'Callahan
6b5d54dbcc Bug 791616. Part 1: Add nsIScrollableFrame::GetPerceivedScrollingDirections to consolidate logic for whether UI actions should be allowed to scroll in a given direction. r=mats 2012-09-24 16:30:33 +12:00
Robert O'Callahan
6d1e576d39 Back out bug 791616 due to test failure. 2012-09-24 21:55:16 +12:00
Robert O'Callahan
b87d59e7ac Bug 791616. Part 2: Add API to ScrollIntoView methods to control whether to scroll in a direction when that direction is not a perceived scrollable direction. r=mats
--HG--
extra : rebase_source : 4e178c79f19f96eaa31711c63c117835b28bcc10
2012-09-24 16:37:10 +12:00
Robert O'Callahan
dd556aca29 Bug 791616. Part 1: Add nsIScrollableFrame::GetPerceivedScrollingDirections to consolidate logic for whether UI actions should be allowed to scroll in a given direction. r=mats
--HG--
extra : rebase_source : 470acc887036b633f43a30fb7dc6ca24ddc02dc6
2012-09-24 16:30:33 +12:00
Matt Woodrow
a6901aa486 Bug 792314 - Build full display lists for nsPageFrame. r=roc 2012-09-20 11:26:33 +12:00
Matt Woodrow
45479895b5 Bug 792314 - Make nsDisplayTransform support untransformed frames. r=roc 2012-09-20 11:14:07 +12:00
Matt Woodrow
21740b5847 Bug 788044 - Apply the ContainerState offset to ImageLayers. r=roc 2012-09-24 14:56:39 +12:00
Phil Ringnalda
cf559dd6e1 Bug 782546 - make the todo_is() on linux32 a todo(false) since it's only consistent about being either true or false
--HG--
extra : rebase_source : 571e795503f90a4613ad448a6cb9e63dfff64126
2012-09-23 18:49:48 -07:00
Jim Mathies
9418b94d60 Bug 726615 - Completely remove MozTouch event support from mc. r=smaug 2012-09-22 14:28:08 -05:00
Robert Longson
3e3a71ce0c Bug 567848 - Split content methods from nsSVGUtils into SVGContentUtils. r=dholbert
--HG--
rename : layout/svg/base/src/nsSVGUtils.cpp => content/svg/content/src/SVGContentUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => content/svg/content/src/SVGContentUtils.h
2012-09-22 20:26:05 +01:00
Matt Brubeck
7eeb4d9731 Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron] 2012-08-22 13:17:20 -07:00
Ehsan Akhgari
9b049ad563 Merge mozilla-central into mozilla-inbound 2012-09-21 13:34:50 -04:00
Ehsan Akhgari
8ec85a4391 Bug 792302 - Add a more useful pseudo stack entry for flushing to FlushPendingNotifications; r=roc,BenWa 2012-09-20 19:19:48 -04:00
Olli Pettay
dda6b9a527 Bug 790856, ensure bounds on the previous viewer, r=bz 2012-09-21 10:38:14 +03:00
Julian Viereck
56e5c43389 Bug 468568. Main patch: support downloading fonts in printing and print preview. r=smaug
--HG--
extra : rebase_source : 2fbaef2896d218e6900449c9510fc867419eac30
2012-09-04 16:29:27 +03:00
Robert O'Callahan
baa61f83d1 Bug 468568. Part 0.8: Remove invalid assertion about matching containers. r=smaug
--HG--
extra : rebase_source : 6e9bb1fcf977dce8c3dc5fd807a20bfc06e625cb
2012-09-17 17:10:03 +12:00
Robert O'Callahan
326ac60736 Bug 468568. Part 0.6: Assert when ScheduleViewManagerFlush is called on a non-root. r=mattwoodrow
--HG--
extra : rebase_source : cf014da5cd7472fa036a5922c4ca9fff9aa93eac
2012-09-17 17:06:12 +12:00
Robert O'Callahan
d3d8b75397 Bug 772726. Part 7: Avoid specifying "repeat" mode when rendering CSS gradients if we don't need it. r=padenot
D2D repeating gradients rasterize slightly differently to non-repeating gradients even when
the rendered area falls within a single tile, so a repeating gradient compared to a
non-repeating gradient (say one drawn in a canvas) can cause reftest failures.
2012-09-08 00:32:21 +12:00
Ehsan Akhgari
70ba385729 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Robert O'Callahan
83a9f571e2 Bug 777194. Part 10: Reenable test_transformed_scrolling_repaints_2 on all platforms, and test_transformed_scrolling_repaints on 64-bit Linux. 2012-09-14 15:49:24 +12:00
Robert O'Callahan
5299c9217e Bug 777194. Part 6: Testcase. r=jrmuizel 2012-08-17 11:40:11 +12:00
Robert O'Callahan
cd1dc8d8c9 Bug 777194. Part 5: When choosing a subpixel position to scroll to, align the new position with the position that was most recently used to rerender the scrolled layer(s). r=tnikkel
If we always align the new scroll position with the previous scroll position, we can accumulate error and
gradually drift out of alignment with the layer pixels until we exceed the tolerance and are forced to
rerender everything.
2012-08-17 11:40:10 +12:00
Robert O'Callahan
ce488db1b3 Bug 777194. Part 8: Nudge transform matrix in ChooseScaleAndSetTransform to avoid math error. r=tnikkel 2012-08-25 16:41:46 +12:00
Ryan VanderMeulen
6b5288025b Backout c2b7be27e412 (bug 791644) due to mochitest orange. 2012-09-17 20:09:42 -04:00
Mats Palmgren
7d2088c451 Bug 765621 - Drain the parent frame's overflow list before attempting to insert/append new child frames. r=bz 2012-09-18 01:05:05 +02:00
Matt Woodrow
d1a58e8e6d Bug 791644 - Refactor nsDisplayTransform::GetResultingTransformMatrix into two functions with less optional parameters. r=roc 2012-09-18 10:34:21 +12:00
Matt Brubeck
2752ed5097 Back out ae2e45d25a1a, 4f144a06d0cc, 2e80be1d7d18 (bug 716575) for Android Talos red 2012-09-17 11:11:30 -07:00
Phil Ringnalda
267dc74749 Bug 681138 - Disable test_reftests_with_caret.html's bug 106855-1.html and bug 106855-2.html on OS X 10.8, r=ehsan
--HG--
extra : rebase_source : a6ccff76eeb2173ad0e658958bc1d41c2d70d388
2012-09-15 10:35:19 -07:00
Matt Brubeck
40eb8ac227 Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron]
--HG--
extra : rebase_source : be8a0dca63bb11418dfe9adf08c4717f8059146b
2012-08-22 13:17:20 -07:00
Matt Woodrow
8684475c74 Bug 788044 - Make inactive layer subtrees relative to the ContainerLayer, not the reference frame. r=roc 2012-09-17 10:25:33 +12:00
Robert O'Callahan
1180570856 Bug 777194. Part 9: Don't do snapped image drawing if there's rotation in the CTM. r=tnikkel 2012-09-04 10:32:20 +12:00
Matt Woodrow
5e4a9f531a Bug 788044 - Make transformed frames the reference frame for their display list tree. r=roc 2012-09-16 22:32:59 +12:00
Matt Woodrow
cfe2575635 Bug 788044 - Make various functions take const parameters. r=roc 2012-09-13 12:32:53 +12:00
Arnaud Sourioux
b20a9a4654 Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron 2012-09-14 09:10:08 -07:00
Adam Dane [:hobophobe]
817f867d4e Bug 787624 - Form scrolling for popups should use SCROLL_IF_NOT_VISIBLE. r=roc 2012-09-12 21:53:28 -05:00
Daniel Holbert
d47c88f280 Bug 791037: s/IsInlineOutside/IsInlineOutsideStyle/ in #ifdef MOZ_FLEXBOX code to fix compile error when flexbox is defined. r=dbaron (DONTBUILD because this is in code that's NPOTB for now) 2012-09-13 12:55:27 -07:00
Chris Lord
172e6e789a Bug 786502 - Test that scrolling a fixed background doesn't cause painting. r=roc
Add a test that makes sure that scrolling a page with a fixed background
doesn't cause that background to repaint.

--HG--
rename : layout/reftests/backgrounds/blue-32x32.png => layout/base/tests/chrome/blue-32x32.png
2012-09-13 11:35:16 +01:00
Chris Lord
d52c9aa58b Bug 786502 - Fix background-attachment:fixed scrolling with page. r=roc
Fix the size check in nsDisplayBackground::ShouldFixToViewport so that async
scrolling of fixed backgrounds works correctly when zoomed in on Firefox
Mobile. Also make IsFixedItem in nsDisplayList public and use it in
FrameLayerBuilder, so that fixed items are determined and treated consistently.
2012-09-13 11:34:34 +01:00
Chris Lord
bb16d413e7 Bug 786502 - Separate background layers into separate items. r=roc
Separate out background layers into separate display-list items, so that
backgrounds that are a mix of fixed and non-fixed layers will be treated
individually.
2012-09-13 11:34:23 +01:00
L. David Baron
8127acf9cb Add more profile labels for the separate parts of restyle processing. (Bug 790379) rs=cjones 2012-09-11 21:05:03 -07:00
Matt Woodrow
f798f0a97a Bug 787300 - Fix various bugs with refresh-driver-painting.enabled=false. r=roc 2012-09-12 09:17:26 +12:00
Matt Woodrow
087d06c226 Bug 789396 - Don't overwrite the existing mContainerLayerGeneration value on ThebesLayerItemsEntrys. r=roc 2012-09-12 09:17:26 +12:00
Matt Woodrow
b5a6e210b0 Bug 787148 - Force synchronous repainting when the document state changes. r=roc 2012-09-12 09:17:26 +12:00