Commit Graph

604 Commits

Author SHA1 Message Date
Jonathan Watt
18d9313895 Bug 522306. Add support for SMIL animation of the <path> element's 'd' attribute. r=roc, r=longsonr, r=dholbert, a=roc. 2010-11-08 15:07:00 +00:00
Robert Longson
785fa4398d Bug 608653 - lacuna pattern width/height should be zero r+a=roc 2010-11-03 22:35:00 +00:00
Robert Longson
5f4593ff3d Bug 603584 - feDisplacementMap does not always create output in correct colour space r+a=roc 2010-10-26 09:23:41 +01:00
Serge Gautherie
0de00b3fcb Bug 595756 - "DOMSVGLength.cpp(58) : error C2248: 'mozilla::DOMSVGLengthList::mItems' : cannot access private member declared in class 'mozilla::DOMSVGLengthList'"; (Av1) Add an unrelated PRUint8() cast.
r=longsonr a2.0=roc.
2010-10-27 02:45:50 +02:00
Felipe CorrĂȘa da Silva Sanches
11203a2085 Bug 596063: Fix 4 "warning: suggest parentheses around && within ||" warnings in SVGLengthListSMILType. r=dholbert a=bsmedberg 2010-11-05 11:24:12 -07:00
Ms2ger
024d857be8 Bug 594339 - Create a FromParser enum. r=hsivonen, sr=bzbarsky, a=jonas.
--HG--
extra : rebase_source : 70d6b15b0b149a29d0cdb298209706bb5391f6b4
2010-10-25 15:17:38 +03:00
Mounir Lamouri
66067bcb7b Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Robert Longson
4e114f3286 Bug 580983 - try to make test_pointer-events.xhtml more robust. a=test-only 2010-10-17 17:27:51 +01:00
Markus Stange
e785f3e168 Bug 592118 - Don't stack-allocate gfxContexts that are passed to other functions. r=roc a=blocking2.0:final
--HG--
extra : rebase_source : efcf3b58c953ea8ec8cad45f4b0ffa0b898a2397
2010-10-15 12:20:22 +02:00
Gavin Sharp
5f6788ed0b Backed out changeset 2d184fdf2776
--HG--
extra : rebase_source : a70a04e5dec9fafff061009d1758f4f2dd57883a
2010-10-14 14:29:39 -04:00
Serge Gautherie
267b5d7fee Bug 595756 - "DOMSVGLength.cpp(58) : error C2248: 'mozilla::DOMSVGLengthList::mItems' : cannot access private member declared in class 'mozilla::DOMSVGLengthList'"; (Av1) Add an unrelated PRUint8() cast.
r=longsonr.
2010-10-14 19:37:50 +02:00
Robert Longson
a177bf7bad Bug 601251 - numberList and pointlist DOM methods need to validate their arguments. r=jwatt a=blocking-final 2010-10-11 15:11:39 +01:00
Robert Longson
c92d390c9d Bug 601406 - GetBBox crashes when called on an SVG a element r=jwatt a=blocking-final 2010-10-08 17:49:39 +01:00
Robert Longson
a9e1988758 Bug 595608: Check for non-atom value for "type" attribute in nsSVGTransformSMILAttr::ValueFromString. r=dholbert a=blocking-final+ 2010-10-07 12:19:33 -07:00
Robert Longson
062ba744d2 Bug 589436 patch 3: Tests. r=dholbert a=blocking-b8+ 2010-10-07 12:19:32 -07:00
Robert Longson
5115e60502 Bug 589436 patch 2: Allow string-valued SVG attributes to be SMIL-animated. r=dholbert a=blocking-b8+ 2010-10-07 12:19:32 -07:00
Daniel Holbert
27a432d4a3 Bug 600574 part 2: Check for SVG images with viewBox in nsStyleBackground::Layer::RenderingMightDependOnFrameSize. r=bz r=longsonr a=blocking-betaN+ 2010-10-06 15:18:52 -07:00
Henri Sivonen
62878d9b2f Bug 591981 - Make script-inserted inline scripts run right away, make script-inserted external scripts behave like async scripts and make document.write writing an inline script return at a predictable time. r=jonas, a=blocking2.0-beta7. 2010-09-01 14:41:12 +03:00
Jonas Sicking
5d3b067a49 Back out bug 591981 since it causes bug 599583. a=backout 2010-09-27 16:23:33 -07:00
Henri Sivonen
27395b2f77 Bug 591981 - Make script-inserted inline scripts run right away, make script-inserted external scripts behave like async scripts and make document.write writing an inline script return at a predictable time. r=sicking a=blocking2.0-beta7 2010-09-21 12:48:40 -07:00
Jonas Sicking
f161eca3e2 Back out bug 591981 to see if it caused a performance regression. a=backout 2010-09-20 15:47:57 -07:00
Henri Sivonen
1e21e4e21a Bug 591981 - Make script-inserted inline scripts run right away, make script-inserted external scripts behave like async scripts and make document.write writing an inline script return at a predictable time. r=jonas, a=blocking2.0-beta7.
--HG--
extra : rebase_source : 3d30baa42025c2d5e63b39586671345ae87bb0b2
2010-09-01 14:41:12 +03:00
Brian Birtles
700698e922 Bug 586184 - Report true for AnimationEventsAttribute feature string; r=longsonr; a=blocking-betaN 2010-09-11 16:05:31 +09:00
Daniel Holbert
8460fa015a Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst 2010-09-04 23:41:17 -04:00
Josh Matthews
2814f869bb Backing out ebce58252cf8, 1f94199af190, 81664d1912ee, 8e95db7adbea, f97a99ad74af, 66d12a1541f2, 6b936d1a9e65 2010-09-04 15:15:31 -04:00
Daniel Holbert
f390399c09 Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst
Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst
2010-09-03 14:29:00 -04:00
Ms2ger
27271a8a8f Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:05:56 +02:00
Robert O'Callahan
8cbf8e9f2a Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt 2010-08-20 14:29:01 -05:00
Chris Jones
308355c7a0 Backed out changeset cebb111fbfc4 2010-08-19 19:03:56 -05:00
Robert O'Callahan
3ecd0a2a97 Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt 2010-08-19 13:49:35 -05:00
Brian Birtles
62844c6133 Bug 485157: SMIL event timing, part 5 make default event base the animation target, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Brian Birtles
7581213bbc Bug 485157: SMIL event timing, part 4 refactor nsIContent usage to use mozilla::dom::Element instead, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Robert O'Callahan
20c2a19d6a Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
Robert O'Callahan
87bbf8a495 Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron 2010-08-13 21:57:57 +12:00
Mounir Lamouri
1860675a01 Bug 585507 - Fix compilation issue when SMIL is disabled. r=dholbert a2.0=dbaron 2010-08-15 11:19:34 -04:00
Robert Longson
79c3db79d2 Bug 584322: Fix confusion between premultiplied and non-premultiplied colors that was causing feDisplacementMap to offset the result incorrectly. r=roc a2.0=dbaron 2010-08-15 08:42:29 -04:00
Robert Sayre
0ab67ae195 Backed out changeset 7b475a00cd7c. Reftest bustage. 2010-08-14 21:27:43 -04:00
Robert Longson
011cb3e886 Bug 584322 - feDisplacementMap seems to be adding an offset. r=roc, a=dbaron 2010-08-14 20:42:18 -04:00
Daniel Holbert
5b754a5516 Bug 582004 part 2: Make imgIContainerObserver::FrameChanged take a const aDirtyRect argument. r=joe a=blocking 2010-08-13 21:09:48 -07:00
DĂŁo Gottwald
f246f9a00f Backed out changeset cdd440adb726 2010-08-10 15:10:11 +02:00
Ms2ger
e0dc6046da Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-10 14:25:28 +02:00
Boris Zbarsky
ff911ada1d Bug 584293. Make .style faster. r=peterv 2010-08-05 17:59:36 -04:00
Daniel Holbert
8695da5b48 Crashtests for Bug 579356. [tests-only] 2010-08-05 07:53:43 -07:00
Robert Longson
495bb25761 Bug 579356: Limit recursion in CalcBezLength for SVG path length-calculation. r=dholbert a=blocking 2010-08-05 07:53:43 -07:00
Zack Weinberg
6873de67ec Bug 569719 part 9: remove return value from css::Declaration methods that always return NS_OK, and change GetCSSDeclaration to return a css::Declaration instead of an nsresult. r=dbaron 2010-07-23 11:00:34 -07:00
Brian Birtles
6c35d0694f Bug 527270: Implement SMIL TimeEvents. r=dholbert,smaug; sr=roc; a=blocking-betaN 2010-07-31 16:02:52 +09:00
Robert Longson
2316d387ff Backout Bug 578309 due to mochitest failures 2010-07-27 09:35:54 +01:00
Robert Longson
c28d8f49a4 Bug 578309 - mask and clipPath applied to foreignObject are translated. r=roc a=blocking 2010-07-27 08:33:01 +01:00
Kyle Huey
a9e232cc45 Bug 581723: Remove completely unused nsISVGLength. r=jwatt 2010-07-26 12:32:43 -07:00
Craig Topper
432b14f38e Bug 580902 - Remove "using namespace mozilla;" from nsSVGElement.h and fixup the places that relied on it. r=jwatt 2010-07-25 17:25:38 -07:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Daniel Holbert
68569e8636 Bug 580098: Request resample when firing SVGLoad, so that any DOM requests after SVGLoad but before first SMIL sample will trigger synchronous sample-flush. r=birtles 2010-07-22 12:19:46 -07:00
Craig Topper
b9673b8709 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Boris Zbarsky
b8256cdb51 Bug 578696 part 4. Stop holding strong refs when calling NodeWillBeDestroyed. r=sicking 2010-07-21 11:33:32 -04:00
Zack Weinberg
76dbdde0f4 Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Zack Weinberg
9c006a4ff7 Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
Robert Longson
f098d16c9b Bug 487649 - Markers handle viewBox and preserveAspectRatio badly. r=jwatt 2010-07-18 11:06:03 +01:00
Robert Longson
dc3a420c38 Bug 577475 - polygon end marker should be at the same point as the start marker. r=jwatt 2010-07-18 10:59:11 +01:00
Robert Longson
88ca84966e Bug 579017 - Fix crash calling nsSVGAngle::NewValueSpecifiedUnits. r=jwatt 2010-07-18 10:51:30 +01:00
Jonathan Watt
fe8a477f84 Bug 515116. DeCOMify SVG length-list, and implement SMIL animation of length-list. r=longsonr, r=dholbert, sr=roc 2010-07-16 22:42:12 +01:00
Robert Longson
9c5cda0b67 Bug 576986 - Fix pointer-events on foreignObject with clip-path. r=roc 2010-07-15 09:10:59 +01:00
Robert Longson
36db312d94 Bug 576802 - Fix crash with gradientTransform animate. r=jwatt 2010-07-12 20:17:17 +01:00
Robert Longson
58c2213318 Bug 574249 - Polyline should display up to the point of a parse error. r=jwatt 2010-07-04 20:00:00 +01:00
Boris Zbarsky
b8fb52d415 Bug 555627. Make transitions actually work correctly on :before and :after. r=dbaron 2010-06-30 18:54:29 -07:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Felipe CorrĂȘa da Silva Sanches
57a4d6e3e9 Bug 554704: Rename "aCanCache" param (for nsISMILAttr::ValueFromString), r=dholbert, r=jwatt 2010-06-23 17:30:55 -07:00
Jesse Ruderman
b02675a617 Bug 573316 - Use IsSVGWhitespace instead of isspace to fix an assertion failure and match the SVG spec. r=jwatt 2010-06-20 14:39:14 -07:00
Robert Longson
3480f5102b Backout bug 487404 2010-06-19 13:55:46 +01:00
Jesse Ruderman
fb054fc73e Add some crashtests and reftests
--HG--
extra : rebase_source : a167ccf140387fa50e3668422b5a74bea0527255
2010-06-17 13:21:24 -07:00
Robert Longson
ae845283fd Bug 569463 - Stop coverity complaining about GetParsedAttr call in RebuildPathAndVerticesFromMpathElem. r=jwatt 2010-06-09 20:13:03 +01:00
Robert Longson
32ed8c2967 Bug 570354 - CSS mapping missing for link elements. r=jwatt 2010-06-09 19:53:40 +01:00
Henri Sivonen
66b4460d1a Bug 535691 - Adjust the assertion annotations for the test case for bug 535691. r=jruderman.
--HG--
extra : rebase_source : 3cedc8e5754bd8ade1e9debea0924d7c52650c4b
2010-06-09 09:44:25 +03:00
Henri Sivonen
95a61f78e3 Bug 569538 - Make aFromParser distinguish network, document.write and fragments in the HTML case. r=Olli.Pettay.
--HG--
extra : rebase_source : 2f4804245ff7b235736b882e0f9e84403e4e0ae6
2010-06-09 09:44:25 +03:00
Jonas Sicking
1489785d0c Bug 570258: Some more atom usage cleanup. r=jst 2010-06-08 16:25:27 -07:00
Craig Topper
00d9a2b835 Bug 566808 - "DeCOMtaminate nsIStyleRule method signatures" [r=dbaron]
(transplanted from 9a7be1835b530c72a46069a5c3951b80b16804a3)

--HG--
extra : transplant_source : %9A%7B%E1%83%5BS%0Cr%A4%60i%A5%C3%95%1B%80%B1h%04%A3
2010-05-19 22:28:00 -04:00
Robert Longson
4be6c6e0c5 Bug 561726 - make animateTransform work on gradientTransform and patternTransform. r=jwatt 2010-05-28 13:15:56 +01:00
Robert Longson
3829941e78 Bug 564719 - SVG length parsing should indicate an error when it only contains whitespace. r=jwatt 2010-05-28 12:07:06 +01:00
Felipe CorrĂȘa da Silva Sanches
64332a58a3 Bug 558935: Add ifndef/define/endif guards to header files that lack them, in SVG code. r=jwatt 2010-05-26 13:01:10 -07:00
Jonathan Watt
8fb86df3e7 Bug 561654. nsSVGTextPositioningElement should be on the primary inheritance chain. r=longsonr 2010-05-24 16:58:24 +02:00
Boris Zbarsky
45dd44b40c Bug 565826. Use Element in SMIL code as needed. r=dholbert 2010-05-14 13:04:51 -04:00
Boris Zbarsky
626e1bb052 Bug 565820. Use Element as the return value for ReferencedElement. r=roc 2010-05-14 13:04:51 -04:00
Boris Zbarsky
e98cd67374 Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Boris Zbarsky
f7d7c95ec6 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
L. David Baron
279b6f41b9 Start annotating crashtest manifests with assertion counts. (Bug 472557) 2010-05-04 21:28:19 -07:00
Daniel Holbert
003d36c7fc Bug 562310 Part 5: Use nsCharSeparatedTokenizer to simplify/fix existing parsing code in SVG and SMIL. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
06a036b3ef Bug 562310 Part 4: Remove nsCommaSeparatedTokenizer typedef, and replace its uses with nsCharSeparatedTokenizer(','). r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
20950733f1 Bug 562310 Part 1: Rename file nsCommaSeparatedTokenizer.h to nsCharSeparatedTokenizer.h (and update #includes). r=roc
--HG--
rename : xpcom/ds/nsCommaSeparatedTokenizer.h => xpcom/ds/nsCharSeparatedTokenizer.h
2010-05-04 07:43:48 -07:00
timeless@mozdev.org
37f93391a2 Bug 562487 - comparison between signed and unsigned integer expressions in BoxBlur and nsSVGFETileElement::Filter, r=roc 2010-04-28 16:15:00 -07:00
Boris Zbarsky
5e646b58c9 Bug 562688 part 15. Remove the eELEMENT bit. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
ca01cf3893 Bug 562688 part 13. Eliminate eELEMENT usage in layout/style, except the rule processor. r=dbaron 2010-04-30 09:12:06 -04:00
Boris Zbarsky
30883f9737 Bug 562688 part 7. Eliminate eELEMENT users in the rest of content/. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Daniel Holbert
128f3eaa73 Bug 436418, patch H: SVG/SMIL animateMotion - add support for <mpath> sub-element. r=roc 2010-04-28 16:00:54 -07:00
Daniel Holbert
c121001886 Bug 436418, patch G: SVG/SMIL animateMotion - add support for path attribute. r=roc 2010-04-28 16:00:54 -07:00
Daniel Holbert
c240503b49 Bug 436418, patch F: SVG/SMIL animateMotion - add support for keyPoints attribute. r=roc 2010-04-28 16:00:54 -07:00
Daniel Holbert
49730afb12 Bug 436418, patch E: SVG/SMIL animateMotion - add support for <animateMotion> element and its core logic. r=roc 2010-04-28 16:00:54 -07:00
Daniel Holbert
a18dc3de3d Bug 436418, patch B: SVG/SMIL animateMotion - update license text, and fix compilation issues. r=roc 2010-04-28 16:00:53 -07:00
Eric Hedekar
d1baa7f8dd Bug 436418, patch A: SVG/SMIL animateMotion - add some foundational code. r=roc 2010-04-28 16:00:53 -07:00
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Robert O'Callahan
a982d52092 Bug 534566. Use separate nsPropertyTables for different categories so we don't pollute the property name list with unrelated names. r=sicking 2010-04-23 14:41:38 +12:00