Commit Graph

3322 Commits

Author SHA1 Message Date
Jim Mathies
5a62d70df3 Bug 683059 - Fix for Crash [@ nsObjectFrame::IsOpaque] with applet and changing style onunload. r=josh 2012-02-02 16:55:25 -06:00
Matt Brubeck
7e74c1f71e Merge mozilla-central and mozilla-inbound 2012-02-01 17:09:34 -08:00
Ms2ger
fbc1bcf68b Bug 722406 - Part a: Introduce nsISelection::CollapseNative; r=smaug 2012-02-01 11:54:22 +01:00
Josh Aas
b0e5e866d9 Bug 90268: Change plugin instance ownership from layout to content. r=roc r=bsmedberg 2012-01-31 16:55:54 -05:00
Tim Taubert
b07eb6fddb merge m-c to fx-team 2012-01-31 14:45:13 +01:00
Jared Wein
1c062f7770 Bug 710373 - Pressing the vertical slider down arrow should move three lines instead of one. r=roc 2012-01-31 12:04:35 +01:00
Robert O'Callahan
01d0e1b487 Bug 721627. Don't return nsRefPtr/nsCOMPtr from nsDisplayImage methods. nsDisplayImage::GetImage is unused anyway. r=mats 2012-01-30 18:16:54 +13:00
Daniel Holbert
e579af5a86 Bug 722510: Remove unused argument from nsBlockFrame::DrainOverflowLines. r=roc 2012-01-30 15:35:03 -08:00
Phil Ringnalda
124120bf61 Back out eb80ab6ee07b (bug 721627) and 06d02e7132b2 (bug 721294) for orange and red 2012-01-27 20:31:29 -08:00
Robert O'Callahan
e7fe111cd2 Bug 721627. Don't return nsRefPtr/nsCOMPtr from nsDisplayImage methods. nsDisplayImage::GetImage is unused anyway. r=mats
--HG--
extra : rebase_source : 113647a8bf8101b7c4d7058bd205be734f38125d
2012-01-28 16:36:49 +13:00
Mats Palmgren
530ea96a92 Bug 672944 - Setup overflow areas for the scrolled block frame in a XUL scroll frame for the benefit of text-overflow; Make the text-overflow code grok the extra wrapper frame in this case. r=roc 2012-01-28 04:35:59 +01:00
Nicholas Nethercote
a7ad4ef70e Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Edwin Flores
0855766ec9 Bug 710521 - Refactor gfxFont to separate out drawing stroke and drawing to path. r=roc 2012-01-26 13:11:18 +01:00
James Willcox
ced0347f0e Bug 721741 - Add support for Flash on Android 4.0+ r=blassey 2012-01-31 09:40:58 -05:00
Boris Zbarsky
403d51ce98 Backed out changeset e57ddd9fdd5e (bug 721741) because it breaks Android builds. 2012-01-31 23:38:35 -05:00
James Willcox
9334322db3 Bug 721741 - Add support for Flash on Android 4.0+ r=blassey 2012-01-31 09:40:58 -05:00
Bas Schouten
f987b74374 Bug 715785: Make ImageContainers independent of LayerManagers. r=roc 2012-02-01 03:18:30 +01:00
L. David Baron
c7ac84126f Make selects and things inside them not be containers for font size inflation, so that font inflation inflate selects appropriately along with what surrounds them. (Bug 706609, patch 8) r=roc 2012-01-24 17:21:29 -08:00
L. David Baron
9e76faa89f Apply font size inflation to 'line-height: normal' by using the metrics of the inflated font rather than multiplying the inflation by the result for the uninflated font. (Bug 706609, patch 7) r=roc
This matters primarily because it makes font inflation easier to test by
avoiding rounding differences.  It fixes two existing tests that were
disabled and also makes it possible to test font inflation of selects
(since options have line-height: normal ! important in the UA style
sheet).
2012-01-24 17:21:29 -08:00
L. David Baron
21e38c2e03 Honor inflation during intrinsic width computation when needed. (Bug 706609, patch 6) r=roc
This is the second of two patches to honor inflation during intrinsic
width calculation (which we need to do to make some form controls
inflate correctly).
2012-01-24 17:21:29 -08:00
L. David Baron
5eb8920348 Switch nsLayoutUtils inflation methods to the new setup with state on the pres context. (Bug 706609, patch 5) r=roc
This is the third of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:29 -08:00
L. David Baron
a7425ba7e8 Set inflation container to null during ComputeSize calls for inflation containers, when we should not have inflation applied. (Bug 706609, patch 4.5) r=roc 2012-01-24 17:21:29 -08:00
L. David Baron
185e4fa106 Set inflation container to null during parts of intrinsic sizing that should not have inflation applied. (Bug 706609, patch 4) r=roc
This is the first of two patches to honor inflation during intrinsic
width calculation (which we need to do to make some form controls
inflate correctly).
2012-01-24 17:21:29 -08:00
L. David Baron
235614aca3 Make floating :first-letter frames not be containers for font size inflation, to avoid triggering assertions. (Bug 706609, patch 3.5) r=roc 2012-01-24 17:21:28 -08:00
L. David Baron
77cffa9ed9 Set inflation container and width correctly during reflow. (Bug 706609, patch 3) r=roc
This is the second of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:28 -08:00
L. David Baron
06fe8e9788 Add a frame state bit for whether a frame is a container for font size inflation (Bug 706609, patch 1) r=roc
This moves the logic currently in
nsLayoutUtils::IsContainerForFontSizeInflation into frame initialization
so that we can (later, for bug 706193) make that logic more complicated.
2012-01-24 17:21:28 -08:00
Jonathan Watt
cb807222d1 Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron. 2012-01-24 13:09:55 +00:00
Phil Ringnalda
323c5e6832 Bug 718564 - adjust crashtest assertion ranges to reflect reality part two, the forgetting of one 2012-01-18 22:47:08 -08:00
Phil Ringnalda
0722485a33 Bug 718564 - adjust crashtest assertion ranges to reflect reality
--HG--
extra : rebase_source : 3ae657663239f3382d5163170c0a098e0c78ed69
2012-01-18 21:52:43 -08:00
Jeff Muizelaar
9c9e2eed37 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Timothy Nikkel
381f828353 Bug 675015. Wait until scrolling is complete to dispatch synthetic mouse moves. r=roc 2012-01-18 22:13:02 -06:00
James Willcox
f2a22733cd Bug 707439 - Fix Flash plugin positioning
--HG--
extra : rebase_source : aaa41297d293ffde1aabe5632ade6c416b4d541f
2012-01-18 10:41:35 -05:00
Chris Lord
7d51a9632f Bug 524925 - Reftest that checks whether dynamic transform changes result in the correct scrollable overflow being propagated through parent frames. part=6/6 r=dbaron 2012-01-18 21:04:51 +01:00
Mats Palmgren
9d52d983fd Bug 524925 - Consolidate overflow clipping checks to nsFrame::ApplyOverflowClipping(); and fix some code style nits. part=5/6 r=roc 2012-01-18 21:04:51 +01:00
Benjamin Stover
0a52de4032 Bug 524925 - Recompute overflow without reflowing for transforms. part=1/6 r=dbaron
Add an extra change hint, UpdateOverflow, that can be used to specify that
a frame's overflow areas may have changed and that they need to be recalculated.
When a transform on a frame changes, instead of marking it for reflow, set this
hint instead.

There is an added virtual function on nsIFrame, UpdateOverflow, which is called
recursively on a frame when the corresponding hint is set, to allow it to
update its overflow areas.
2011-06-15 14:03:49 -07:00
Matt Brubeck
2e1e2ae3c5 Back out 88733ce1bef3 (bug 718440) because of Windows build failure 2012-01-17 15:15:47 -08:00
Jeff Muizelaar
581f54f157 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Marco Bonardo
1b31e5f0a2 Merge last green PGO changeset from inbound to central 2012-01-17 16:22:33 +01:00
Tim Taubert
d798b882da merge m-c to fx-team 2012-01-16 11:20:19 +01:00
Jared Wein
3a800a6051 Bug 198964 - Enable smooth scrolling by default. r=gavin 2012-01-13 16:26:34 -08:00
Josh Matthews
eda4983660 Bug 454790 - Allow programmatic selection of -moz-user-select: none frames. r=roc 2012-01-12 15:59:19 -05:00
Simon Montagu
7b2f366751 Implement text-align-last. Bug 536557, r=dbaron 2012-01-12 19:52:21 +02:00
Ed Morley
097cd18f1b Backout 6605cc311ec5 & 9217303c2e5c (bug 536557) for M4 orange 2012-01-12 15:33:00 +00:00
Simon Montagu
6d9e29e3e5 Implement text-align-last. Bug 536557, r=dbaron 2012-01-12 16:29:20 +02:00
Ehsan Akhgari
e2811ba7bb Bug 171237 - Part 2: Correct the calls to ScrollIntoView which were not updated as part of bug 605138; r=roc 2012-01-11 20:19:19 -05:00
Ehsan Akhgari
b07d71747a Bug 171237 - Center the search results instead of scrolling only enough to show them in order to provide more visual context; r=roc 2012-01-11 20:18:23 -05:00
David Zbarsky
e96cf389ad Bug 682611 - Part 2: Remove nsIRange; r=smaug 2012-01-10 15:19:54 +01:00
Markus Stange
76504f5eaa Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc 2011-12-23 22:52:25 -05:00
Markus Stange
cb70f28632 Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc 2011-12-23 22:52:22 -05:00
Jonathan Kew
7f4e013606 bug 715471 - use fallible allocation for potentially large buffers in nsTextFrameThebes.cpp. r=roc 2012-01-14 22:19:51 +00:00