Commit Graph

15191 Commits

Author SHA1 Message Date
Robert Longson
d79da53539 Move assertion up. r=jwatt. no bug. DONTBUILD.
--HG--
extra : rebase_source : cbe99f683de3407ceb40b35c96d3d80d3d4a76a8
2012-11-06 18:57:58 +00:00
Robert Longson
24007d3553 Bug 807919 - stop invalidating text bounds twice on updates. r=jwatt 2012-11-06 17:00:11 +00:00
Jonathan Watt
6efefc9b87 Crashtest for bug 782141 - (CVE-2012-3969) Heap-buffer-overflow in nsSVGFEMorphologyElement::Filter. r=me. 2012-11-06 14:06:06 +00:00
Andrew Halberstadt
2ded52be4f Bug 808647 - Disable failing sanity reftests for B2G, a=test-only 2012-11-02 14:19:05 -04:00
Ehsan Akhgari
51201d2f10 Merge mozilla-central into mozilla-inbound 2012-11-06 20:16:41 -05:00
Mark Hammond
69679aa9db Bug 807571 - popup now resizes when sizeTo is called with the same height while open. r=enndeakin 2012-11-07 11:58:01 +11:00
Ryan VanderMeulen
4f33e32827 Backout 3f0e69962962, 84a1afc5b15e, c62f225d0dbb, 24870ebc9665, and dd7663e68657 (bug 799344) for mochitest-1 orange. 2012-11-06 19:36:49 -05:00
Chris Pearce
dcc6185a62 Bug 799344 - Remove extraneous media includes from nsLayoutStatics.cpp. r=roc 2012-11-07 11:33:02 +13:00
Ed Morley
157e0ef0a7 Bug 808417 - Make runTests() exception reporting consistent across test harnesses; r=jmaher 2012-11-05 13:03:55 +00:00
Ed Morley
dee89bbd25 Bug 808417 - remotereftest.py should print the actual exception if one occurred runTests(); r=jmaher 2012-11-05 13:03:54 +00:00
Robert O'Callahan
0b457b0fef Bug 792351. Make GetRootFrameOffset handle the case where aContainerFrame is itself a reference frame. r=mattwoodrow 2012-11-05 19:11:25 +13: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
Ehsan Akhgari
6e3b90c43e Merge mozilla-central into mozilla-inbound 2012-11-04 11:09:45 -05:00
Ms2ger
dd0deeb865 Merge PGO-green chanageset from inbound to m-c. 2012-11-04 10:26:52 +01:00
Ms2ger
42569d835b Bug 807465 - Less QIs in nsXULPopupManager::UpdateMenuItems; r=Enn 2012-11-04 09:05:25 +01:00
Seth Fowler
4388c1b02d Bug 807556 - Remove imgIRequest::loadImage's aRequest argument. r=joe 2012-11-03 23:04:07 -04:00
Daniel Holbert
da9265efff Bug 784061: add crashtest for this WORKSFORME bug. r=longsonr 2012-11-02 15:23:18 -07:00
Daniel Holbert
04c7908b09 Bug 612736: add crashtests for this WORKSFORME bug. r=longsonr 2012-11-02 15:23:16 -07:00
Jonathan Kew
f20b79de6f bug 808288 - render missing glyphs as hexboxes in <canvas> text. r=bas 2012-11-04 10:51:03 +00:00
Mats Palmgren
8f83670945 Bug 806755 - Don't call scroll methods on the pres shell after the Selection was disconnected. r=roc 2012-11-04 07:41:42 +01: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
b7ee822a90 Bug 797021 - Allow unsigned start parameter in NS_FOR_VISIBLE_BACKGROUND_LAYERS_BACK_TO_FRONT_WITH_RANGE. r=me
This was causing build failures on debug builds, as unsigned compare >= 0 is
always true.
2012-11-02 09:28:03 +00:00
Chris Lord
eaa5d104cb Bug 797021 - Reftest for multiple background content/border box clipping. r=roc 2012-11-02 08:35:39 +00: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
Chris Jones
6249aa79ea Bug 807142: Make containers for DisplayRemote behave like leaf layers when we're resolution-scaling. r=mattwoodrow 2012-11-02 00:13:08 -07:00
Mats Palmgren
ace5f485ee Bug 805153 - Check with the focus manager if our *content* is already focused. r=roc 2012-11-02 01:52:59 +01: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
Mats Palmgren
6f7901eebf Bug 806056 - Make nsContainerFrame destroy abs/fixed pos. child frames unless a derived class already did so. Assert that there are no abs/fixed pos. child frames in nsFrame::DestroyFrom(). r=roc 2012-11-02 01:52:59 +01:00
Robert Longson
bb5f133bd4 Bug 807355 - Only create marker effects if the content is markable. r=jwatt 2012-11-01 09:41:51 +00:00
Matt Woodrow
c8c84db46a Bug 806256 - Improve WrapPreserve3DList's behaviour by walking through nsDisplayWrapList without flushing the temp list. r=roc 2012-11-01 14:25:45 +13:00
Matt Woodrow
4d1760e067 Bug 806256 - Only recompute preserve-3d/perspective children overflow areas if the frame size changed. r=roc 2012-11-01 14:25:45 +13:00
Matt Woodrow
9061c644c4 Bug 806256 - Don't clobber the cached initial overflow. r=roc 2012-11-01 14:25:45 +13:00
Matt Woodrow
b631e0b634 Bug 806256 - Don't invalidate frames when the overflow area changes, DLBI will handle it. r=roc 2012-11-01 14:25:44 +13:00
Matt Woodrow
36a85808b8 Bug 805696 - Always invalidate nsImageFrames when we change to a new image request. r=joe 2012-11-01 14:25:44 +13:00
Mats Palmgren
f2df7bcbe6 Bug 806364 - Calculate dropdown height based on number of child frames for <option>s and <optgroup>s with non-empty label, instead of GetNumberOfOptions() which only includes <option> nodes. r=roc 2012-10-31 23:00:36 +01:00
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Mats Palmgren
c68613929b Bug 803995 - Dispatch an nsAsyncRollup event (that calls RollupFromList) only if we're dropped down since otherwise it might reset mouse capturing for other content. r=roc 2012-10-31 06:10:38 +01:00
Mats Palmgren
3038245030 Bug 807174 - Drop-down list used inside a frameset document renders outside the frame. r=roc 2012-10-31 06:10:38 +01:00
Jonathan Watt
f91401feba Bug 807213 - Stop creating nsSVGMarkerProperty objects for non-nsSVGPathGeometryFrame frames. r=roc. 2012-10-31 04:11:00 +00: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
Karl Tomlinson
27dc381d85 b=797568 only GetImageContainer in BuildLayer if the container will be used r=roc
--HG--
extra : transplant_source : %F3%C3%E4%AC%28%D3_%1C%A0%EB%19%EE%0E%F6Z%D8%EF%AE%94%F0
2012-10-31 15:54:06 +13:00
Karl Tomlinson
38ce885ab7 b=797568 don't try to get non-existant ImageContainer with in-process Mac plugins r=BenWa
--HG--
extra : transplant_source : %3F%06%DF%B3%90g%F7if%D4%DC%E4%B2x%C6a%C1%1C%E6Z
2012-10-31 15:54:05 +13:00
Karl Tomlinson
9da873f8c3 b=797568 remove obsolete nsObjectFrame::GetImageContainer() r=roc
--HG--
extra : transplant_source : h%CB%86%8A%E4%9B%1A%7DqS9%AC6%93s%0D%099%0A%B2
2012-10-31 15:53:37 +13:00
Jet Villegas
3727936e46 Bug 806068 part 2: Change in-tree usage of -moz-initial to initial. r=dholbert 2012-10-30 16:57:36 +01:00
Jet Villegas
3398141cef Bug 806068 part 1: Add support for unprefixed "initial" keyword in CSS (retaining prefixed keyword as an alias, for now). r=dholbert 2012-10-30 16:40:33 +01:00
Boris Zbarsky
7cb30ff9c6 Bug 801819. Remove nsIDOMCSS2Properties and the classinfo bits for CSS declarations. r=peterv,dbaron 2012-10-30 17:14:06 -04:00
Neil Deakin
6dd208b092 Bug 806781, null-check the document when updating menu items, r=neil 2012-10-30 15:55:03 -04:00
Neil Deakin
7f7a4c6096 Bug 793157, address extra review comments, r=neil 2012-10-30 15:55:00 -04:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07: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
Phil Ringnalda
ae9658f5bb Bug 806253 - Reftest needs to set prefs to disable blocklist updates, to avoid having them reported as leaks when they are still running at shutdown
--HG--
extra : rebase_source : 0a8103ec19056a71a150e5fe794807518f0aaf0e
2012-10-29 15:10:07 -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
L. David Baron
addb318e8f Bug 572200, part 3: Cache data that lives in the rule tree on every relevant rule node that has a style context directly pointing to it directly. r=bzbarsky 2012-11-07 11:55:53 -08:00
L. David Baron
58f7327fc2 Bug 572200, part 2: Allow rule nodes to cache data owned by an ancestor rule node: don't destroy structs that we don't own. r=bzbarsky 2012-11-07 11:55:53 -08:00
L. David Baron
4689079952 Bug 572200, part 1: Make rule nodes know whether they're used directly by a style context. r=bzbarsky 2012-11-07 11:55:53 -08: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
d88d9f4477 Bug 783415 part 2: Add mochitest to check the computed value of various specified "display" values on flex-container-children. r=dbaron 2012-11-07 11:29:00 -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
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
b23b6c84db Bug 804486 - s/fontHeight/increment/ to make some code less confusing. r=roc 2012-10-29 06:44:31 +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
6eeb1f29fd Bug 805697. There is no point in checking for the existence of a caret in the presshell --- it will always have one, and it wouldn't matter if it didn't. r=mats
--HG--
extra : rebase_source : 1ab91d2d60db433da09acead53853bfec351f574
2012-10-29 17:31:45 +13: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
Anthony Jones
4832a592be Bug 802658 - Part 2: Apply matrix transform to text bounds; r=Bas 2012-10-28 21:52:21 +01:00
Nathan Froyd
84cbbfb48c Bug 629633 - fix 363370-1.html intermittent orange by using reftest-wait; r=dholbert 2012-10-27 21:01:41 -04:00
Nathan Froyd
b65192bf46 Bug 778695 - fix 328829-2.xhtml intermittent orange by using reftest-wait; r=dholbert 2012-10-27 12:35:24 -04:00
Nathan Froyd
91f4b30b26 Bug 752864 - fix t1204-reset-00-c-o-test.html intermittent orange by using reftest-wait; r=dholbert 2012-10-27 12:36:36 -04:00
Nathan Froyd
dc9b9835db Bug 731706 - fix t1204-reset-02-c-o-test.html intermittent orange by using reftest-wait; r=dholbert 2012-10-27 12:37:00 -04: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
29f92ad50d Add preferences (defaulting to enabled, for now) to control whether certain prefixed aliases for CSS properties are supported, so that authors can have a way to test what happens when they're turned off in advance of our disabling them. (Bug 804944) r=bzbarsky 2012-10-26 19:04:20 +02:00
L. David Baron
fe6b36ef5f Bug 804970, patch 6: Don't force rem units out of the rule tree. r=bzbarsky 2012-10-26 19:04:20 +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
L. David Baron
48fdcf2bd2 Bug 804970, patch 3: Don't force vw/vh/vmin/vmax units out of the rule tree. r=bzbarsky 2012-10-26 19:04:20 +02:00
L. David Baron
f9b4b08010 Bug 804970, patch 2: Add test for dynamic changes of viewport units. r=bzbarsky
--HG--
rename : layout/style/test/test_rem_unit.html => layout/style/test/test_viewport_units.html
2012-10-26 19:04:20 +02:00
L. David Baron
6a3a6655e9 Bug 804970, patch 1: Don't force calc() units out of the rule tree. r=bzbarsky
This moves the calc() handling above the aCanStoreInRuleTree = false,
which it had no reason to be below.

calc() units are still forced out of the rule tree when there's an em,
ex, or rem unit inside the calc() structure, since aCanStoreInRuleTree
is passed through to the leaf CalcLengthWith calls.
2012-10-26 19:04:20 +02:00
Neil Deakin
c56bc18541 Bug 701760, merge <select> and popup manager rollup handling, so that select elements don't cancel out any popup rollup listeners, r=mats 2012-10-26 09:15:22 -04:00
Jonathan Watt
8545ec6439 Fix typo; no bug; DONTBUILD 2012-10-26 12:03:07 +01: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
Robert O'Callahan
9252f6adb2 Bug 801488. Part 2: Don't Redraw; DLBI will handle everything. r=mattwoodrow 2012-10-26 14:39:31 +13:00
Robert O'Callahan
25f02f5e88 Bug 801488. Don't flush notifications when dragging a XUL splitter. r=bzbarsky 2012-10-26 14:39:24 +13:00
Andrew Quartey
549c0bfc08 Bug 792581 - part 22: Replace LL_ZERO and LL_Zero() macros with 0. r=ehsan 2012-10-25 19:25:59 -04:00
Nikhil Marathe
36f99c3113 Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8 2012-10-25 16:10:54 -07:00
Nikhil Marathe
453b3dce5f Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8 2012-10-25 16:10:53 -07:00
Ryan VanderMeulen
130a50c2ca Merge m-c to inbound. 2012-10-25 17:43:19 -04: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
Chris Lord
cfec602eb6 Bug 805014 - Add fuzz for gradient-live tests on Android. r=jwatt
Progressive tiles have caused these tests to render slightly differently for
no obvious reason.
2012-10-25 22:11:37 +01:00
Jonathan Griffin
4ea552c35c Bug 805428 - Install reftest extension on B2G as app bundle, r=ahal, DONTBUILD(NPOTB) 2012-10-25 09:55:42 -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
Shriram Kunchanapalli
139ebcaff0 Bug 799105: Adjusts the width and height to < 600px. r=smontagu. 2012-10-23 19:10:19 +05:30
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
Robert O'Callahan
dd42c402ce Bug 801488. Part 2: Don't Redraw; DLBI will handle everything. r=mattwoodrow 2012-10-25 00:34:55 +13:00
Robert O'Callahan
e931c22bfd Bug 801488. Don't flush notifications when dragging a XUL splitter. r=bzbarsky 2012-10-25 00:34:49 +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
Simon Montagu
eb3d465115 Tests for bug 793233, r=roc 2012-10-25 01:36:37 -07: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
Matt Woodrow
05fe77431e Bug 803556 - Schedule a paint whenever we reflow a display root frame. r=roc 2012-10-25 12:04:41 +13:00
William Lachance
15662eb630 Bug 801652 - Remove redundant devicemanager import;r=jmaher 2012-10-24 13:43:29 -04:00
William Lachance
e5adaff9ff Bug 801652 - Make sure we print logcat, device info on remote mochitest/reftest failure;r=jmaher 2012-10-24 13:34:33 -04:00
Mats Palmgren
906ea93b96 Bug 804641 - Work around Android armv6 compiler bug (again). r=roc 2012-10-24 01:34:54 +02:00
Jonathan Kew
40f8726544 bug 804644 - convert Cocoa points to _un_scaled device pixels for system font sizes. r=roc 2012-10-23 21:09:23 +01:00
Ben Turner
1493ea2ca6 Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking. 2012-10-23 09:31:19 -07:00
Neil Deakin
63abc12c82 Bug 793157, add a popup method to move a popup relative to an anchor after it has opened, r=neil 2012-10-23 08:11:13 -04:00
Neil Deakin
d7944e2171 Bug 792296, don't flush while getting popup state and calling other popup methods, r=neil 2012-10-23 08:11:09 -04: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
Jonathan Kew
7cd7932810 bug 715798 pt 3.5 - canvas reftest to check that emoji character is non-blank. r=jrmuizel 2012-10-23 10:07:57 +01:00
Jonathan Kew
966af42211 bug 715798 pt 2.5 - reftests to check Unicode emoji characters are not rendered blank. r=jrmuizel 2012-10-23 10:06:28 +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
Olli Pettay
f5c0c70f94 Bug 802985, PreDestroy editor, r=ehsan 2012-10-20 21:48:34 +03: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
Neil Deakin
dc3b24d024 Bug 772808, Menuitems should inherit hidden attribute from commands, r=neil,smichaud 2012-10-19 16:04:07 -04:00
Nick Hurley
31985d7fa6 Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Abhishek Potnis
2509c81393 Bug 795511: Removed usages of PR_BIT and PR_BITMASK from the tree; r=ehsan 2012-10-20 07:31:43 +05:30
Mats Palmgren
aed5ac4b21 Bug 803473 - Wait for MozReftestInvalidate to fix orange. r=roc 2012-10-22 15:53:31 +02:00
Mats Palmgren
5d8d5869e1 Bug 798853, style system. r=roc,dbaron 2012-10-22 15:53:31 +02:00
Mats Palmgren
4058b7e19b Bug 802902 - Live long and prosper Mr. View Manager. r=roc 2012-10-22 15:53:31 +02:00
Robert Longson
7deef898eb Bug 801317 - Support transforms in SVG fragment identifiers. r=dholbert 2012-10-22 10:13:24 +01:00
Jonathan Kew
a9b15e7697 bug 803483 followup - remove fails-if annotation from reftests that now pass on all OSX versions. no_r=me 2012-10-22 10:13:26 +01:00
Jonathan Kew
33aed8417a bug 772640 - reftests for rendering of decomposed char via OpenType and Graphite. r=jdaggett 2012-10-22 08:47:05 +01: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
Joel Maher
395e543ab2 Bug 800093 - adjust reftest-sanity tests to fit in a 600x600 window. r=dbaron 2012-10-18 08:03:40 -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
Robert O'Callahan
fe1244558e Bug 801763. Don't try to update geometry for plugin widgets with no parent. r=mats
--HG--
extra : rebase_source : d7d0f7c5536adc2cd0ad77c2b3169410f237d206
2012-10-17 17:51:57 +13: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
709a7af847 Bug 799796. Do memory reporting for stylesheets that only the CSS loader might know about. r=dbaron,njn 2012-10-17 17:01:56 -04:00
Boris Zbarsky
611fe536d0 Bug 800983. Expose a getter for default computed style. r=dbaron
An alternative implementation strategy is to add "default-only"
versions of ResolveStyleFor and ResolvePseudoElementStyle and then
modify FileRules to support those, or use a cut-down custom version of
FileRules for them.  That would be faster, but more complicated on the
style set side.  We can always make that switch if we need to, I guess.
2012-10-17 17:01:56 -04:00
Boris Zbarsky
194968b6cb Bug 795520. Don't fail to return a computed CSS declaration just because the style change that will give us a presshell has not been processed yet. r=dbaron
Another, more risky, option would be to always return a declaration
from getComputedStyle, even if we have no presshell, then just throw
(after flushing, as needed) if people try to get style info for it
just like we already do for declarations whose document loses a
presshell.  This might cause compat issues on sites that can deal with
null but not exceptions, though.  :(
2012-10-17 17:01:56 -04: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
Emmanuele Bassi
98dfc6ddf1 Bug 784467 - Switch computed style's url(invalid-url:) to [css3-values]'s url(about:invalid). r=dbaron 2012-10-17 15:33:57 -04:00
Steven Lee
d8013ae196 Bug 790499 - Time API: Call JS_ClearDateCaches() to update Date object's timezone when the system timezone is reset, r=jlebar 2012-10-17 00:26:00 -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
Matt Woodrow
efa6b0782d Bug 801784 - Only add invalidate children state flags up to the nearest display root. r=roc 2012-10-17 21:00:00 +13:00
Phil Ringnalda
aee349a1a3 Bug 799332 - Set a high urlclassifier.updateinterval to match the one in automation.py.in so that we're unlikely to leak background safebrowsing updates by doing them at the wrong time, r=dbaron 2012-10-08 21:04:39 -07:00
Daniel Holbert
b2c3861a3a Bug 799207: Reduce severity of assertion that checks baseline of flex item against sentinel value. r=dbaron 2012-10-16 19:04:33 -07:00
Daniel Holbert
cf67cb6e07 Bug 798666: Constrain cross size of auto-sized flex containers to be within min/max range. r=dbaron 2012-10-16 19:04:30 -07: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
c1c75cb34f Bug 798020: Reduce severity of fatal assert about unconstrained-width flexbox, since gigantic widths in web content can reach our "unconstrained" sentinel value, and it's not actually dangerous. r=dbaron 2012-10-16 19:04:23 -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
Daniel Holbert
0516389cc0 backout 5545892376cc (Bug 737961) for Windows reftest orange 2012-10-16 16:05:52 -07:00
Matt Woodrow
1c995bf725 Bug 750417 - Remove Redraw calls from nsSprocketLayout. r=roc 2012-10-17 10:30:37 +13:00
Matt Woodrow
efecba6d6c Bug 795674 - Handled merged frame changes with minimal invalidations. r=roc 2012-10-16 14:23:07 +13:00
Joel Maher
c6e4f2c493 Bug 737961 - add reftest manifest conditions for height width. r=dbaron 2012-10-16 16:12:25 -04: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
Steven Michaud
5038f543ad bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01: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
Jonathan Kew
c5e7186020 bug 794038 pt 1.2 - popup manager needs to use display pixels when constraining window to screen area. r=roc 2012-10-16 20:41:19 +01:00
Jonathan Kew
942fc8cf67 bug 794038 pt 1.0 - use global display pixel coordinates to persist and restore XUL window position and size. r=roc 2012-10-16 20:41:19 +01:00
Emmanuele Bassi
13034b2dd7 Bug 784466 - [css3-animations] Drop declarations in keyframe rules that have !important. r=dbaron 2012-10-16 09:21:35 -07: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
Phil Ringnalda
06baaa818a Back out fb167937d25b (bug 799332) because I fail at copy-paste 2012-10-15 21:02:56 -07:00
Matt Woodrow
26bbb87af2 Backout e19d625511a0 for breaking WinXP M-o 2012-10-16 16:59:35 +13:00
Phil Ringnalda
a0ada57ef1 Bug 799332 - Set a high urlclassifier.updateinterval to match the one in automation.py.in so that we're unlikely to leak background safebrowsing updates by doing them at the wrong time, r=dbaron 2012-10-08 21:04:39 -07: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
Daniel Holbert
4144f09473 Bug 542039 followup: Replace "namespace ... = mozilla::..." with "using namespace mozilla", to fix build error w/ --disable-accessibility. rs=tbsaunde 2012-10-15 15:44:34 -07: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
a7b8adc9c0 Bug 787210: Add capability to import-tests.py to import ahem font if necessary for tests. [r=dbaron] 2012-10-15 15:39:15 -05: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
Trevor Saunders
b51bb304d8 bug 542039 - accessible object types r=surkov, roc 2012-09-28 17:53:44 -04:00
William Lachance
3d699579d7 Bug 756440 - Only warn when we fail cleanup steps with mobile mochitest/reftest;r=jmaher
Before we were outright failing if the test logfile was missing when cleaning
up these tests. But that's generally a sign that the app failed to start
up properly, which is the true issue we should be trying to catch / diagnose.
Let's just print a warning here and move on.
2012-10-15 10:15:19 -04:00
Josh Aas
da0ff685ab Bug 598397: Remove support for Carbon NPAPI. r=smichaud 2012-10-15 08:38:34 -04:00
Joel Maher
2eff828189 Bug 800099 - scroll-rounding reftest requires > 600x600 resolution. r=mats 2012-10-15 07:10:51 -04:00
Kan-Ru Chen (陳侃如)
df71a77f5d Bug 797681 - Register GonkGPSGeoLocationProvider as a XPCOM service. r=dougt 2012-10-15 14:40:51 +08: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
Robert O'Callahan
7d6e031363 Bug 786740. When destroying all the frames in a line list, keep the line list and frame list valid at each step in case someone tries to walk the frame tree during frame destruction. r=mats
--HG--
extra : rebase_source : 7045daffc35fdaca02a74caa52a93a270c94cf74
2012-10-15 14:34:23 +13:00
Matt Woodrow
378eb8c2fa Bug 795674 - Remove mNewDisplayItemData. r=roc 2012-10-12 15:39:46 +13:00
David Zbarsky
f16ecc6e9f Bug 799407: Turn on FAIL_ON_WARNINGS under layout/generic r=roc 2012-10-14 21:28:23 -04: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
David Zbarsky
4304df5794 Bug 799407: Fix warnings under layout/generic, r=roc 2012-10-14 16:56:03 -04:00
Mats Palmgren
03aa3e3bb6 Bug 798691. r=roc 2012-10-14 20:27:37 +02:00
Jonathan Watt
5c64e1de9c Reftest for bug 797231 (Clip path region is incorrect with direct2d). r=Bas. 2012-10-14 16:30:14 +01:00
Ehsan Akhgari
4e37e1c2f8 Remove nsSelectionIterator::mType because it is unused, no bug 2012-10-13 17:37:09 -04:00
Ehsan Akhgari
c4db3e7dff Remove nsGridRowGroupLayout::mRowColumn because it is unused, no bug 2012-10-13 17:34:22 -04: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
David Zbarsky
e601e292c3 Backed out changeset 3884ab03451d (bug Bug 799407) because new warnings have
been added.
2012-10-13 14:49:35 -04:00
David Zbarsky
00416cfb9c Bug 799407: Fix warnings under layout/generic, r=roc 2012-10-13 14:31:19 -04: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
Andrew Quartey
0e23b26077 Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
790ec84feb Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan 2012-10-12 13:29:10 -04:00
Jeff Hammel
884b0385b0 Bug 800110 - Mirror mozbase -> m-c for bug 800097 @ da60c88b8c ;r=ahal,r=wlach 2012-10-12 10:24:35 -07:00
Josh Matthews
80112a2809 Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-12 12:11:23 -04:00
Josh Matthews
36511684e4 Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe 2012-10-12 12:11:22 -04:00
Josh Matthews
2c57ae944e Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-12 12:11:22 -04:00
Ed Morley
f71c7a0f14 Merge mozilla-central to mozilla-inbound 2012-10-12 12:22:14 +01: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
Nicholas Cameron
404ba9b65d Bug 734668; reviewer's changes. r=Ms2ger,roc
--HG--
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.cpp => content/canvas/src/CanvasRenderingContext2D.cpp
extra : rebase_source : 827a45dd8cc2bdc77e850e8b1d1e23e9f2f72f7d
2012-10-12 22:42:53 +13:00
Nicholas Cameron
a18fe5707c Bug 734668; remove Thebes canvas. r=roc
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13: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
Josh Matthews
e7ec57cfce Merge backout. 2012-10-11 21:58:41 -04:00
Josh Matthews
08a5eceeeb Back out bug 585385 for build bustage. 2012-10-11 21:58:24 -04:00
Daniel Holbert
f80be63da9 Bug 799647 part 2: reftest. r=dbaron
--HG--
rename : layout/reftests/flexbox/flexbox-align-self-horiz-1.xhtml => layout/reftests/flexbox/flexbox-align-self-horiz-1-block.xhtml
rename : layout/reftests/flexbox/flexbox-align-self-horiz-1.xhtml => layout/reftests/flexbox/flexbox-align-self-horiz-1-table.xhtml
2012-10-11 18:41:32 -07:00
Daniel Holbert
8fe0749a1d Bug 799647 part 1: Use style-context parent instead of frame parent when resolving "align-self:auto" on a flex item. r=dbaron 2012-10-11 18:41:05 -07:00
Josh Matthews
ae359191a3 Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews
de69f2ada1 Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews
f3459980ad Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-11 21:34:23 -04:00
Ed Morley
d88426cc6d Backout b71e714d5957 (bug 795657) for burning 2012-10-11 14:54:14 +01:00
Ehsan Akhgari
5e79046259 Remove some unused variables, no bug 2012-10-11 09:19:35 -04: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
Matt Woodrow
5f6b511601 Bug 797059 - Schedule a paint when slider frames change position. r=roc 2012-10-11 18:44:59 +13:00
Matt Woodrow
479663fd71 Bug 797295 - Add support for the layer attribute to nsImageBoxFrame. r=roc 2012-10-11 18:44:59 +13:00
Ehsan Akhgari
5a7253fa1e Merge mozilla-central into mozilla-inbound 2012-10-10 20:21:13 -04: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
Gregory Szorc
2bb5606ff3 Bug 799291 - Part 3: Move mozbuild.testing into testing/; r=jhammel
--HG--
rename : python/mozbuild/mozbuild/testing/test.py => testing/moztesting/util.py
2012-10-10 11:08:09 -07:00
Gregory Szorc
97cce3a53e Bug 799291 - Part 1: Move mach commands for test running into test runners; r=jhammel
The code interacting with the test runners now resides in closer
proximity to the code it is invoking. We also purge testing
functionality from mozbuild, which is where it never really belonged.

--HG--
rename : python/mozbuild/mozbuild/testing/reftest.py => layout/tools/reftest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/mochitest.py => testing/mochitest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/xpcshell.py => testing/xpcshell/mach_commands.py
2012-10-10 11:08:09 -07:00
Andrew Halberstadt
c4f991bfaf Bug 795099 - Add --gecko-path argument to runreftestb2g.py, r=jgriffin; DONTBUILD because NPOTB 2012-10-05 11:12:05 -04:00
Ehsan Akhgari
23c2b32d26 Merge mozilla-central into mozilla-inbound 2012-10-08 16:53:58 -04:00
Jacek Caban
b18e820fcf Bug 799069: Unresolved vpx_codec_vp8_cx export in --disable-webrtc build r=jesup,derf 2012-10-08 10:56:17 -04:00
Ed Morley
220a57883c Bug 752786 - Disable one part of test_bug469613.xul for too many intermittent failures 2012-10-08 14:10:54 +01: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
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
Daniel Holbert
02e1006451 Bug 800535: Switch var to unsigned in nsSimplePageSequenceFrame::PrePrintNextPage, to fix signed/unsigned-comparison build warning. r=bdahl 2012-10-11 14:33:25 -07:00
Daniel Holbert
857659da08 Bug 799775 part 2: Add decl to inherit "-moz-order" on table outer frames in ua.css. r=dbaron
--HG--
rename : layout/style/test/file_flexbox_order.html => layout/style/test/file_flexbox_order_table.html
rename : layout/style/test/test_flexbox_order.html => layout/style/test/test_flexbox_order_table.html
2012-10-11 14:33:24 -07:00
Daniel Holbert
e474f16541 Bug 799775 part 1: General mochitest for 'order' property reordering items in a flex container. rs=dbaron 2012-10-11 14:33:24 -07: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
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
Nicholas Nethercote
d89f667caf Bug 768901 - Don't double-count shared nsCSSStyleSheetInners. r=bz.
--HG--
extra : rebase_source : f8ba1cce0b4b12915bc5faf2f9edfd56a5305178
2012-10-09 20:03:18 -07:00
Ryan VanderMeulen
961442fd42 Merge m-c to inbound. 2012-10-09 21:11:06 -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
Abhishek Potnis
6f931b9ad7 Bug 795504: Remove usages of PR_STATIC_CALLBACK from the tree; r=ehsan 2012-10-08 21:45:12 +05:30
Jason Duell
db2d501e44 Bug 795203 - B2g: clear private data: cookies. r=mconnor,jduell 2012-09-28 17:03:00 -07:00
Boris Zbarsky
e192ce8c57 Bug 795221 part 4. Hook up <link> elements to cycle collect their stylesheet. r=smaug
--HG--
rename : content/html/content/crashtests/795221-1.html => content/html/content/crashtests/795221-3.html
2012-10-07 22:39:09 -04:00
Boris Zbarsky
529cae9883 Bug 795221 part 3. Implement cycle collection for GroupRule objects. r=smaug,dbaron
--HG--
rename : content/html/content/crashtests/795221-1.html => content/html/content/crashtests/795221-2.html
2012-10-07 22:39:09 -04:00
Boris Zbarsky
1aa9d15695 Bug 795221 part 1. Implement cycle collection for nsCSSStyleSheet objects, so we don't leak through them. r=smaug,dbaron
Each nsCSSStyleSheet has a pointer to a nsCSSStyleSheetInner.  The
nsCSSStyleSheetInner is shared across multiple stylesheets, in
general.  The nsCSSStyleSheetInner owns the rules and the child
stylesheets.

What this means is that a given rule object is effectively owned by
multiple sheets.  However, cycles can only form through rule objects
that have been JS-wrapped, and if we're JS-wrapping a rule object that
means we have ensured that it's owned by only one stylesheet.
Therefore, we only traverse and unlink mInner if it's uniquely owned
by our sheet.

Similarly, if our child sheets or any of their rules have been
JS-wrapped, that means that we must have an mInner that we own
outright.
2012-10-07 22:39:08 -04:00