Commit Graph

275 Commits

Author SHA1 Message Date
Craig Topper
076bc13756 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Daniel Holbert
613fe838df Bug 534028, Patch A: Make nsIContent::GetAnimatedAttr()'s nsIAtom argument non-const. r=roc 2010-03-16 16:17:32 -07:00
Shawn Wilsher
c9eab8d32e 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
Alexander Surkov
3cc553ad9d Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz 2010-02-20 16:52:50 -08:00
Shawn Wilsher
4b5cbe7d69 Backed out changeset 018b79b00cac 2010-02-18 09:50:05 -08:00
Shawn Wilsher
428237cb8b 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-17 14:04:33 -08:00
Alexander Surkov
a2194f474e Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc 2010-02-12 01:34:01 +08:00
Boris Zbarsky
0825c2932b Bug 536716. Make BuildScrollFrame not set the primary frame on the content, fix letter frames to reset primary frames to 0 before resetting them to the new value as needed, fix things so <area> never gets a frame of its own, and reenable the SetPrimaryFrame assertion when the primary frame is being changed from one non-null frame to another. r=roc 2009-12-31 14:07:56 -05:00
Boris Zbarsky
401d434aa7 Bug 500882 another followup. This assertion is currently false for comboboxes; we need to fix them first. Needed to fix orange. 2009-12-24 19:18:32 -05:00
Boris Zbarsky
fde6271d85 Bug 500882 followup. For some frame types, we set the primary frame multiple times, to the same value. Fixes orange 2009-12-24 17:41:02 -05:00
Boris Zbarsky
c12e74c7fe Bug 500882 part 8. Remove the SetMayHaveFrame/MayHaveFrame vestiges. r=smaug 2009-12-24 16:20:06 -05:00
Boris Zbarsky
5724a5fa2e Bug 500882 part 2. Switch setting of primary frames to the new API; switch nsFrameManager::GetPrimaryFrameFor to the new API; remove resulting gobs of dead code. r=roc 2009-12-24 16:20:05 -05:00
Boris Zbarsky
608849698e Bug 500882 part 1. Give nsIContent an nsIFrame member. r=smaug, sr=roc 2009-12-24 16:20:05 -05:00
Jonas Sicking
f37c0c0f34 Bug 516906: Remove XLink support from nsXMLElement. r/sr=jst 2009-10-24 21:33:47 -07:00
David Zbarsky
aadd6cf119 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Justin Lebar
7b9600cb77 Bug 209275 - Links' hrefs should be updated when a <base>'s href changes. r=bzbarsky 2009-09-25 12:50:26 -04:00
Paul O’Shannessy
52f15adeb6 backing out 00377b2a7c75 (bug 209275) due to mochitest timeouts 2009-09-24 15:05:54 -07:00
Justin Lebar
88dc0288f3 Bug 209275 - Links' hrefs should be updated when a <base>'s href changes. r=bzbarsky 2009-09-24 13:59:43 -04:00
Daniel Holbert
ab5c658868 Bug 474049: (first patch) Add SMILOverrideStyle rule & accessors on nsIContent/nsGenericElement, to store SMIL-animated style values. r=dbaron r=bz 2009-09-02 17:28:37 -07:00
David Zbarsky
7ab92a587e Bug 487023. Refactor IsCaseSensitive() into non-virtual inline IsHTML(). r=hsivonen, sr=jst 2009-08-25 13:15:55 -04:00
Boris Zbarsky
c95cebf89b Backed out changeset 4aa19414e651 (bug 488249) to fix test orange. 2009-08-24 20:51:57 -04:00
David Zbarsky
630c8fc41e Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Daniel Holbert
2f87ad4b2a whitespace-only: fix trailing whitespace recently introduced into nsIContent.h (from bug 499781) 2009-07-14 12:42:46 -07:00
Peter Van der Beken
4c0938621b Fix for bug 499781 (Move some methods from nsILink to nsIContent). r=bz, sr=dbaron. 2009-07-13 13:48:06 +02:00
Neil Deakin
f62906b6b1 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Henri Sivonen
e624faee4d Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner 2009-06-09 10:41:19 +03:00
Olli Pettay
9a0f245f6f Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv 2009-05-07 16:59:51 +03:00
Olli Pettay
575ba44eca backout bug484775 2009-05-07 10:19:06 +03:00
Olli Pettay
fd81802bfd Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv 2009-05-07 09:31:04 +03:00
Blake Kaplan
4621e77c5d Bug 475864 - Move native anonymous content checks into a wrapper so that quickstubs don't sidestep them. r=jst sr=bzbarsky 2009-04-23 00:21:22 -07:00
Arpad Borsos
217d822aab Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Boris Zbarsky
da397a666f Bug 476245. Keep better track of our anonymous content. r=smaug, sr=jst 2009-02-24 13:39:09 -05:00
L. David Baron
f7638be36b Backed out changeset a328b5ae57e0 (bug 476245) for causing failures of test_videocontrols.html across platforms (although Linux hasn't cycled yet). 2009-02-24 13:38:35 -08:00
Boris Zbarsky
6880712c98 Bug 476245. Keep better track of our anonymous content. r=smaug, sr=dbaron 2009-02-24 13:39:09 -05:00
Olli Pettay
c8cd3be1ef Bug 476097, ASSERTION: killing mutation events with <input type=file>, r+sr=bz 2009-01-31 14:34:01 +02:00
Olli Pettay
f7a4eebef1 Bug 473899, ASSERTION: must have binding parent when in native anonymous subtree, r+sr=sicking 2009-01-21 11:15:57 +02:00
Brian Birtles
d7187ea66e Bug 216462: Add support for basic SVG animation (SMIL). Disabled in builds by default. r+sr=roc 2009-01-14 20:38:07 -08:00
Phil Ringnalda
1bb83ae957 Builds are neccesary, even if you can spell necessary, and even in a CLOSED TREE 2009-01-11 00:46:35 -08:00
Masayuki Nakano
4a559a2472 Bug 272847 Text input via IME does not work in windowless Flash movie r=ere+josh, sr=roc 2008-12-15 12:54:54 +09:00
Peter Van der Beken
5d4ee43005 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-13 17:54:52 +01:00
Boris Zbarsky
373e9cbd87 Bug 454317. Improve GetClasses to not do virtual calls when not needed. r=smaug, sr=jst 2008-09-10 23:22:20 -04:00
L. David Baron
d89cbf0d17 Change the binding parent for native anonymous content to work like the binding parent for XBL anonymous content, and be the parent of the anonymous content subtree rather than the root of the anonymous content subtree. (Bug 436453) r=bzbarsky,smaug,surkov sr=bzbarsky 2008-07-22 21:50:20 -07:00
7a42621c4d Bug 423355: Never fire mutation events on native-anon content. Also includes fix for nsIContent::IsInNativeAnonymousSubtree. Patch by Smaug. r/sr=sicking a=beltzner 2008-04-11 15:44:48 -07:00
8d46b01844 Bug 426987. Split SaveState from nsIDocument::Destroy so that we don't do Destroy() while we're still displaying the document. r+sr=sicking,a=beltzner 2008-04-10 15:47:01 -07:00
5518a80eef Add knowledge of edge names to cycle collector, ifdef DEBUG_CC. b=420514 r+sr=peterv a=damons 2008-03-17 16:11:08 -07:00
5d2e3e420d Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking 2008-02-26 04:40:18 -08:00
146e48c072 Bug 416551 Cannot use IME on rich formatting editor of gmail (design mode) r+sr=roc, b1.9=dsicore 2008-02-13 04:51:00 -08:00
1ff5bdedbf Bug 415026 IME is always enabled in a page has contentEditable=true r+sr=roc, a1.9=mtschrep 2008-02-08 09:58:09 -08:00
c383d1b11d Make XUL elements really native anonymous b=410119 r=smaug sr+a=sicking 2008-01-04 03:24:41 -08:00
7c4c5dce06 Bug 348156: Fix leaks by relying on cycle collector rather than calling UnbindFromTree on all nodes. r/sr=jst 2007-11-30 09:57:03 -08:00