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
09e99cfbd1
Bug 461199 (Part 18) - Need an observer notification to indicate when link status is known from the database
...
Adds an observer to indicate when a URI lookup is completed and passes the
visited state with the notification. This greatly simplifies test writing.
r=mak
2010-02-24 08:37:02 -08:00
Shawn Wilsher
72fccd35dd
Bug 461199 (Part 17) - Remove no longer needed code from webshell and docshell.
...
r=bz
sr=sicking
2009-12-15 16:04:18 -08:00
Shawn Wilsher
456e4f62d4
Bug 461199 (Part 16) - Remove now unused style code testing for Link and HTML Links.
...
r=bz
sr=dbaron
2009-12-15 16:04:15 -08:00
Shawn Wilsher
5a72540281
Bug 461199 (Part 15) - Rely on nsIContent::IntrinsicState instead of nsIContent::GetLinkState in layout.
...
Layout should call IntrinsicState instead of GetLinkState. Simplifies a lot of
logic, and makes the code easier to follow.
r=bz
sr=dbaron
2009-12-15 16:04:12 -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
cd9322f202
Bug 461199 (Part 13) - mozilla::dom::Link::SetLinkState should inform the document about changes to its state when it is called.
...
Make Link::SetLinkState notify the document about changes in state, plus a
whole bunch of assertions for sanity checking.
r=sicking
r=bz
2009-12-15 16:04:07 -08:00
Shawn Wilsher
3848a86843
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
e906cd8762
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
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
a91c45ecd6
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
0897d2cd63
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
6ff8740620
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
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
Shawn Wilsher
eec068e43a
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
2abf598ed6
Bug 461199 (Part 3) - Create a cached getter for mozilla::IHistory on nsContentUtils.
...
r=sicking
2009-11-09 10:00:53 -08:00
Neil Deakin
c8b6d66e49
Bug 543065, only scroll one ancestor of menus, back out due to scrolling regressions
2010-02-24 10:34:39 -05:00
John Daggett
a7181c3103
Bug 533251. Always insert default font if needed when rebuilding font list. r=jkew
2010-02-24 16:18:49 +09:00
Doug Turner
0ac11cae83
merge
2010-02-23 23:11:34 -08:00
Doug Turner
328a598fc9
Backed out Bug 489813 / changeset 0542680c6f74
2010-02-23 23:11:18 -08:00
Boris Zbarsky
cbf13d77f4
Merge a push that I failed to actually push to the right tree initially
2010-02-24 00:08:52 -05:00
Ricardo Bittencourt
5c37773f19
Bug 431524. Make the 'cursor' set on a file input work for its button too. r=bzbarsky, ui-r=alimi
2010-02-23 23:37:47 -05:00
Boris Zbarsky
3661ac8a49
Bug 547239. Don't lose our POST body on 307 redirects and internal proxy-related redirects. r=sicking. r=jduell and biesi pending.
2010-02-23 23:37:47 -05:00
Boris Zbarsky
6d29cd3275
Bug 534526 part 4. Tests.
2010-02-23 23:37:47 -05: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
Doug Turner
d2afc943c8
Bug 489813 - fire geolocation timeout error if the provider fails to response after initial response. r=olli
...
--HG--
extra : rebase_source : 03c08ca4f017302e8ae2e63cdb844c62f01c234e
2010-02-23 20:27:27 -08:00
Rob Arnold
e5803b2b1f
Bug 541182 - Custom CSS cursor not working; Remove GetSystemMetric check.
...
r=jmathies.
2010-02-24 05:42:29 +01:00
Serge Gautherie
0987a7f066
Bug 512520 - remove Maemo geolocation providers; (Bv1) Clean up nsGeolocation.cpp too.
...
r=dougt.
2010-02-24 05:36:29 +01:00
Jonas Sicking
8b7855784a
Bug 548171: Make getFile function on SERVER_ROOT platform independent. r=waldo
2010-02-23 18:04:35 -08:00
Ben Turner
8a2732a347
Bug 537572 - 'Workers: nsLayoutStatics refcounting isn't threadsafe, triggered via nsContentUtils::WrapNative'. r+sr=sicking
2010-02-23 17:44:52 -08:00
Ben Turner
f538f0c2f1
Bug 545195 - ' topcrash [@ @0x0 | nsBaseAppShell::OnProcessNextEvent(nsIThreadInternal*, int, unsigned int) ]'. r+sr=sicking.
2010-02-23 17:39:14 -08:00
Shawn Wilsher
7e85784adb
Merge for back out of changeset bb9e847a02c8 (bug 193911) due to performance regressions.
2010-02-23 17:13:00 -08:00
Shawn Wilsher
957bf3c5ce
Backed out changeset bb9e847a02c8 (bug 193911) due to performance regressions.
2010-02-23 17:12:33 -08:00
Doug Turner
65a60aa6f3
Adding new line to the end of nsHtml5SpeculativeLoader.h to avoid dozens of compiler warnings. trivial fix, no bug
...
--HG--
extra : rebase_source : c32715faff9ea1c2e06b41ffa9ca1f1e316c68f8
2010-02-23 16:36:30 -08:00
Sid Stamm
36b2eea54c
fix tinderbox test hang after landing bug 515442. r=dveditz
2010-02-23 16:37:38 -08:00
Josh Aas
d9f251e5e5
Remove remaining Mac OS X 10.4 support from Cocoa widgets. b=548097 r=smichaud
2010-02-23 15:30:39 -08:00
Daniel Veditz
f7727d62fa
Forgot tests for bug 515442
2010-02-23 14:28:18 -08:00
Ben Newman
32d4ca576a
Backout of changeset c3b327ad051a due to failure of dom/tests/mochitest/bugs/test_bug459848.html.
2010-02-23 13:57:15 -08:00
Daniel Veditz
04406a51f3
bug 515442 CSP inline script protection
2010-02-23 13:20:46 -08:00
Robert Longson
b08632af8b
Bug 510202 - xlink:title should only work on links. r=dao,sr=bzbarsky
2010-02-23 20:45:13 +00:00
Robert Longson
bcbe6ef9d1
Bug 547596 - zoom events do not fire. r=jwatt
2010-02-23 20:39:15 +00:00
Josh Aas
c1fbb1bfd2
Remove Mac OS X 10.4 support from Cocoa complex text input. b=548021 r=smichaud
2010-02-23 12:10:25 -08:00
Josh Aas
4dec967964
Remove Mac OS X 10.4 support from Cocoa printing. b=548034 r=smichaud
2010-02-23 12:04:05 -08:00
Josh Aas
595472d0e9
Remove Mac OS X 10.4 support from Cocoa native menus. b=548014 r=smichaud
2010-02-23 11:45:53 -08:00
Ben Newman
f0752dd13d
Bug 523885 - Tabbrowser handling of window.close possibly leak-prone. r=bz+sr=jst
...
--HG--
extra : rebase_source : 07b3a2e304498e053cdb301bb0d0d781412a196a
2010-02-23 10:45:05 -08:00
Ben Turner
18637eeb39
Bug 547814, r=jorendorff, sr=peterv.
2010-02-23 10:45:36 -08:00
Neil Deakin
5e32a6cffc
Bug 544146, when focusing at the caret position, if the caret is not set or at the root, don't look for a node to focus, r=smaug
2010-02-23 13:16:19 -05:00
Neil Deakin
cb06b9f0fd
Bug 354048, allow toolbaritems to be placed directly inside toolbar so that uncustomized toolbars don't need to be rebuilt at startup, r=dao
2010-02-23 13:16:16 -05:00