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
Robert Longson
0f85e4e1d7
Bug 554091 - negative rx and ry are unsupported rather than errors according to SVG1.2T. r=jwatt
2010-03-23 12:53:36 +00:00
Daniel Holbert
93fa4b366b
Bug 550593: Make nsISMILType::Init infallible, and return |void| instead of |nsresult|. r=roc
2010-03-22 11:57:36 -07:00
Robert Longson
c6f98571f9
Bug 553053 - Should not create frames for SVG animation elements, it interferes with clipPath validation and is inefficient. r=dholbert,sr=roc
2010-03-19 11:17:49 +00:00
Peter Van der Beken
e5d87ec5bb
Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
...
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Robert Longson
b4884958db
Bug 552830 - Should not force rx=ry for a rect by clamping if one is omitted. r=jwatt
2010-03-18 12:14:38 +00:00
Robert O'Callahan
c11d039a6b
Bug 538266. Part 3: move nsSVGUtils::GfxRectToIntRect to nsLayoutUtils. r=mats
2010-03-02 12:08:28 +13:00
Daniel Holbert
52f0b1c7e3
Bug 534028, Patch C: Support SMIL animation of SVG attributes that are mapped to CSS properties. r=roc
2010-03-16 16:17:33 -07:00
Daniel Holbert
017831a213
Bug 534028, Patch B: Add "MappedAttrParser" class to simplify parsing values for mapped attributes. r=dbaron
2010-03-16 16:17:32 -07:00
Daniel Holbert
1b7f3ee4bc
Bug 534028, Patch A: Make nsIContent::GetAnimatedAttr()'s nsIAtom argument non-const. r=roc
2010-03-16 16:17:32 -07:00
Daniel Holbert
269ef04f37
Bug 550975: In mochitests with SVG embedded in XHTML, move initial pauseAnimations call to <svg> onload handler. r=roc
2010-03-10 12:33:37 -08:00
Jonas Sicking
3175f89133
Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz
2010-03-08 07:45:00 -08:00
Shawn Wilsher
9f5d0cab2d
Bug 549797 - Removing href attribute from html:a, html:link, and svg:a doesn't remove link styling
...
r=bz
2010-03-03 12:55:35 -08:00
Daniel Holbert
5f7e96d98d
Bug 547333 followup: Move FlushAnimations() call from nsSVGElement::GetAnimatedLengthValues to FlushPendingNotifications. r=jwatt r=bz
2010-03-02 07:36:33 -08:00
Daniel Holbert
627f47b186
Bug 540090: Add method nsIDocument::HasAnimationController, to let us check for active SMIL animation without triggering lazy construction. r=roc
2010-03-02 23:09:51 -08:00
Zack Weinberg
2c3e543d1d
Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Zack Weinberg
96887d3f38
Bug 523496: DeCOMtaminate nsCSSParser. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/style/nsICSSParser.h => layout/style/nsCSSParser.h
2010-03-02 12:59:32 -08:00
Daniel Holbert
bb1b787565
Backed out changeset e9ab6e4d121d (Bug 547333 followup) due to debug mochitest orange.
2010-03-02 08:29:46 -08:00
Daniel Holbert
bf932485ec
Bug 547333 followup: Move FlushAnimations() call from nsSVGElement::GetAnimatedLengthValues to FlushPendingNotifications. r=jwatt r=bz
2010-03-02 07:36:33 -08:00
Daniel Holbert
749e40a648
Bug 548899: Don't issue attribute-changed notification when transform attribute is animated. r=jwatt sr=roc
2010-03-02 07:36:31 -08:00
Daniel Holbert
16413ffab8
Backed out changeset 367cdcfa611b due to smil reftest failures on opt mac & windows tinderboxen
2010-02-26 15:43:47 -08:00
Daniel Holbert
ba5c1ee63b
Bug 547333 followup: Remove FlushAnimations() call from another internal getter (nsSVGElement::GetAnimatedLengthValues), to prevent SMIL samples during frame construction. r=jwatt
2010-02-26 11:08:54 -08:00
Daniel Holbert
c63fcd1cf9
Remove unused argument from nsSVGTransformSMILAttr constructor. (no bug)
2010-02-25 18:12:25 -08:00
Daniel Holbert
71488977d3
Bug 547333: Call FlushAnimations() in SVG DOM getters for animated values, and not in internal getters. r=jwatt
2010-02-25 10:20:43 -08:00
Shawn Wilsher
cb0509c597
Bug 461199 (Part 30) - Fixes invalidation issues when changing the href attribute.
...
r=bz
2010-02-24 08:37:38 -08:00
Shawn Wilsher
b6e4bfa8f1
Bug 542632 - Protect nsGenericHTMLElement::GetHrefURIForAnchors
...
Also makes DNS prefetching take mozilla::dom::Link instead of nsIContent.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher
149f5aac0a
Bug 542592 - Change how we use/store nsDocument::mLinkMap
...
This makes changes nsDocument::mLinkMap in a number of ways:
1) renamed to mStyledLinks to better reflect its new nature.
2) change it to an nsTHashtable of Link*. It no longer has a strong reference
3) add some assertions to make sure we call ForgetLink and AddStyleRelevantLink
in pairs.
This also makes mozilla::dom::Link::ResetLinkState take a boolean indicating if
we should notify or not.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher
1e53ff806b
Bug 461199 (Part 19) - nsSVGAElement fails to call ResetLinkState in [Uns|S]etAttr
...
Have nsSVGAelement implement UnsetAttr and SetAttr, and make sure it calls
mozilla::dom::Link::ResetLinkState when appropriate.
r=jwatt
sr=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
8d82ffe93c
Bug 461199 (Part 14) - Implement nsIContent::IntrinsicState on mozilla::dom::Link subclasses
...
All mozilla::dom::Link subclasses need to implement IntrinsicState and make sure
to call LinkState.
r=sicking
sr=bz
2009-12-15 16:04:09 -08:00
Shawn Wilsher
3a408ccc92
Bug 461199 (Part 10) - Ensure that Link::ResetLinkState is always called when an element is bound or unbound from the DOM tree.
...
We would not be notified about base URI changes during this time, so we need to
make sure we are not registered and have no cached state.
r=bz
r=jwatt
2009-11-23 10:48:52 -08:00
Shawn Wilsher
a0f960d660
Bug 461199 (Part 6) - nsSVGAElement::GetHrefURI is not implemented
...
Fixes nsSVGAElement::GetHrefURI so that it actually returns a URI when it is a
link instead of nsnull.
r=jwatt
2009-11-09 10:00:54 -08:00
Boris Zbarsky
966f597e72
Bug 534526 part 3. Change the ordering in nsSVGElement::UnsetAttr. r=longsonr
2010-02-23 23:37:47 -05:00
Boris Zbarsky
ebac0e31a3
Bug 534526 part 2. Move AttributeWillChange out of SetAttrAndNotify, and in particular to before ParseAttribute, since some ParseAttribute implementations actually change the attribute value. Also move it to before we've changed the CSSDeclaration for inline style changes. r=sicking,longsonr,dbaron
2010-02-23 23:37:47 -05:00
Boris Zbarsky
0aef843d39
Bug 534526 part 1. Remove a SetAttrAndNotify caller by making XUL inherit from nsStyledElement. r=sicking
2010-02-23 23:37:46 -05:00
Robert Longson
dded1dc9d5
Bug 547596 - zoom events do not fire. r=jwatt
2010-02-23 20:39:15 +00:00
Daniel Holbert
1c36459f3b
Bug 533291 Patch Z: Enable "don't recompose if we know our animated value can't have changed" optimization, and add tests. r=roc
2010-02-20 13:13:11 -08:00
Daniel Holbert
9123e91013
Bug 533291 Patch E: Add another outparam to nsISMILAttr::ValueFromString, to let us know whether we can re-use the parsed result in the future. r=roc
2010-02-20 13:13:11 -08:00
Daniel Holbert
f2e36498c9
Bug 542670 Patch B: Add specialized implementations for nsISMILType::IsEqual. r=roc
2010-02-20 13:13:11 -08:00
Daniel Holbert
2dad1d18f6
Followup to Bug 541884: Fix --disable-smil build bustage by moving SVGViewBoxSMILType.cpp within Makefile
2010-02-19 12:39:30 -08:00
Jonathan Watt
20a0206062
Bug 541884 follow-up to use IsNull() instead of checking mPtr manually. r=dholbert
2010-02-19 13:28:23 +00:00
Jonathan Watt
f2e0136d80
Bug 540588. Add support for SMIL animation of <integer> attributes in SVG. r=dholbert
2010-02-18 21:51:00 +00:00
Jonathan Watt
232dae9b42
Bug 541884. Add support for SMIL animation of the viewBox attribute in SVG. r=dholbert
2010-02-18 21:51:00 +00:00
Jonathan Watt
d8f45843d9
Bug 545042. Add support for SMIL animation of <angle> attributes in SVG. r=dholbert
2010-02-18 21:50:59 +00:00
Daniel Holbert
4156ad402c
Bug 546785: Fix function signature of nsSVGFE::DidAnimatePreserveAspectRatio() to match inherited method. r=jwatt
2010-02-18 12:16:37 -08:00
Shawn Wilsher
5181d06c45
Backed out changeset 3d8baa8213cf
2010-02-18 10:11:23 -08:00
Shawn Wilsher
7e6a8b2fd8
Bug 461199 (Part 6) - nsSVGAElement::GetHrefURI is not implemented
...
Fixes nsSVGAElement::GetHrefURI so that it actually returns a URI when it is a
link instead of nsnull.
r=jwatt
2009-11-09 10:00:54 -08:00
Daniel Holbert
e4e0b32a53
Bug 545550: In setters for base values of SVG attributes, only set mAnimVal if we're not currently being animated. r=jwatt
2010-02-11 11:41:48 -08:00
Daniel Holbert
07c873628f
Bug 542731: Add 'explicit' label to all single-arg constructors in SMIL code. r=roc
2010-02-11 11:40:50 -08:00
Alexander Surkov
73e251f02b
Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc
2010-02-12 01:34:01 +08:00
Robert Longson
85732d1416
Bug 536912 - getNumberOfChars() throws an exception if text is display:none. r=roc
2010-02-11 10:54:45 +00:00
Robert Longson
1a51c439dc
Bug 544742 - fePointLight does not work with primitiveUnits=objectBoundingBox. r=roc
2010-02-08 09:51:19 +00:00
Jonathan Watt
c9e50cb93c
Bug 541882. Add support for SMIL animation of the preserveAspectRatio attribute in SVG. r=dholbert
2010-02-08 02:28:01 +00:00
Daniel Holbert
d8f21dffff
Bug 542731, Patch D: Make nsISMILType methods protected, & only give nsSMILValue access. r=roc
2010-02-01 18:46:13 -08:00
Daniel Holbert
89ac61ebcb
Bug 542731, Patch C: Clean up nsSVGTransformSMIL* classes. r=roc
2010-02-01 18:46:13 -08:00
Daniel Holbert
696a82b8cc
Bug 535850: fix random orange in SMIL mochitest, test_animLengthReadonly.xhtml, by adding initial pause & seek-to-0. (test-only fix)
2010-01-29 12:18:50 -08:00
Daniel Holbert
d215e312fb
Bug 542731: SMIL misc code cleanup - remove end-of-line whitespace.
2010-01-28 01:51:03 -08:00
Daniel Holbert
86c7eaa0cd
Bug 542731: SMIL misc code cleanup: remove trailing '.' from warning messages, to prevent the '.:' in output like 'ASSERTION: blah blah.: /path/to/file:NN'. (no changes outside of assertion/warning message text)
2010-01-28 01:50:30 -08:00
Robert Longson
85bad1dfb5
Bug 540726 - User units for angles should be degrees. r=jwatt
2010-01-27 10:13:57 +00:00