Matt Woodrow
e2651fa885
Bug 810186 - Don't unnecessarily nest inactive layers. r=roc
2012-11-13 14:22:21 -08:00
Matt Woodrow
6a40d5fd04
Bug 808491 - Force 3d transformed layers to always be active. r=roc
2012-11-13 22:26:29 -08:00
Bas Schouten
dec539af30
Bug 811173. Part 1: Allow nsDisplayBackgroundColor::GetBounds to enable snapping. r=roc
...
--HG--
extra : rebase_source : 4eb0dadaaf17d7c30a82454c98390fd5c01eb4ec
2012-11-13 11:57:59 -08:00
Robert O'Callahan
2792f27f85
Bug 788322. Don't crash when we drawWindow on a page containing a remote <iframe>. r=mattwoodrow
...
The test is actually a test for bug 792351. It doesn't pass yet, since
we're not drawing remote iframes properly, but the test should at least
not cause a crash.
--HG--
extra : rebase_source : c25305bf872525d9b918950a3f9d77479a78a1e4
2012-11-13 11:55:52 -08:00
Robert O'Callahan
858138cda2
Bug 804606. On Mac, call ApplyPluginGeometryUpdates immediately when we've computed geometry, instead of waiting until the paint event. r=smichaud
...
--HG--
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_geoprompt.js
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_geoprompt_page.html => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_geoprompt_page.html
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_openlocation.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_openlocation.js
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_zoomrestore.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_zoomrestore.js
rename : toolkit/system/androidproxy/Makefile.in => toolkit/system/windowsproxy/Makefile.in
rename : toolkit/system/androidproxy/nsAndroidSystemProxySettings.cpp => toolkit/system/windowsproxy/nsWindowsSystemProxySettings.cpp
extra : rebase_source : 006071633b23f5ab34a27e46100fe32fbff9f735
2012-11-07 09:38:11 +13:00
Ryan VanderMeulen
5bbdea2881
Backed out changeset 43e4b01c0150 (bug 810186) for reftest failures.
2012-11-13 18:25:09 -05:00
Matt Woodrow
11fd423f63
Bug 810186 - Don't unnecessarily nest inactive layers. r=roc
2012-11-13 14:22:21 -08:00
Jeff Muizelaar
dd29583933
Bug 809603. Simplify border radius drawing. r=roc
...
This adds a RoundedRect class that we use to do the offsetting. This class can
probably also be used elsewhere. With this patch we handle the Gmail checkboxes
in a single draw instead of in pieces like we currently do.
--HG--
extra : rebase_source : 8809f12b386eef2ce7364fb98e681fba343efdfe
2012-11-12 17:55:26 -08:00
Felipe Gomes
952b0d3adc
Bug 803255. Ensure previous document viewer is cleared when creating a new one to avoid leaking the old one. r=bz
2012-11-12 13:00:19 -08:00
Matt Woodrow
bcdaf96109
Bug 805197 - Compute a region in LayerTreeInvalidation. r=roc
2012-11-12 10:31:15 -08:00
Ryan VanderMeulen
a17df69b99
Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage.
2012-11-10 11:52:15 -05:00
Matt Joras
ed596163dd
Bug 798033 - Removes 'using namespace' from dom headers - r=khuey
2012-11-10 10:45:52 -05:00
Seth Fowler
db5b4c84bf
Bug 802849 - Refactor nsPresContext::MediaFeatureValuesChanged so that it can handle rebuilding style data for all callers. r=dbaron
2012-11-08 22:40:41 -08:00
Peter Van der Beken
2b73b3b4d1
Bustage fix (bug 804991 - Make FromContent expect a non-null pointer and add FromContentOrNull)
...
--HG--
extra : rebase_source : e7185c02b8cebd76201670f874d7c5b35bea9eb4
2012-11-09 22:10:06 +01:00
L. David Baron
baccbd0090
Bug 809533, patch 5: Remove unneeded null-checks in nsIPresShell.h. r=roc
2012-11-09 10:30:28 -08:00
L. David Baron
4ef58f8175
Bug 809533, patch 4: Remove null-checks of NS_New*Frame callers in the frame constructor. r=bzbarsky
2012-11-09 10:30:28 -08:00
Jonathan Kew
a6f11a5eff
bug 774560 pt 2 - implement text-transform:full-width. r=smontagu
2012-11-09 09:43:48 +00:00
Matt Woodrow
a573135e7f
Bug 799165 - Don't revoke a view manager flush on PresShell destruction if we don't own the refresh driver. r=roc
2012-11-09 19:21:45 +13:00
Bas Schouten
475f579ef1
Bug 809178: Don't let the inactive layer manager keep a gfxContext alive. r=mattwoodrow
2012-11-09 07:01:24 +01:00
Chris Jones
8a2473fc33
Bug 806029: Have remote content drop their buffers when they're hidden. r=mattwoodrow sr=roc
2012-11-07 19:51:55 -08:00
Masatoshi Kimura
3bd83e2eac
Bug 801402 - Use EncodingUtils::FindEncodingForLabel from DOM. r=sicking
2012-11-07 18:04:22 -05:00
L. David Baron
0f4a543158
Bug 809533, patch 2: Don't null-check inside NS_New*Frame. r=roc
2012-11-07 11:55:53 -08:00
L. David Baron
cbecfc83f0
Bug 809533, patch 1: Make allocation in the frame arena and the display list arena infallible. r=roc
2012-11-07 11:55:53 -08:00
Daniel Holbert
bf91bdf97d
Bug 783415 part 1: Make "display" value of flex items compute to their blockified forms. r=dbaron
2012-11-07 11:28:59 -08:00
Robert Longson
95d45d92ee
Bug 779971 - Make nsSVGTextPathProperty::DoUpdate trigger nsSVGTextFrame::NotifyGlyphMetricsChange() off an asynchronous change hint (to avoid calling nsLayoutUtils::FrameNeedsReflow synchronously under nsISVGChildFrame::ReflowSVG or during frame teardown, and avoid infinite loops caused by using an event queue event). r=jwatt.
...
--HG--
extra : rebase_source : 4dc4e59cf423f6ffb02826fb2f357edda85c048c
2012-11-07 09:53:44 +00:00
Mounir Lamouri
226d823007
Bug 809425 - Fix GCC 4.7 warnings in nsDocumentViewer.cpp. r=bz
2012-11-07 16:51:32 +00:00
Jonathan Watt
1a92bc6ab1
Bug 809328 - Stop using nsChangeHint_UpdateEffects in nsSVGRenderingObserver::DoUpdate overrides. r=roc.
...
--HG--
extra : rebase_source : 79d032ea6ad6275882ab675004d2e02b932d56d5
2012-11-07 13:54:55 +00:00
Ed Morley
18a52c3135
Backout 99a2125bd365 (bug 779971) for reftest failures
2012-11-07 12:31:00 +00:00
Robert Longson
af422317a5
Bug 779971 - Make nsSVGTextPathProperty::DoUpdate trigger nsSVGTextFrame::NotifyGlyphMetricsChange() off an asynchronous change hint (to avoid calling nsLayoutUtils::FrameNeedsReflow synchronously under nsISVGChildFrame::ReflowSVG or during frame teardown, and avoid infinite loops caused by using an event queue event). r=jwatt.
2012-11-07 09:53:44 +00:00
Matt Woodrow
4a08c209ba
Bug 805948 - Use the local perspective value instead of trying to retrieve it from the nsStyleDisplay again. r=cjones
2012-11-07 19:56:57 +13:00
Matt Woodrow
3cc8cded99
Bug 798964 - Don't invalidate nsDisplayBackgroundColor if only the image changed. r=roc
2012-11-07 11:04:53 +13:00
Matt Woodrow
24fdb78f3c
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
a5b3f77bcf
Bug 798964 - Add nsDisplayBackground color and make the bounds of nsDisplayBackground match the image. r=roc
2012-10-25 18:32:25 +13:00
Robert Longson
d79da53539
Move assertion up. r=jwatt. no bug. DONTBUILD.
...
--HG--
extra : rebase_source : cbe99f683de3407ceb40b35c96d3d80d3d4a76a8
2012-11-06 18:57:58 +00:00
Mats Palmgren
931e861e14
Bug 806483 - Explicitly remove the LayerManagerDataProperty() from a destroyed frame also when destroying the shell. r=roc
2012-11-06 00:35:45 +01:00
Matt Woodrow
ef3978c9e9
Bug 807563 - Update the overflow areas of all preserve-3d children when the transform changes. r=roc
2012-11-05 12:12:05 +13:00
Wes Johnston
d1940c82a8
Bug 790454 - Set touch target in touchstart. r=smaug
2012-11-02 12:59:20 -07:00
Robert O'Callahan
c9803f76aa
Bug 805331. Only chrome display items that are leaves should be treated as especially opaque. r=mats
2012-11-03 01:59:03 +13:00
Robert O'Callahan
c71a6efb72
Bug 805331. Part 1: Refactor nsDisplayList::GetList
...
Renames GetList to GetSameCoordinateSystemChildren, and adds an assertion
to verify that the children have the same reference frame as the parent.
Adds nsDisplayList::GetChildren to return whatever children there are.
Obsoletes nsDisplayTransform::GetStoredList.
2012-11-03 01:59:03 +13:00
Robert O'Callahan
e8d5856ece
Bug 796452. Add mozpasspointerevents attribute for IFRAMEs in chrome windows. r=mats
2012-11-02 23:42:59 +13:00
Chris Lord
ce01e20601
Bug 797021 - Fix border clipping with multiple background layers. r=roc
...
Bug 786502 broke border clipping with multiple background layers as it stopped
iterating from the bottom-most layer when drawing, and thus skipped background
clip setting.
2012-11-02 08:35:32 +00:00
Mats Palmgren
cffb2e72e9
Bug 806056 - Add a frame bit that says if a frame is allowed to have abs/fixed pos. children when the style so indicates (position/transform usually). Copy the bit to next-in-flows. Don't call MarkAsAbsoluteContainingBlock for style changes on an existing frame unless that bit is set (style changes that recreates the frame resets it of course). Assert in MarkAs[Not]AbsoluteContainingBlock() that the bit is set. r=bz
2012-11-02 01:52:59 +01:00
Jonathan Watt
8bee0afef8
Bug 806964 - Stop calling UpdateOverflow on frames that are scheduled to be reflowed. r=roc.
2012-10-31 04:10:47 +00:00
Nathan Froyd
bd55a07f0e
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Wes Johnston
a61ea6976f
backout 387a5f8b5e4f and b45a4dcb88c1
2012-10-29 15:45:52 -07:00
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Wes Johnston
c5198449d0
Bug 790454 - Follow up to fix bustage and remove unused nsresult. r=dholbert
2012-10-29 14:35:15 -07:00
Wes Johnston
a109da13a9
Bug 790454 - Find target for touch during touchstart. r=smaug
2012-10-29 14:02:17 -07:00
Gabor Krizsanits
f83543b9ea
Bug 804120 - Offer a way to apply author stylesheet on a given document. r=bz
2012-10-29 12:21:15 +01:00
Mats Palmgren
cbfa147ac8
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
5b94df5bb2
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
e4af70465e
Bug 805831 - Followup: Fix compiler warning.
2012-10-27 16:48:37 +02:00
Bas Schouten
4f15d944ba
Bug 805831: Add a cache for border corner gradients. r=joedrew
2012-10-27 06:32:52 +02:00
Phil Ringnalda
698c871d74
Back out fbd8fdb7c544 (bug 805831) for build failures
2012-10-26 21:53:41 -07:00
Bas Schouten
ed3c6b2dd4
Bug 805831: Add a cache for border corner gradients. r=joedrew
2012-10-27 06:32:52 +02:00
Paul Adenot
a8c0f2d345
Bug 800319 - Make the gradient cache differentiate between backend types. r=Bas
2012-10-26 15:34:43 +02:00
L. David Baron
adc491234c
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
30f8edf8dc
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
cd8b189e2f
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
c23292286b
Bug 804323. Mark newly-transformed frames as abs-pos containers (or not). r=bzbarsky
2012-10-26 22:11:24 +13:00
Matt Woodrow
85acfcddf9
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
1327ccea79
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
4b217b8c39
Bug 579517 follow-up: Remove NSPR types that crept in
2012-10-25 14:44:37 -04:00
Ehsan Akhgari
f117c7a7b0
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
48b5c1a608
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
3150bb83c2
Backout 1ebc3b1b8feb, 205c1c846d70 (bug 801488), and e4367fd2043f (bug 804323) due to b-c crashes.
2012-10-25 07:53:36 -04:00
Mats Palmgren
2c1bcc210f
Bug 798691, part 2. r=roc
2012-10-25 13:17:10 +02:00
Robert O'Callahan
ea16f5ba48
Bug 804323. Mark newly-transformed frames as abs-pos containers (or not). r=bzbarsky
2012-10-25 00:35:29 +13:00
Simon Montagu
7b247cb324
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
aad1519dae
Back out c95958e3b85d and e8a8bf41e0c4 (bug 798964) for Android reftest-4 failures
2012-10-25 01:19:57 -07:00
Phil Ringnalda
29d12d417c
Back out 8bffa268afd8 (bug 800041) for reftest assertions in 745934-1.html
2012-10-24 23:49:39 -07:00
Matt Woodrow
df721374f4
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
7992f1637d
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
19592164ef
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
8e05c0f895
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
ede9f6a2ea
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
18da1f172a
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
7f25a0bb58
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
71316ceb81
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
279ac60f86
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
ddcd08f0e2
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
4fa3b26bd8
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
0f08510fc2
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
0949a9118e
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
58ec21a7d9
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
e67a9eba19
Bug 803949: Do not draw anything for zero size images. r=roc
2012-10-23 00:37:08 +02:00
Ehsan Akhgari
1f78e9ca0c
Merge mozilla-central into mozilla-inbound
2012-10-22 17:05:46 -04:00
Olli Pettay
eff07d5cbb
Bug 793848, faster svg:use check, r=bz
2012-10-21 15:33:38 +03:00
Mats Palmgren
4058b7e19b
Bug 802902 - Live long and prosper Mr. View Manager. r=roc
2012-10-22 15:53:31 +02:00
Peter Van der Beken
0fca6b2112
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
Robert Longson
a164e47d1b
Bug 791826 - Fix crash with SVG preserveAspectRatio, position:fixed. r=jwatt
2012-10-20 11:03:35 +01:00
Seth Fowler
f07bf4e48c
Bug 503720: Implement vw/vh/vmin/vmax. r=dbaron
2012-10-19 16:21:06 -07:00
Scott Johnson
f2cabe41ad
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
57adeb4354
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
89a46852c0
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
839cc85349
Bug 794510 - Part 8 (second half)
2012-10-18 15:04:20 -04:00
Ehsan Akhgari
aeed0aaefd
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
91ac2b984a
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
cc83e9aace
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
c5f3c7220d
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
62de45cba6
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
ada10776c7
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
8217ef94b6
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
22149cc16c
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
84d10d8c4d
Bug 599882. Make baselines not depend on relative positioning of kids. r=dbaron
2012-10-17 17:01:55 -04:00
Matt Woodrow
ba464dd210
Bug 802321 - Don't compare geometry objects for inactive layers. r=roc
2012-10-17 21:00:00 +13:00
Daniel Holbert
b4614f52ed
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
2b0d34fc2f
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
efecba6d6c
Bug 795674 - Handled merged frame changes with minimal invalidations. r=roc
2012-10-16 14:23:07 +13:00
Gabor Krizsanits
6403599b60
Bug 676054: part3: nsStyleSheetService::GetInstance. r=bz
2012-10-16 21:45:56 +02:00
Gabor Krizsanits
bda3f0bb14
Bug 676054 - part2: Provide AUTHOR_SHEET type for registering with nsIStyleSheetService. r=bz
2012-10-16 21:45:50 +02:00
Jonathan Kew
d0245b58c2
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
ac0f787fea
Bug 801116 followup: clearer variable naming. DONTBUILD
2012-10-16 10:52:55 -04:00
Makoto Kato
402f21ecf3
Bug 801483 - make nsBufferedInputStream::Init fallible. r=bsmith
2012-10-16 17:38:20 +09:00
Matt Woodrow
26bbb87af2
Backout e19d625511a0 for breaking WinXP M-o
2012-10-16 16:59:35 +13:00
Boris Zbarsky
d932e15ac7
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
f9d6f7fdd4
Bug 801365 - Invalidate ThebesLayers if the zoom factor changes. r=roc
2012-10-16 14:10:51 +13:00
Matt Woodrow
7c4e5b5701
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
773891762c
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)
0c3c65fbc0
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
9f951a761e
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
5b297d3387
Backout e52a16b96738 (Bug 784375) for oranges on OSX 10.8.
2012-10-15 15:13:40 -05:00
Daniel Holbert
93791d3f3b
Bug 801098: Unprefix flexbox properties & keywords (still preffed off by default). r=dbaron
2012-10-15 12:42:43 -07:00
Scott Johnson
c5c4e9bfb9
Bug 784375: Add a preference to control maximum font size inflation ratio. [r=dbaron]
2012-10-15 14:03:37 -05:00
Scott Johnson
d0463a203f
Backout 94f06c75c3b5 for lack of reviewer.
2012-10-15 14:13:35 -05:00
Scott Johnson
4f79a3d4c2
Bug 784375: Add a preference to control maximum font size inflation ratio.
2012-10-15 14:03:37 -05:00
Chris Lord
d02d1ec010
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
ebd6229e0a
Backout bug 779684 for topcrash
2012-10-15 14:35:50 -04:00
David Zbarsky
52e0277cdc
Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc
2012-10-15 01:42:40 -04:00
David Zbarsky
47da3f3432
Backout 784bb7c5ea9c (Bug 799407) for bustage
2012-10-15 02:14:34 -04:00
David Zbarsky
92d607b47a
Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc
2012-10-15 01:42:40 -04:00
Robert O'Callahan
dd6953881f
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
378eb8c2fa
Bug 795674 - Remove mNewDisplayItemData. r=roc
2012-10-12 15:39:46 +13:00
Nicholas Nethercote
16bd3d758f
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
03aa3e3bb6
Bug 798691. r=roc
2012-10-14 20:27:37 +02:00
Robert O'Callahan
ac2e27ffd8
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
e96fb0fe57
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
e7f231d6c8
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
c36b325aed
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
9b829aa943
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
491b02a2e0
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
1f76f70875
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
edeb5cd80c
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-12 11:59:59 +01:00
Ed Morley
c4f39bb7ab
Backout 5b727a94eebd (bug 731974) for causing bug 797263 again
2012-10-12 11:25:17 +01:00
Chris Jones
c310927390
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
6b8eb9be1b
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-11 14:46:06 +01:00
Olli Pettay
69e091e8e4
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
3d3592cd63
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Matt Woodrow
640446a3b7
Bug 800287 - Optimize display list processing. r=roc
2012-10-12 12:38:25 +13:00
Matt Woodrow
15482dcc1f
Bug 795674 - Add DisplayItemData debugging code. r=roc
2012-10-12 12:38:25 +13:00
Matt Woodrow
d6769ad8b7
Bug 795674 - Refactor DisplayItemData storage in FrameLayerBuilder. r=roc
2012-10-12 12:38:24 +13:00
Vladimir Vukicevic
90ed83bd9c
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
d88426cc6d
Backout b71e714d5957 (bug 795657) for burning
2012-10-11 14:54:14 +01:00
Robert O'Callahan
9cbd3db906
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
5a7253fa1e
Merge mozilla-central into mozilla-inbound
2012-10-10 20:21:13 -04:00
Masatoshi Kimura
5637d27654
Bug 797385 - Part 2: Remove ibm864 usage. r=smontagu
2012-10-10 06:32:37 -04:00
David Zbarsky
307c734c43
[Bug 799407] Fix build warnings in layout r=roc
2012-10-10 01:00:05 -04:00
Jeff Walden
c8bc078730
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
6eb6a9b409
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
708a9c8217
Bug 793065. Keep mRootPresContext alive in case something crazy happens. r=mattwoodrow
2012-10-05 16:20:35 +13:00
Masayuki Nakano
cbffcf6ade
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
d5dfa3d132
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
3a1848bba7
b=731974, requestAnimationFrame generates too short/long frames; r=bz,smaug,roc
2012-10-02 10:54:46 -04:00
Chris Lord
3f8854bee2
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
dcbd7a8fb2
Bug 782888 - Do not propagate nsChangeHint_UpdateEffects to text nodes. r=bz
2012-10-05 12:47:52 +10:00
Nathan Froyd
e888ba80f4
Bug 796129 - remove prtypes #includes in layout/
2012-10-01 17:12:57 -04:00
Robert O'Callahan
3ce34207a6
Bug 787947. Avoid scaling by 0 when snapping gradient tiles. r=jrmuizel
2012-09-25 15:25:48 +12:00
Ed Morley
2ac2a2ad99
Backout a5c50066ecbb (bug 787947), ee9f796b8416 (bug 794709) for crashtest/reftest assertions
2012-10-04 13:15:00 +01:00
Robert O'Callahan
1d404245af
Bug 787947. Avoid scaling by 0 when snapping gradient tiles. r=jrmuizel
2012-09-25 15:25:48 +12:00
Yu-Sian (Thomasy) Liu
49b91a54ac
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
ca55cb45de
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
cac4904e11
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
c78629f9f8
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
691b3b77ff
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
83ffff1908
Backout ffcdd896a1fa (bug 787947) for reftest failures
2012-10-03 13:43:19 +01:00
Robert O'Callahan
5e3c2f27cf
Bug 787947. Avoid scaling by 0 when snapping gradient tiles. r=jrmuizel
2012-09-25 15:25:48 +12:00
Chris Jones
17867c12a8
Back out bug 790505 for leaking
2012-10-03 00:21:08 -07:00
Chris Jones
4f1e40ca75
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
7180e78526
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
dd55277c3e
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
b3c5efa43b
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
21e63fcc16
Merge m-c to inbound.
2012-10-02 22:09:07 -04:00
Matt Woodrow
a535ae1484
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
039c299dc9
Bug 795899 - Remove merged frame handling in BuildContainerLayerFor. r=roc
2012-10-03 13:03:34 +13:00
Ed Morley
3d3703a920
Merge mozilla-central to mozilla-inbound
2012-10-02 11:19:03 +01:00
Daniel Holbert
acf22b1d4f
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
457e38f7d1
merge m-c to m-i
2012-10-01 21:50:57 -07:00
Matt Woodrow
f0b58f5226
Bug 770144 - Use FuzzyEqual to compare layer scale values. r=roc
2012-10-02 17:00:09 +13:00
Benoit Girard
c8f1bc0779
Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey
2012-10-01 16:01:35 -04:00
Vladimir Vukicevic
2864c47b46
b=683143,792462; Some tests call SimpleTest.finish() twice/guard against that; r=ehsan
2012-10-01 17:51:10 -04:00
Ed Morley
52216acaf5
Backout 16ae4d5d27d7 for mochitest-other failures in test_mousescroll.xul
2012-10-02 17:38:49 +01:00
Vladimir Vukicevic
57bcf02a8d
b=731974, requestAnimationFrame generates too short/long frames; r=bz,smaug,roc
2012-10-02 10:54:46 -04:00
Ms2ger
8c3cbade76
Bug 793314 - Remove PtrBits; r=mounir,roc
2012-10-02 10:24:11 +02:00
Matt Woodrow
48360d5f92
Bug 795646 - Add crashtest for merged nsDisplayFixedPosition items. r=cjones
2012-09-30 19:20:24 +13:00
Matt Woodrow
0158c64b27
Bug 795591 - Disable merged display item tracking. r=cjones
2012-09-30 13:55:10 +13:00
Doug Sherk
c0e08ee726
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
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
foudfou
d72827c0aa
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
c54bcbb4f7
Bug 539356 - Fix mActiveScrolledRootOffset to be offset to the reference frame. r=mattwoodrow
2012-09-28 23:19:39 +12:00
Matt Woodrow
44b3b5cbeb
Bug 781053 - Part 3 - Force the throbber into it's own layer. r=roc
2012-09-25 08:31:48 +12:00