Commit Graph

759 Commits

Author SHA1 Message Date
Robert Longson
7115c1b565 Bug 672055 - Use nsCharSeparatedTokenizer to parse number-optional-number attributes. r=dholbert sr=jonas 2011-07-23 09:41:17 +01:00
Robert Longson
217bff5298 Bug 669155 - animation of filterRes does not result in layout being refreshed. r=jwatt 2011-07-08 18:10:07 +01:00
Jonathan Watt
500e26e9cf Bug 669584 - The kungFuDeathGrip is required if the new length is less than the old length, since the items are created lazily and so the last strong ref to the object could be at any index. r=dholbert.
--HG--
extra : rebase_source : bc3dd36d99d3478434315afe04b404bfdd0bee61
2011-07-07 16:48:10 +01:00
Masayuki Nakano
baf54af560 Bug 663039 content should use mozilla::Preferences r=roc+jwatt+chris.double+bjacob 2011-07-07 11:00:02 +09:00
Robert Longson
308f373d21 Bug 669216 - Simplify some of the number-optional-number implementation. r=dholbert 2011-07-04 22:19:54 +01:00
Robert Longson
b1a2285137 Bug 669025 - class name and proto chain interface mismatch with number-optional-number and integer-optional-integer. r=dholbert 2011-07-03 20:49:11 +01:00
Marco Bonardo
13b5cd08c3 Merge mozilla-inbound and mozilla-central 2011-07-02 10:39:08 +02:00
Robert Longson
e5b43ca994 Bug 668889 - simplify boolean attribute parsing. r=dholbert 2011-07-01 22:15:04 +01:00
Robert Longson
1371deaee4 Bug 617623 - animate number-optional-number and integer-optional-integer attributes properly. r=dholbert 2011-07-01 08:19:52 +01:00
Jonas Sicking
26f99e3cdb Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Igor Bazarny
39a01edf21 bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Robert Longson
3235a831cb Bug 652832 - Support animation of use element width/height. r=jwatt 2011-06-20 21:15:42 +01:00
Jonathan Watt
739789661d Bug 664708 - GetCharNumAtPosition should only accept native points. r=longsonr.
--HG--
extra : rebase_source : f6baa2c0d4f4d79d626aaebc272604d79edb1db3
2011-06-16 14:47:04 +01:00
Jonathan Watt
cea21c4f74 Bug 664130 - const-ify some SVG element class methods. r=dholbert.
--HG--
extra : rebase_source : e3efcfa1b14b36a5b7f1baefde3fbffb471c6b37
2011-06-16 11:53:13 +01:00
Jonas Sicking
5f95458332 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Matheus Kerschbaum
7406ce377f Bug 660762 - Remove --disable-mathml support. r=roc 2011-06-02 13:11:33 +02:00
Robert Longson
622580fa22 Bug 657077 - Should not assert calling suspendRedraw on elements that fail conditional processing. r=dholbert 2011-05-31 19:12:40 +01:00
Boris Zbarsky
76f757828a Bug 598833 part 12. Add dom::Element::UpdateState and use it in various places where elements update their own state. r=smaug,sdwilsh,mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky
e167b0caba Bug 598833 part 9. Store an Element pointer in Link. r=smaug,sdwilsh 2011-05-31 21:46:57 -04:00
Boris Zbarsky
e0320797e3 Bug 598833 part 8. Create an explicit API to request link state updates. r=smaug,sdwilsh
This is a bit of a hack to make sure that we update link state sometime when doing style resolution, pending a better setup in bug 660959 for determining when to resolve the link URI.
2011-05-31 21:46:57 -04:00
Ms2ger
b171b9ae5c Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Masayuki Nakano
2b6aea130f Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00
Masayuki Nakano
4dede19235 Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression 2011-05-28 13:50:19 +09:00
Masayuki Nakano
387ea6f111 Bug 659821 Replace nsContentUtils::GetLocalizedStringPref() with Preferences::GetLocalizedC?String() r=roc 2011-05-27 13:53:03 +09:00
Jonas Sicking
b35fd6c424 Bug 659530: Clean up and remove unused code that we no longer need with the safer mutation events implementation. r=smaug 2011-05-25 10:58:23 -07:00
Masayuki Nakano
060287addd Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Steven Michaud
3c38967408 Backed out changeset ae5b84b96fd7 (bug 570341) due to test failures DONTBUILD. a=sheriff 2011-05-24 01:54:23 -05:00
Igor Bazarny
b829003e22 bug 570341 - Initial implementation of web timing specification
r=jduell sr=biesi
2011-05-23 19:19:24 -07:00
Jim Mathies
4327e25f5e Backout of bug 570341 (cset:1a645ea075fc) due to test failure. 2011-05-23 19:55:36 -05:00
Igor Bazarny
dbf49a1d09 bug 570341 - Initial implementation of web timing specification
r=smaug sr=biesi

--HG--
extra : rebase_source : e8b233ebcf1065ea5e6df61446cfd013262a61d0
2011-05-23 14:19:36 -07:00
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Ms2ger
fb6f5dd0ca Bug 655517 - Remove nsIDOMDocumentEvent; f=ehsan r=smaug 2011-05-23 18:46:36 +02:00
Jonathan Watt
f709b31a75 Bug 657862 - Relative SVG arc path segments are broken. r=longsonr.
--HG--
extra : rebase_source : 8897f5f5358f67708f92f50e1061d1947ae011a1
2011-05-20 21:00:35 +01:00
Jonathan Watt
b4856a95b9 Bug 580983. Fix broken test, but disable it since it would now be virtually permaorange. 2011-05-14 20:10:18 +01:00
Jonathan Watt
42626a794e Bug 580983. Invert the args to is() so that the 'expected...got...' message is the correct way round. 2011-05-14 18:06:02 +01:00
Jonathan Watt
8efe0687fe Bug 580983. Use path instead of rect to eliminate ambiguity about which rect is being hit.
--HG--
extra : rebase_source : 9608b39c80a8a7a1b88c61db1ebd5cfa21e7ff09
2011-05-14 17:56:47 +01:00
Jonathan Watt
de09de0254 Bug 580983. Clean up test before another attempt at orange fix.
--HG--
extra : rebase_source : c5dcaec1516041578c9db5af4682b52a0c67d1d0
2011-05-14 17:55:53 +01:00
Jonathan Watt
414d346a76 Bug 580983. Attempt to fix random orange. 2011-05-14 14:12:32 +01:00
Ed Morley
ff5f79b83b Bug 654463 - Remove WinCE code from content/* ; r=sicking 2011-05-04 09:25:50 +02:00
Olli Pettay
a4d206d66a Bug 654182, svgnumberlist keeps a strong pointer to element, r=dholbert 2011-05-02 22:19:20 +03:00
Robert Longson
d3f15b07db Bug 643419 - pathLength should affect stroke-dasharray. r=dholbert 2011-05-01 19:26:20 +01:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Robert Longson
b64e818fa8 Bug 652442 - Script feature support should depend on whether javascript is enabled. r=dholbert 2011-04-30 14:56:16 +01:00
Dão Gottwald
abc853c0f0 Backed out changeset 00f6e702f095 because svg-image-script-2.svg is failing intermittently 2011-04-29 17:11:07 +02:00
Robert Longson
91f2e27dba Bug 652442 - Script feature support should depend on whether javascript is enabled. r=dholbert 2011-04-29 12:28:10 +01:00
Olli Pettay
106880b08c Bug 653497 - Once bug 335998 is fixed, SVGPathDataAndOwner::mElement leaks documents, r=dholbert
--HG--
extra : rebase_source : 76c024841265bbd2a0c2acecc5285074b23f4079
2011-04-29 15:33:11 +03:00
Daniel Holbert
f719ee4025 Bug 649568: Clean up logic for addition & interpolation in SVGPathSegListSMILType. r=jwatt 2011-04-28 12:02:10 -07:00
Ehsan Akhgari
d2a61eb331 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Jonathan Watt
33ba400dd2 Bug 433063 - write tests for bug 418206 (Some SVG files that appear to hang Mozilla). 2011-04-25 16:32:20 +01:00
Ms2ger
295bf7256b Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
Daniel Holbert
70f0915512 Bug 652050: revert diagnostic 2 (remove temporary debugging printfs) 2011-04-22 18:28:11 -07:00
Daniel Holbert
db90c5a738 Bug 652050 diagnostic 2 followup: use printf_stderr since android doesn't have printf. rs=dougt 2011-04-22 17:10:50 -07:00
Daniel Holbert
68f63cf866 Bug 652050 diagnostic 2: Temporarily add printfs to verify presumed cause of mobile permaorange. r=dougt 2011-04-22 14:08:54 -07:00
L. David Baron
25d74a36a4 Remove null-checks of nsCSSParser, since construction is infallible. (Bug 542058, patch 1) r=bzbarsky
Note that many callers already skipped the null-checks.
2011-04-21 20:17:31 -07:00
Jonathan Watt
9c895c01df Bug 589648 part 3. Work around lack of cairo support to display square stroke-linecaps for zero length paths. r=longsonr.
--HG--
extra : rebase_source : 5aaa65a2bc888b4a64884f5f2a87beb7803f646e
2011-04-20 10:16:02 +01:00
Jonathan Watt
2ab77ec23f Bug 589648 part 2. Stop hardcoding the segment argument count in SVGPathData::ConstructPath. r=longsonr.
--HG--
extra : rebase_source : 8e670189c28a66c682c6097b3c42f41fa3126aa5
2011-04-20 10:16:02 +01:00
Jonathan Watt
95f497f6f6 Bug 589648 part 1. Explicitly maintain a 'segStart' variable in SVGPathData::ConstructPath instead of being clever with 'segEnd'. r=longsonr.
--HG--
extra : rebase_source : 7e18e457b3589d103173ffdb97ee7791cf5bf3d2
2011-04-20 10:16:02 +01:00
Robert Longson
55e9f84758 Bug 648819 - Stop ASSERTION: unknown nsISVGValue with invalid patternTransform. r=dholbert 2011-04-18 19:55:07 +01:00
Daniel Holbert
562808c8e5 Bug 641393 patch 4: Add more tests for SVG length lists. r=jwatt 2011-04-14 11:47:27 -07:00
Daniel Holbert
3d7e72652f Bug 641393 patch 3: Make SVGLengthListSMILType logic match other list types. r=jwatt 2011-04-14 11:47:27 -07:00
Daniel Holbert
d6b2f34020 Bug 641393 patch 2: Make namespacing style consistent across SVG List classes, and replace some Length==0 checks with IsEmpty(). r=jwatt 2011-04-14 11:47:27 -07:00
Daniel Holbert
f228ce35af Bug 641393 patch 1: Upgrade some NS_ASSERTIONs in SVG List classes to NS_ABORT_IF_FALSE. r=jwatt 2011-04-14 11:47:27 -07:00
Ms2ger
6ee0b2b1da Bug 589894 - Fix a number of build warnings in content/; r=smaug 2011-04-14 14:04:12 +02:00
Ehsan Akhgari
96d750195b Merge cedar into mozilla-central 2011-04-08 02:27:03 -07:00
Boris Zbarsky
7fcb06f8bb Bug 628794. SVG and HTML/XUL .style come from different interfaces. r=peterv 2011-04-07 22:27:57 -07:00
Felipe Corrêa da Silva Sanches
122358c42d Bug 484966. Remove nsSVGUtils::GetParentElement in favor of nsIContent::GetFlattenedTreeParent. r=jwatt 2011-04-07 22:27:57 -07:00
Boris Zbarsky
8578808ee1 Bug 581177 part 5. Make 'may have style' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Cameron McCormack
9c4e74e95e Bug 631437: Add length to SVGXXXList interfaces and make them respond to array indexing (v4) r=jwatt,bzbarsky 2011-04-08 10:44:03 +12:00
Cameron McCormack
6f9c7ae6e8 Bug 619498 - Part 2: Support interpolation and addition of similar SVG path segment types (v4) r=dholbert 2011-04-08 10:17:36 +12:00
Cameron McCormack
f7c58f9131 Bug 619498 - Part 1.5: Some nearby style cleanups (no change to code behavior) r=dholbert 2011-04-08 10:17:36 +12:00
Cameron McCormack
888a445a77 Bug 619498 - Part 1: Eliminate some forwarding member functions with using declarations. r=dholbert 2011-04-08 10:17:32 +12:00
Craig Topper
742b017a7c Bug 645956 - Part 1: Remove NS_NewCSSStyleRule, r=bzbarsky 2011-03-22 19:56:47 -07:00
Boris Zbarsky
6673da2a39 Bug 646850. When resetting length to the pre-animation value, make sure to not lose track of our units. r=dholbert 2011-03-31 15:29:44 -04:00
Boris Zbarsky
1014c1d928 Bug 646912. Fix grad-to-degree conversion factor. r=dholbert
--HG--
rename : layout/reftests/svg/smil/motion/animateMotion-rotate-1.svg => layout/reftests/svg/smil/motion/animateMotion-rotate-1a.svg
rename : layout/reftests/svg/smil/motion/animateMotion-rotate-1.svg => layout/reftests/svg/smil/motion/animateMotion-rotate-1b.svg
2011-03-31 15:29:44 -04:00
Robert Longson
8b57446931 Bug 614367 - Fix assert removing nonexistent transform r=dholbert 2011-02-27 10:54:47 +00:00
Robert Longson
7c5a1f227d Bug 635511 - Improve performance getting parent SVG elements r=jwatt 2011-02-26 10:21:11 +00:00
Daniel Holbert
141b29162d Bug 639728: Retain temporary owning references to new-style SVGxxxList DOM tearoffs where necessary. r=jwatt 2011-03-29 08:47:53 -07:00
Robert Longson
60a6329a4b Bug 619503 - Support SMIL animation of the class attribute r=dholbert,jwatt 2011-01-23 17:08:17 +00:00
Ms2ger
2deca252e5 Bug 639849 - Remove nsIDOM3Document; r=bz 2011-03-26 17:06:27 +01:00
Craig Topper
72d7c1f754 Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
Robert Longson
ebf398f4ac Bug 635442 - Crash [@ nsSVGComponentTransferFunctionElement::DidAnimateNumberList]
r=dholbert a=shaver
2011-02-22 13:04:51 +01:00
timeless@mozdev.org
22c57b9bbd Bug 620421 - remove useless check of mTokenPos from nsSVGTransformListParser::GetTransformToken
r=jwatt a=dbaron
2011-02-16 14:14:22 +01:00
Daniel Holbert
8febb4269b Bug 632143 patch 4: Extend SVGxxxList mochitest to check animVal up-to-date-ness after baseVal's length is mutated. r=roc a=tests 2011-02-15 23:54:37 -08:00
Daniel Holbert
c8abad09b2 Bug 632143 patch 3: Update animVal after modifying baseVal length, for DOMSVGPathSegList. r=roc a=blocking-final+ 2011-02-15 23:54:37 -08:00
Daniel Holbert
a0613a7dd3 Bug 632143 patch 2: Update animVal after modifying baseVal length, for DOMSVGPointList. r=roc a=blocking-final+ 2011-02-15 23:54:37 -08:00
Jonathan Watt
0ae30986fa Bug 632143 patch 1: Update animVal after modifying baseVal length, for DOMSVGLengthList and DOMSVGNumberList. r=roc a=blocking-final+ 2011-02-15 23:54:26 -08:00
Daniel Holbert
6db3fddfca Bug 632143 patch 0: Add helper-method 'UpdateListIndicesFromIndex' to DOMSVGxxxList classes. r=roc a=blocking-final+ 2011-02-15 23:54:04 -08:00
Daniel Holbert
83f62938a9 Bug 633315: Make "namespace mozilla" usage consistent across DOMSVG*List.cpp files. r+a=roc 2011-02-15 23:53:43 -08:00
Daniel Holbert
34236c78f0 (no bug) comment typo fix in 2 tests: s/the affect/the effect/ a=comment-only+test-only DONTBUILD 2011-02-15 10:10:40 -08:00
Jonas Sicking
0d87556628 Bug 629982: Attempt to fix crashes due to too deep DOM trees by making GetBaseURI non-recursive. r=jst a=blocker 2011-02-10 23:47:00 -08:00
Daniel Holbert
0c4aab88d6 Bug 614649, patch 1: In SVG-as-an-image with no viewBox, use height & width attrs on <svg> to dynamically synthesize a viewBox. r=jwatt a=roc 2011-02-09 12:13:18 -08:00
Daniel Holbert
7898bd203a Bug 614649, patch 0: In SVG-as-an-image internals, rename "mNeedsPreserveAspectRatioFlush" & friends to "mImageNeedsTransformInvalidation". r=jwatt a=roc 2011-02-09 12:13:18 -08:00
Jonathan Watt
b3192a3ab4 Bug 631946 - SVG DOM lists should limit the number of items to the number they can index. r=roc, a=roc. 2011-02-08 13:43:34 +00:00
Jonathan Watt
4c64bd4173 Bug 631939 - New SVG list item DOM wrappers get confused if there are more than 256 items in list. r=roc, a=roc. 2011-02-08 13:43:02 +00:00
Jonathan Watt
2a399a00e4 Bug 630760 - DOMSVGLengthList ctor synchronizes animVal instances to the baseVal internal list, plus sync some divergence between comments and code in list types. r=roc, a=blocking. 2011-02-06 22:11:26 +13:00
Jonathan Watt
30cee9cb37 Bug 630083 - Use SetParsedAttr in nsSVGElement::DidChangeXxx instead of SetAttr. r=roc, a=roc. 2011-02-02 08:41:50 +13:00
Jonathan Watt
7c9f9c67d5 Bug 610990 - Regression: SVGPathSegList should allow manipulation of invalid paths. r=roc,sicking, a=blocking. 2011-02-02 08:41:50 +13:00
Phil Ringnalda
1a3b7e01d2 Bug 625562 - Fix intermittent frameLoaded is not defined by moving the iframes below the definition of frameLoaded, r=jwatt, a=orange 2011-01-17 22:26:32 -08:00
Jonathan Watt
e9766e8961 Bug 619955. 'pointer-events' broken on SVG text. r=longsonr, a=roc.
--HG--
extra : rebase_source : 69ebfac4019f926014c957c9984cc6d6795016b3
2011-01-28 19:35:35 +13:00
Chris Leary
2b67ce4256 CLOSED TREE: Merge mozilla-central and tracemonkey. (a=blockers) 2011-01-27 20:06:21 -08:00