Граф коммитов

18365 Коммитов

Автор SHA1 Сообщение Дата
Ms2ger 92da455fdb Bug 632508 - Handle non-finite values for rotate per spec; r=roc 2011-03-30 13:40:48 -04:00
Ms2ger 23b78e7510 Bug 632505 - Handle non-finite values for shadow{OffsetX|OffsetY|Blur} per spec; r=smaug 2011-03-30 13:40:48 -04:00
Ms2ger 83401a3f25 Bug 632464 - Handle non-finite values for globalAlpha per spec; r=smaug 2011-03-30 13:40:47 -04:00
Yury 5aaa1dc7d8 Bug 629875 - Handle negative arguments to drawImage; r=jmuizelaar 2011-03-30 14:55:13 +02:00
Ms2ger 4b1168a59f Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz 2011-03-29 22:24:54 -04:00
Ms2ger d5bdb8e8be Bug 632469 - Handle non-finite values for clearRect per spec; r=smaug 2011-03-29 22:24:53 -04:00
Ms2ger 152132c477 Bug 630511 - Lowercase mime type argument to toDataURL; r=sicking 2011-03-29 22:24:53 -04:00
Ms2ger 9f951e30b0 Bug 641219 - Fix HTMLElement.getElementsByTagName with foreign children; r=sicking 2011-03-29 22:24:53 -04:00
Ehsan Akhgari 692c3a0600 Merge cedar into mozilla-central 2011-03-29 10:39:07 -04:00
Boris Zbarsky 44b094294a Bug 644069. Fix the caching logic for cross-site requests. r=sicking 2011-03-29 00:41:01 -04:00
Boris Zbarsky a6976ce2df Bug 645938. Make sure to set mFlushesNeeded for all content lists. r=dbaron 2011-03-29 00:41:01 -04:00
Ms2ger 3e6de81c3e Bug 628353 - Expose the DATA_CLONE_ERR constant on DOMException; r=jst 2011-03-28 23:32:11 -04:00
Ms2ger fafe15490a Bug 604596. Stop using an out param for the return value of GetSMILOverrideStyle. r=bzbarsky 2011-03-28 23:32:11 -04:00
Boris Zbarsky 0812619d2d Bug 633271 part 2. Simplify nsEventStateManager::SetContentState. r=dbaron 2011-03-28 23:32:11 -04:00
Boris Zbarsky c634f43209 Bug 313351. ContentStatesChanged should take only one argument. r=dbaron 2011-03-28 23:32:11 -04:00
L. David Baron 6964725cc6 Remove nsCSSStruct.h/cpp. (Bug 645620, patch 4) r=bzbarsky 2011-03-28 16:07:26 -07:00
Jonas Sicking a95951e247 Bug 461066: Test for loadend firing correctly in CORS tests. r=smaug 2011-03-28 13:18:55 -07:00
Jonas Sicking 7f14c5ec51 Bug 644476: Rename classes/functions/variables to use "CORS" rather than "Access Control" or "Cross site" where appropriate. r=smaug 2011-03-28 13:18:45 -07:00
Jonas Sicking 6061159b90 Bug 644476 Part 2: Move CORS code from nsXMLHttpRequest.cpp/h to nsCrossSiteListenerProxy.cpp/h. r=smaug 2011-03-28 13:11:09 -07:00
Jonas Sicking f94b94a715 Bug 644476 Part 1: Remove nsIXMLHttpRequest.openRequest now that it's equivalent to nsIXMLHttpRequest.open. r=smaug 2011-03-28 13:05:52 -07:00
Ehsan Akhgari 8761668e87 Merge cedar into mozilla-central 2011-03-28 13:28:13 -04:00
Robert O'Callahan 46f6cf879d Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel
The basic idea is that whenever a layer transaction updates the window, we clear out the invalidation state for the canvas rendering context,
using a DidTransactionCallback registered on the layer(s) for the canvas, which calls MakeContextClean.

The DidTransactionCallbacks are directed to the user data attached to the Layer, which holds a strong reference to the canvas element. This
ensures that the element lives as long as the layer. Layers are destroyed when the presentation is torn down (including if the frame is destroyed),
so we can't have a leak here. The reference to the canvas element is only strong because the layer might briefly outlive the frame (the layer
won't be destroyed until the next paint of the window).

This patch moves responsibility for calling CanvasLayer::Updated and nsFrame::MarkLayersActive from the canvas context to nsHTMLCanvasElement::InvalidateFrame.
We call Updated on the retained CanvasLayer, if there is one; any other CanvasLayers created for this canvas would only be used once, and have Updated
called on them in BuildLayer when created.
2011-03-28 12:59:47 +13:00
Robert O'Callahan 173828d394 Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Ehsan Akhgari eb31aa597e Merge cedar into mozilla-central 2011-03-26 12:16:48 -04:00
Ms2ger f97acd7317 Bug 587469 - Remove an image map quirk; r=mats 2011-03-26 11:59:54 -04:00
Ms2ger c765ded566 Bug 585933 - Only implement HTMLUnknownElement on unknown elements; r=jonas,smaug
--HG--
rename : content/html/content/src/nsHTMLSpanElement.cpp => content/html/content/src/nsHTMLUnknownElement.cpp
2011-03-26 11:58:55 -04:00
timeless@mozdev.org 713aa1183e Bug 620179 crash [@ TestNode::Constrain] if cantHandleYet
r=enn
2011-03-26 00:39:29 -04:00
timeless@mozdev.org 2a923ad547 Bug 620181 crash [@ nsXBLPrototypeBinding::LocateInstance] if the while loop condition becomes false
r=neil
2011-03-26 00:39:12 -04:00
timeless@mozdev.org 356da3e387 Bug 620408 add fall through comment to txXPCOMExtensionFunctionCall::GetParamType
r=peterv
2011-03-26 00:37:11 -04:00
Ehsan Akhgari 9f40b44a29 Merge cedar into mozilla-central 2011-03-25 23:55:33 -04:00
Anna 727a858253 Bug 618662. Make nsIDocument::GetWindow a const method. r=bzbarsky 2011-03-25 23:52:52 -04:00
Boris Zbarsky e8fcb43cd8 Bug 607529. Don't trigger animation callbacks on documents that have gone away. r=roc,smaug 2011-03-25 21:05:56 -04:00
Jonas Sicking e4d26af2b2 Bug 641706: Make SpecialPowers able to create a XHR object with full system powers. r=smaug 2011-03-17 09:19:13 -07:00
Ehsan Akhgari 0c0464e633 Merge backout of bug 263359 2011-03-25 18:16:31 -04:00
Ehsan Akhgari 119ec44c6b Back out bug 263359 because it has caused bug 645119 2011-03-25 18:15:29 -04:00
Michael Wu 6651b13d4e Bug 636251 - Use JSOPTION_NO_SCRIPT_RVAL in nsFrameMessageManager.cpp, r=jorendorff 2011-03-25 14:31:14 -07:00
Ehsan Akhgari cb6a971f1a Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Simon Montagu 53a261431c Bug 263359 part 1.5: remove nsDirectionalFrame. 2011-03-24 11:28:44 +02:00
Phil Ringnalda bec224a1fa Bug 628966 - test_bug428847.html (by way of file_bug428847-1.xhtml) loads http://www.mozilla.com/whatever.xsl over the network; r=sicking 2011-03-23 22:34:02 -04:00
Benjamin Smedberg aca1d650f4 Bug 617539 - remove nsIWidget_MOZILLA_2_0_BRANCH, r=jimm 2011-03-25 11:03:35 -04:00
Benjamin Smedberg e6d50195a6 Bug 617539 - Fold in nsIFrameLoader_MOZILLA_2_0_BRANCH, r=bz 2011-03-25 11:03:35 -04:00
Benjamin Smedberg 911158b9eb Bug 617539 - Merge nsIDOMWebGLRenderingContext_MOZILLA_2_0_BRANCH, r=jrmuizel 2011-03-25 11:03:35 -04:00
Benjamin Smedberg b19cbe5b5a Bug 617539 - Fold in nsIDOMHTMLSelectElement_Mozilla_2_0_Branch, r=smaug 2011-03-25 11:03:35 -04:00
Benjamin Smedberg 496b2509e2 Remove nsIDOMNSDocument_MOZILLA_2_0_BRANCH, moving its private method to nsIDocument, r=sicking 2011-03-25 11:03:33 -04:00
Benjamin Smedberg 6d442e547b Bug 617539 - Remove branch interfaces, nsIHTMLEditor_MOZILLA_2_0_BRANCH, straight backout of revision e9d979b4b4a0, r=ehsan 2011-03-25 11:03:33 -04:00
Mounir Lamouri ae1c4237c5 Bug 636750 (4/4) - s/float/double/g on few methods/enums/variables. r=bz sr=sicking 2011-03-25 15:43:53 +01:00
Mounir Lamouri 9489183971 Bug 636750 (3/4) - Use a double value instead of a float in nsAttrValue::MiscContainer. r=bz 2011-03-25 15:43:40 +01:00
Mounir Lamouri 6f29076965 Bug 636750 (2/4) - Use ToDouble instead of ToFloat when appropriate. r=bsmedmerg 2011-03-25 12:14:19 +01:00
Mounir Lamouri 320e619f5f Bug 633058 - Satchel should not stop events propagations. r=dolske 2011-03-25 12:30:36 +01:00
Mounir Lamouri 0a5e46abff Bug 610212 - canvas.width and canvas.height should be reflected as unsigned int. r=jst 2011-03-25 12:40:55 +01:00