Robert Longson
74ef5ce548
Fix comment. r=jwatt. no bug. DONTBUILD.
...
--HG--
extra : rebase_source : 3dbbe95341f3acecf433dd7571b87a6296bbe37a
2012-11-06 19:13:25 +00:00
Robert Longson
b99c3ea241
Fix comment. r=jwatt. no bug. DONTBUILD.
...
--HG--
extra : rebase_source : 780ad16e8432347096d81290140d91411a726cc1
2012-11-06 19:02:04 +00: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
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