Commit Graph

3754 Commits

Author SHA1 Message Date
Shawn Wilsher
f284f552ef Bug 461199 (Part 12) - mozilla::dom::Link should unregister with mozilla::IHistory when it goes away
Call UnregisterWithHistory in Link's destructor to ensure that we are no longer
registered with IHistory.
r=sicking
sr=bz
2009-12-15 16:01:53 -08:00
Shawn Wilsher
2c79759c5c Bug 461199 (Part 11) - [un]register in mozilla::dom::Link::[Reset]LinkState
Register with History in mozilla::dom::Link::LinkState and unregister in
mozilla::dom::Link::RestLinkState.
r=bz
2009-11-23 10:48:52 -08:00
Shawn Wilsher
b1333c381c 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
d36498d7b3 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
8000c6f51e 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
3501faf702 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
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
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
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
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
Timothy Nikkel
73241cb6bc Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Boris Zbarsky
134f48b881 Adding a test 2010-02-12 14:12:00 -05:00
Henri Sivonen
3e7e62f762 Bug 541079 - Make app cache selection happen before speculative loads in the HTML5 parser. r=bnewman. 2010-02-02 09:43:18 +02:00
Jesse Ruderman
146e09dd21 Remove extra dump statements from tests 2010-02-11 14:14:26 -08:00
Robert O'Callahan
cf6a1f8a9d Bug 523083. Don't bother caching the last nsContentList, it just creates leaks and probably doesn't help anything. r=peterv 2010-02-12 10:45:33 +13:00
Daniel Holbert
6a9dbc7787 Remove incorrect usage of nsresult to catch return-val of an EnumerateEntries() call in nsSMILAnimationController. (trivial fix, no bug #) 2010-02-11 13:35:33 -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
Phil Ringnalda
a4e36d4f5f Fix typo to trigger builds
--HG--
extra : rebase_source : 526e64cfda9d8e3e591cfa4c77352a63c20f7f52
2010-02-09 21:39:02 -08:00
Ted Mielczarek
d40733d453 Bug 541076 - add minidump id and plugin name to PluginCrashed event. p=ted+dolske, r=jst, r=ted 2010-02-09 17:05:31 -08:00
Justin Dolske
7af7ad098a Bug 539828 - Need CSS pseudoclass for crashed plugins. r=dbaron 2010-02-09 17:05:31 -08:00
Zack Weinberg
7fd5fe000b Bug 345681: Remove the vestigial nsICheckboxControlFrame and nsIRadioControlFrame interfaces. r=roc 2010-02-09 14:06:37 -08:00
Doug Turner
c5fb72ab64 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Boris Zbarsky
6a1a36dba1 Bug 453929. Cache getElementsBy(Class)Name return values. r=jst 2010-02-09 12:09:06 -05:00
Olli Pettay
ecf6194456 Bug 544018 - print preview doesn't work in view source , r=dao 2010-02-09 18:24:49 +02:00
Olli Pettay
435c946f5c backout Bug 544018 2010-02-08 19:00:41 +02:00
Olli Pettay
04889fec16 Bug 544018 - print preview doesn't work in view source, r=dao 2010-02-08 18:16:57 +02:00
Robert Longson
1a51c439dc Bug 544742 - fePointLight does not work with primitiveUnits=objectBoundingBox. r=roc 2010-02-08 09:51:19 +00:00
Makoto Kato
256f2577f8 Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r=jst 2010-02-08 11:49:18 +09: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
Matthew Gregan
7f4fbf94ce Bug 533822 - Flush liboggz packet_buffer in oggz_reset_streams. r=chris.double 2010-01-08 17:55:39 +13:00
Olli Pettay
3a431b9f1b Bug 518122, improve textarea.value+= performance, r=bz 2010-02-07 21:44:32 +02:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Peter Van der Beken
c43bc8d021 Follow-up to fix for bug 540443 (Change one argument of nsContentUtils::CheckSameOrigin from nsIDOMNode to nsINode), remove obsolete comment. 2010-02-07 15:20:35 +01:00
Peter Van der Beken
74304b132f Follow-up to fix for bug 540443 (Change one argument of nsContentUtils::CheckSameOrigin from nsIDOMNode to nsINode), remove obsolete comment. 2010-02-07 11:48:09 +01:00
Daniel Holbert
020287d441 Bug 543497, Patch B: Fix "warning: suggest parentheses around comparison in operand of !=" in nsHTMLDocument.cpp. r=smaug 2010-02-06 13:33:53 -08:00
Peter Van der Beken
648f658133 Fix for bug 540443 (Change one argument of nsContentUtils::CheckSameOrigin from nsIDOMNode to nsINode). r=bz. 2010-01-12 14:08:44 +01:00
Peter Van der Beken
6289e634b5 Fix for bug 539239 (Pass correct document to ReparentContentWrapper). r=jst.
--HG--
extra : rebase_source : 57295944c9a597c10aabd6cf4a4741970b4b4153
2010-01-16 15:27:51 +01:00
Ms2ger@gmail.com
8ac5baea31 Bug 41464 - Implement textarea.wrap. r=bz 2010-02-06 09:51:10 +01:00
Sid Stamm
f9be5dbbdb Bug 515458 - "(CSP) Implement frame ancestor check" [r=jst ui-r=johnath] 2010-02-05 14:08:27 -06:00
Serge Gautherie
271756558e Backed out changeset: b3d6a8724029 of
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
which breaks comm-central.
2010-02-04 20:55:10 +01:00
Michael Ventnor
55ebf80987 Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
r=roc.
2010-02-04 19:15:03 +01:00
Dão Gottwald
d412631ec0 merge backout 2010-02-04 17:17:27 +01:00
Dão Gottwald
5bf54b4622 Backed out changeset 8c2e7ae5cceb because of test_bug398289.html failure 2010-02-04 17:16:39 +01:00
Neil Deakin
62c35eef15 Bug 543821, iterate a bit more and wait for the xml datasource to load in this test, should fix intermittent orange 2010-02-04 09:12:41 -05:00
Michael Ventnor
2b0c157e9a Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron 2010-02-04 14:58:02 +01:00