Commit Graph

583 Commits

Author SHA1 Message Date
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
Neil Deakin
ceb1712f98 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Ms2ger
4581294096 Bug 559024 - SVGStyleElement.media and SVGStyleElement.title setters do not work. r=jwatt 2010-04-14 10:30:55 +01:00
Robert Longson
eb179fd968 Bug 456286 - support altGlyph elements as tspans. r=roc 2010-04-13 09:58:09 +01:00
Daniel Holbert
0e8a67a7ec (no bug, comment-only) Remove duplicate "nsIContent methods" header-comment in nsSVGAnimationElement.cpp 2010-04-12 16:50:35 -07:00
Julian Seward
4a8eff8ae8 Bug 547964 - r=dbaron
--HG--
extra : rebase_source : 88834502ab1cdac1aa7dac9557ee1aa40ccc354f
2010-04-12 11:53:59 -04:00
Jesse Ruderman
8255751882 Add crashtests 2010-04-11 16:59:47 -07:00
Daniel Holbert
465b1bf745 (no bug) Fix typo in header comment for nsSVGPathDataParser.h: s/nsIDOMPathSeg/nsIDOMSVGPathSeg/. rs=roc 2010-04-08 15:09:14 -07:00
Robert Longson
24c35dec9d Bug 556808 - ASSERTION: unknown nsISVGValue: Not Reached, when appending segment to SVG path. r=jwatt 2010-04-08 18:18:58 +01:00
Robert Longson
6d504862c2 Bug 553905 - data parser should parse up to a failure and not scrap the whole path. r=jwatt 2010-04-08 09:58:04 +01:00
Peter Van der Beken
8e3acb1006 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Mats Palmgren
57a4d3a783 Bug 383488: don't accept trailing tokens in 'value' in style.setProperty(prop,value,"important"). r=dbaron 2010-04-01 23:07:40 -07:00
Daniel Holbert
f055328561 Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc 2010-04-01 11:05:40 -07:00
Daniel Holbert
2c959d12e8 Backed out changeset 29bc09de2f77 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:38:53 -07:00
Daniel Holbert
bf4331f880 Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc 2010-04-01 08:08:51 -07:00
Robert Longson
11cc4a0089 Bug 388547 - initial support for x,y,dx,dy,rotate lists on SVG text and tspan elements. r=roc 2010-03-30 11:21:19 +01:00
Daniel Holbert
0421bbf64e Bug 555321: In nsSVGSVGElement::InvalidateTransformNotifyFrame, don't warn about 'wrong frame type' if we don't have a frame. r=jwatt 2010-03-26 20:55:30 -07:00
Daniel Holbert
d527d95aca Bug 555291: Replace multiple string-literals of SVG whitespace/comma delimeters with a single #define. r=jwatt 2010-03-26 20:55:28 -07:00
Daniel Holbert
fe512e0b26 Bug 554804: Fix GetBaseValue in nsSMILCSSProperty and nsSVGTransformSMILAttr to benefit from return value optimization. r=jwatt 2010-03-26 12:24:13 -07:00
Daniel Holbert
8a432e2ae4 Bug 554687 patch 2: Use nsSMILValue::Swap instead of operator= where appropriate. r=roc 2010-03-26 12:24:07 -07:00
Daniel Holbert
f5b5986626 Backed out changeset 1bcf725bb32f due to PR_STATIC_ASSERT failure on ppc 2010-03-25 09:21:10 -07:00
Daniel Holbert
7a1b4bf825 Bug 554687 patch 2: Use nsSMILValue::Swap instead of operator= where appropriate. r=roc 2010-03-25 09:02:03 -07:00