Commit Graph

14964 Commits

Author SHA1 Message Date
Mats Palmgren
e9e241d66a Bug 798867 - Use the content offset that GetFrameForNodeOffset returns. r=roc 2012-11-08 17:09:38 +01:00
Mats Palmgren
b1a520c604 Bug 685012 - Implement page-break-inside:avoid in layout. r=fantasai,sr=roc 2012-11-08 17:09:38 +01:00
Mats Palmgren
8fc2862b38 Bug 685012 - Implement page-break-inside:avoid in the style system. r=dbaron 2012-11-08 17:09:37 +01:00
Robert O'Callahan
5b4fb3c358 Bug 792675. Part 5: Extend nsHostObjectProtocolHandler with support for 'mediastream' scheme. r=sicking
--HG--
rename : content/base/public/nsBlobProtocolHandler.h => content/base/public/nsHostObjectProtocolHandler.h
rename : content/base/src/nsBlobProtocolHandler.cpp => content/base/src/nsHostObjectProtocolHandler.cpp
rename : content/base/src/nsBlobURI.h => content/base/src/nsHostObjectURI.h
extra : rebase_source : aea1ab3b9eed985ea238d2e9fb74bf3b2f574756
2012-09-25 15:24:44 +12:00
Robert O'Callahan
d723594f8f Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking
The code to handle MediaStream URIs is almost the same as for Blobs, so share it.
nsHostObjectProtocolHandler is modified a bit to simplify method names. Also
we make nsHostObjectProtocolHandler::AddDataEntry take responsibility for
generating the URI to avoid duplicating that code later.
We need separate subclasses for each kind of host object protocol handler,
but we don't need separate subclasses for each kind of host object URI.

--HG--
rename : content/base/public/nsBlobProtocolHandler.h => content/base/public/nsHostObjectProtocolHandler.h
rename : content/base/src/nsBlobProtocolHandler.cpp => content/base/src/nsHostObjectProtocolHandler.cpp
rename : content/base/src/nsBlobURI.cpp => content/base/src/nsHostObjectURI.cpp
rename : content/base/src/nsBlobURI.h => content/base/src/nsHostObjectURI.h
extra : rebase_source : bfb1d7ea2813100a35f9a2054a67584e38f5f330
2012-09-25 15:24:44 +12: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
Ehsan Akhgari
55beb1a63f Bug 775350 - Update the overflow areas of the lines containing floats based on the overflow areas of the floats in the containing block; r=dbaron 2012-11-06 12:11:50 -05:00
Ehsan Akhgari
7155c4fc5f Merge mozilla-central into mozilla-inbound 2012-11-07 17:24:27 -05:00
Ed Morley
3c0fa4c28c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-11-07 12:52:55 +00:00
Ryan VanderMeulen
ac03c9c930 Merge the last PGO-green inbound changeset to m-c. 2012-11-06 21:02:09 -05:00
Gregory Szorc
cb927ab20b Bug 808336 - Part 1: Refactor mach command handler management; r=jhammel
Previously we were tighly coupled with MozbuildObject. This was not in
the spirit of mach being a generic tool. Now, instead of passing multiple
arguments to __init__ of the class providing the mach command we either
pass 0 or 1. The number of arguments is detected when processing the
@CommandProvider decorator. The optional argument is a named tuple
containing mach run-time state.

Capturing of mach command provider information is now captured in a
class (as opposed to an anoymous tuple). We also capture these in a rich
data structure which is passed as part of the run-time data to the
command provider class. This allows mach commands to inspect the mach
environment.

Mach decorators have been moved to mach.decorators. mach.base is
reserved for generic mach data/container classes.

Existing mach command classes derived from MozbuildObject have been
replaced with either object or mozbuild.base.MachCommandBase. This
latter class translates the mach context instance passed to __init__
into the constructor arguments for MozbuildObject.__init__.

Support for registering function handlers with mach has been removed.
All handlers must be inside classes.

--HG--
rename : python/mach/mach/base.py => python/mach/mach/decorators.py
2012-11-06 16:57:41 -08:00
Ed Morley
e74b154022 Bug 701060 - Disable test_bug401046.html & test_lang.xhtml for too many intermittent failures 2012-11-06 22:26:56 +00: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
Daniel Holbert
6846596f76 Bug 794748: Add mochitest to check computed value of "min-width:auto" and "min-height:auto". r=dbaron 2012-11-07 13:32:53 -08:00
Karl Tomlinson
0b77bd44cb test for bug 806583
--HG--
extra : transplant_source : M%D9p%12%9A.%A3%8Apy%F3%01%7D%09%C1-LsUs
2012-11-08 10:15:42 +13:00
Karl Tomlinson
01bff252cf b=807925 revert to calling GetImageContainer() before NotifyPaintWaiter() to check for null instance first r=roc
--HG--
extra : transplant_source : %FF%24%B7%29%DB%F7%88%F4%60%AEg-%26%EF%1Bd%A6%FF8%0E
2012-11-08 10:15:27 +13: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
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
Gregor Wagner
9e00a6fc99 Bug 775997 - Message app crashes when run OOP. Part 1/2. r=bent 2012-11-06 13:29:30 -08:00
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