Commit Graph

3792 Commits

Author SHA1 Message Date
Shawn Wilsher
c74c499d06 Bug 461199 (Part 9) - Move href helpers from nsGenericHTMLElement to mozilla::dom::Link.
Move the helpers so that they can easily use the cached URI when available.
r=sicking
sr=bz
2009-11-09 10:00:54 -08:00
Shawn Wilsher
2849d7ab1f Bug 461199 (Part 8) - Remove nsAttrValue::eLazyURIValue and related code
Stop using lazy href attributes in nsAttrValue.  Link will store it as needed.
r=sicking
sr=bz
2009-11-09 10:00:54 -08:00
Shawn Wilsher
7138f81c0a Bug 461199 (Part 7) - mozilla::dom::Link should have a method to obtain a cached URI
Add mozilla::dom::Link::GetURI method used to cache the URI for this element.
r=bz
2009-11-09 10:00:54 -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
Shawn Wilsher
3c5791490b Bug 461199 (Part 5) - Add mozilla::dom::Link::LinkState
Adds a LinkState method that should be called by subclasses when they get asked
about their IntrinsicState.
r=sicking
sr=bz
2009-11-09 10:00:53 -08:00
Shawn Wilsher
f0cb06c199 Bug 461199 (Part 3) - Create a cached getter for mozilla::IHistory on nsContentUtils.
r=sicking
2009-11-09 10:00:53 -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
Ben Turner
e8124b22b1 Bug 537572 - 'Workers: nsLayoutStatics refcounting isn't threadsafe, triggered via nsContentUtils::WrapNative'. r+sr=sicking 2010-02-23 17:44:52 -08:00
Sid Stamm
ba3276f601 fix tinderbox test hang after landing bug 515442. r=dveditz 2010-02-23 16:37:38 -08:00
Daniel Veditz
e8e0b08526 Forgot tests for bug 515442 2010-02-23 14:28:18 -08:00
Daniel Veditz
ac0251d255 bug 515442 CSP inline script protection 2010-02-23 13:20:46 -08:00
Robert Longson
dded1dc9d5 Bug 547596 - zoom events do not fire. r=jwatt 2010-02-23 20:39:15 +00:00
Jonas Sicking
62651da7b8 Bug 547850: Make case folding code in HTML DOM only case fold ASCII characters. r=hsivonen 2010-02-23 09:38:10 -08:00
Boris Zbarsky
d14db3049f Bug 530373 followup. Fix build bustage. 2010-02-22 15:13:19 -05:00
Jae-Seong Lee-Russo
30218c70c3 Bug 530373. Use NS_MIN/NS_MAX instead of PR_MIN/PR_MAX in DOM code. r=bzbarsky 2010-02-22 14:41:19 -05:00
Frédéric Wang
8b46e8bd69 Bug 530275. Move more MIME types into nsMimeTypes.h so we don't have to hardcode the strings in various places. r=bzbarsky 2009-11-21 00:12:42 +01:00
Saint Wesonga
f78442c0ad Bug 523417 - "warning: invoking macro NS_ENSURE_SUCCESS argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98" in DOM worker code. r=jst 2010-02-22 18:41:21 +01:00
Alexander Surkov
be2b5e3966 Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz 2010-02-20 16:52:50 -08: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
abcd247e08 Bug 533291 Patch D: Cache base value with each SMIL compositor, since we need to recompose when base value changes. 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
a9ff273b62 Bug 542670 Patch A: Add equality operator for nsSMILValue. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
6512adf203 Bug 533291 Patch C: When an inactive nsSMILAnimationFunction has changed, force its target to recompose during that sample. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
c85d4fe6db Bug 533291 Patch B: Add method nsSMILAnimationFunction::UpdateCachedTarget, to tell when an animation function's target has changed. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
b927b3d9ae Bug 533291 Patch A: Create classes nsSMILTargetIdentifier & nsSMILWeakTargetIdentifier, based on nsSMILCompositorKey. r=roc 2010-02-20 13:13:11 -08:00
Neil Deakin
65465d8068 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Justin Lebar
f7fb801ff8 Bug 519400: Speed up Canvas's [get|put]ImageData() r=vlad 2009-12-04 19:21:45 -08:00
Boris Zbarsky
78a74029ee Bug 547342 attempted fix. Since scrollToRow doesn't flush layout, and since layout is what sets up the tree view, and since scrollToRow bails out early if there's no view, make sure to flush layout before calling scrollToRow. But we should really consider fixing scrollToRow instead. 2010-02-19 23:35:17 -05: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
Boris Zbarsky
fa4effe1c0 Bug 545927. Check for negative numbers before doing roman-numeral stuff. r=sicking 2010-02-19 12:11:40 -05: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
Ehsan Akhgari
9d92eb48f9 Merge backout of changeset 70b1ccb14325 2010-02-18 19:02:08 -05:00
Ehsan Akhgari
50f48242c4 Backed out changeset 70b1ccb14325 2010-02-18 18:52:12 -05: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
Ehsan Akhgari
8b4d5890e9 Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
--HG--
extra : rebase_source : 117d5f34a90941543a994107351eb0e34ae7308f
2010-02-01 23:00:12 -05: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
Timothy Nikkel
92355591c8 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Shawn Wilsher
36b0a72a9d Merge for backout of changeset 1622d8dab8c3 2010-02-18 10:13:49 -08:00
Shawn Wilsher
8074dd15b2 Backed out changeset 1622d8dab8c3 2010-02-18 10:13:35 -08:00
Shawn Wilsher
a90af8bf6d Backed out changeset aeb2d5550890 2010-02-18 10:12:30 -08:00
Shawn Wilsher
9192e29456 Bug 461199 (Part 3) - Create a cached getter for mozilla::IHistory on nsContentUtils.
r=sicking
2009-11-09 10:00:53 -08:00
Shawn Wilsher
784c9db6e3 Bug 461199 (Part 5) - Add mozilla::dom::Link::LinkState
Adds a LinkState method that should be called by subclasses when they get asked
about their IntrinsicState.
r=sicking
sr=bz
2009-11-09 10:00:53 -08:00
Shawn Wilsher
c0d498ce5d Bug 461199 (Part 4) - Add NS_EVENT_STATE_UNVISITED that describes an unvisited link.
Add the new state so we can then just call IntrinsicState to determine the
visitedness of an nsIContent node.
r=bz
2009-11-09 10:00:53 -08:00
Shawn Wilsher
1c29b0d28e Bug 461199 (Part 2) - Create an API for asynchronous isVisited checks that content/layout can use
Create a new API (IHistory) to check for the visitedness of a URI.
r=mak
r=bz
sr=bsmedberg
2009-08-20 11:56:10 -07:00
Timothy Nikkel
53fe3ff52d Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux. 2010-02-12 16:46:04 -06:00