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

826 Коммитов

Автор SHA1 Сообщение Дата
Shawn Wilsher d1cb40d001 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 827926975c 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 1d4431e4cb 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 6ce13b76a5 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 1fdb0388ba 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 943ac9cd80 Backed out changeset e9ab6e4d121d (Bug 547333 followup) due to debug mochitest orange. 2010-03-02 08:29:46 -08:00
Daniel Holbert 16b59df3ce 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 d5d1ef1794 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 d7e9ac7147 Backed out changeset 367cdcfa611b due to smil reftest failures on opt mac & windows tinderboxen 2010-02-26 15:43:47 -08:00
Daniel Holbert 6e8793e23b 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 4b7fef25d2 Remove unused argument from nsSVGTransformSMILAttr constructor. (no bug) 2010-02-25 18:12:25 -08:00
Daniel Holbert af8245235d 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 4dce570127 Bug 461199 (Part 30) - Fixes invalidation issues when changing the href attribute.
r=bz
2010-02-24 08:37:38 -08:00
Shawn Wilsher d5bd2fe739 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 99f6189b56 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 bf3378292a 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 1ec8cbea62 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 dee0568065 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 b8bab8b9c1 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 02ce03ca1b Bug 534526 part 3. Change the ordering in nsSVGElement::UnsetAttr. r=longsonr 2010-02-23 23:37:47 -05:00
Boris Zbarsky b12684acf8 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 a0bacc22e3 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 bcbe6ef9d1 Bug 547596 - zoom events do not fire. r=jwatt 2010-02-23 20:39:15 +00:00
Daniel Holbert e5e15fadb9 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 1d26fc55f0 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 d022ff95c3 Bug 542670 Patch B: Add specialized implementations for nsISMILType::IsEqual. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert d570ebd0c1 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 c02ac69916 Bug 541884 follow-up to use IsNull() instead of checking mPtr manually. r=dholbert 2010-02-19 13:28:23 +00:00
Jonathan Watt a1a6327f16 Bug 540588. Add support for SMIL animation of <integer> attributes in SVG. r=dholbert 2010-02-18 21:51:00 +00:00
Jonathan Watt cc0f94273c 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 ecd0d20033 Bug 545042. Add support for SMIL animation of <angle> attributes in SVG. r=dholbert 2010-02-18 21:50:59 +00:00
Daniel Holbert 734a37da5a Bug 546785: Fix function signature of nsSVGFE::DidAnimatePreserveAspectRatio() to match inherited method. r=jwatt 2010-02-18 12:16:37 -08:00
Shawn Wilsher 4082b580d6 Backed out changeset 3d8baa8213cf 2010-02-18 10:11:23 -08:00
Shawn Wilsher 80eb3cc7f5 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 53ae20be25 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 fd7772777e 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 03b1de4b95 Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc 2010-02-12 01:34:01 +08:00
Robert Longson 8254e9e11f Bug 536912 - getNumberOfChars() throws an exception if text is display:none. r=roc 2010-02-11 10:54:45 +00:00
Robert Longson d6c4e54b22 Bug 544742 - fePointLight does not work with primitiveUnits=objectBoundingBox. r=roc 2010-02-08 09:51:19 +00:00
Jonathan Watt 71f59f6e4f 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 2a34c11d01 Bug 542731, Patch D: Make nsISMILType methods protected, & only give nsSMILValue access. r=roc 2010-02-01 18:46:13 -08:00
Daniel Holbert 43bf813787 Bug 542731, Patch C: Clean up nsSVGTransformSMIL* classes. r=roc 2010-02-01 18:46:13 -08:00
Daniel Holbert 0b1058cb81 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 11b174b084 Bug 542731: SMIL misc code cleanup - remove end-of-line whitespace. 2010-01-28 01:51:03 -08:00
Daniel Holbert 8de7d5755d 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 1669296386 Bug 540726 - User units for angles should be degrees. r=jwatt 2010-01-27 10:13:57 +00:00
Robert Longson b5b8d9c97a Bug 539576 - SVGTransform matrix changes still not live in all circumstances (with bustage fix). r=jwatt 2010-01-25 14:36:09 +00:00
Robert Longson e368e0f6f7 Backout Bug 539576 due to test failures 2010-01-25 13:44:55 +00:00
Robert Longson 2a8cebe4fb Bug 539576 - SVGTransform matrix changes still not live in all circumstances. r=jwatt 2010-01-25 12:26:15 +00:00
Jonathan Watt 1a9b2068d8 Bug 540479. Add support for SMIL animation of boolean attributes in SVG. r=dholbert 2010-01-24 16:42:08 +00:00