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

282 Коммитов

Автор SHA1 Сообщение Дата
Peter Van der Beken 280106f742 Part 9 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - use nsNode3Tearoff for all nodes. r=jst.
--HG--
extra : rebase_source : 4f073ae38036328091d2d4cf1e0ffbac2a06e98b
2010-04-19 17:41:37 +02:00
Peter Van der Beken 804eb196c3 Part 7 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::IsEqualNode/CompareDocumentPosition/IsSameNode. r=jst.
--HG--
extra : rebase_source : d4722a28e8c913dcb6f9a1e7bf13261a12b60525
2010-04-19 17:40:17 +02:00
Peter Van der Beken 5e36a08f62 Part 5 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsIDOM3Node namespace-related methods to nsINode. r=jst.
--HG--
extra : rebase_source : 9f4680ed3d8dec7001503c57f9d4bede74392b2f
2010-04-19 17:40:16 +02:00
Peter Van der Beken ac35089169 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Masayuki Nakano ebc9405576 Bug 488420 IME enabled state is not modified when a focused editor's readonly attribute is changed r=smaug 2010-05-05 02:40:39 +09:00
Neil Deakin b627649b3d Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Timothy Nikkel b931cd3a61 Bug 502937. Part 2.5. Provide an API to get the flattened tree parent of an nsIContent. r=bzbarsky 2010-04-16 13:15:28 -05:00
Craig Topper 8b8747d605 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Daniel Holbert 19d8e0e6b7 Bug 534028, Patch A: Make nsIContent::GetAnimatedAttr()'s nsIAtom argument non-const. r=roc 2010-03-16 16:17:32 -07: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
Alexander Surkov f64a603fd3 Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz 2010-02-20 16:52:50 -08:00
Shawn Wilsher fca0e19523 Backed out changeset 018b79b00cac 2010-02-18 09:50:05 -08:00
Shawn Wilsher 3966021b43 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 03b1de4b95 Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc 2010-02-12 01:34:01 +08:00
Boris Zbarsky de6e7f37e7 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 bcbacfe511 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 c85e350f7c 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 e558f982e4 Bug 500882 part 8. Remove the SetMayHaveFrame/MayHaveFrame vestiges. r=smaug 2009-12-24 16:20:06 -05:00
Boris Zbarsky b0ba4290ce 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 78cf162db9 Bug 500882 part 1. Give nsIContent an nsIFrame member. r=smaug, sr=roc 2009-12-24 16:20:05 -05:00
Jonas Sicking db58890767 Bug 516906: Remove XLink support from nsXMLElement. r/sr=jst 2009-10-24 21:33:47 -07:00
David Zbarsky 3d96b7b4a7 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Justin Lebar 02b490af86 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 b90dbab331 backing out 00377b2a7c75 (bug 209275) due to mochitest timeouts 2009-09-24 15:05:54 -07:00
Justin Lebar 8d63e17160 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 1b7ae528d3 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 d02ac4482c Bug 487023. Refactor IsCaseSensitive() into non-virtual inline IsHTML(). r=hsivonen, sr=jst 2009-08-25 13:15:55 -04:00
Boris Zbarsky 8f435d226b Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky 0aa6350041 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Daniel Holbert 910c6fb683 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 ffbf9a7ae8 Fix for bug 499781 (Move some methods from nsILink to nsIContent). r=bz, sr=dbaron.
--HG--
extra : rebase_source : da0ec8bfb6825d2e55edd2f5b08a9e43b033a2a3
2009-07-13 13:48:06 +02:00
Neil Deakin 15df29db77 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 82e13c145b 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 4ade0eee29 Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv
--HG--
extra : rebase_source : 7bce078904782a5a907eebbbff7b74a905cfa8c1
2009-05-07 16:59:51 +03:00
Olli Pettay 1af385d3f5 backout bug484775 2009-05-07 10:19:06 +03:00
Olli Pettay 115a0d7046 Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv
--HG--
extra : rebase_source : 9c6f8f9d3cd1283adb7b69b93440f7da01924326
2009-05-07 09:31:04 +03:00
Blake Kaplan 737c9a5565 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 d10c4f864e Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Boris Zbarsky e7ae39c62f Bug 476245. Keep better track of our anonymous content. r=smaug, sr=jst 2009-02-24 13:39:09 -05:00
L. David Baron 0b5ff3a7ec 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 ee445ae3d1 Bug 476245. Keep better track of our anonymous content. r=smaug, sr=dbaron 2009-02-24 13:39:09 -05:00
Olli Pettay ffb38ea35e Bug 476097, ASSERTION: killing mutation events with <input type=file>, r+sr=bz 2009-01-31 14:34:01 +02:00
Olli Pettay a8f0e235eb 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 0a47d48dae 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 ec35b575cb 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 b3df92d76b 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 387b6cf76b Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-13 17:54:52 +01:00
Boris Zbarsky 215e95380a 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 1347910ac9 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
jonas@sicking.cc b3d7a96435 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
roc+@cs.cmu.edu 8ce149d016 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
dbaron@dbaron.org b1f404f0bb 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
Olli.Pettay@helsinki.fi 652c1e007c Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking 2008-02-26 04:40:18 -08:00
masayuki@d-toybox.com fd7bd8c8f2 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
masayuki@d-toybox.com a785ec1761 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
neil@parkwaycc.co.uk b22e83627e Make XUL elements really native anonymous b=410119 r=smaug sr+a=sicking 2008-01-04 03:24:41 -08:00
jonas@sicking.cc 72c3e3035b 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
jonas@sicking.cc 929e6f34af Backing out due to mochitest failure 2007-11-29 01:34:51 -08:00
jonas@sicking.cc 33299d3be4 Bug 348156: Fix leaks by relying on cycle collector rather than calling UnbindFromTree on all nodes. r/sr=jst 2007-11-29 00:41:25 -08:00
bugzilla@standard8.plus.com 9d3c3788b2 Bug 397783 Remove lots of redundant nsISupportsArray include/forward definitions from content. r/sr=jst,a=dbaron 2007-10-09 11:41:54 -07:00
jonas@sicking.cc d5f33192a5 Backing out bug 348156 since it caused Tp perf regressions 2007-10-02 14:12:30 -07:00
jonas@sicking.cc 556991d5f5 Bug 348156: Fix leaks by relying on cycle collector rather than calling UnbindFromTree on all nodes. r/sr=jst 2007-10-02 11:20:02 -07:00
Olli.Pettay@helsinki.fi bd0b7ea6d7 Backing out bug 275196, xml:id, to fix tp regression 2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi e8dba5a1b4 Bug 275196, xml:id, r=sicking, sr=dbaron 2007-07-26 05:22:01 -07:00
peterv@propagandism.org 6662efd338 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org 90c374d7c3 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org 7bf2741259 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
peterv@propagandism.org 01725954b0 Fix for bug 324871 (UserData can cause reference cycles). r/sr=sicking. 2007-05-12 08:36:28 -07:00
masayuki@d-toybox.com ad3d268bbe Bug 358899 [Cocoa] Improve nsIKBStateControl implementation r=josh+ere+masaki.katakai+roc, sr=roc 2007-04-15 06:43:55 -07:00
peterv%propagandism.org a267e57680 Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron. 2007-03-09 13:14:06 +00:00
Olli.Pettay%helsinki.fi aec6ee9631 Bug 339287, support accesskey attribute, p=surkov, r=me+mats, sr=jst 2007-02-13 15:02:57 +00:00
Olli.Pettay%helsinki.fi d56070112f Bug 369753, remove nsIXMLContent, r+sr=bz 2007-02-09 00:15:14 +00:00
graydon%mozilla.com 4525ab79d9 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
jwatt%jwatt.org bbb6339dc9 Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc 2007-01-04 10:53:59 +00:00
vladimir%pobox.com 82a10357c9 backing out bug 333078, xpcom cycle collector due to perf issues 2006-11-22 23:18:16 +00:00
vladimir%pobox.com 3748c8bf4f b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many 2006-11-22 19:23:02 +00:00
cvshook%sicking.cc 17ded5692c Bug 343730: Don't execute scripts synchronously from BindToTree. Instead we wait until the last EndUpdate has been called. r/sr=bz 2006-11-04 05:45:02 +00:00
cvshook%sicking.cc ab9eb703d2 Bug 330872: Make nsGenericDOMDataNode::AppendData send out proper notifications and add nsIContent::AppendText to allow appending text without sending out notifications. r/sr=bz 2006-10-28 01:22:53 +00:00
aaronr%us.ibm.com 9b155b9f09 change nsIContent so that it can be used by extensions. Bug 350747, r+sr=bz 2006-09-12 21:19:43 +00:00
peterv%propagandism.org 64ec124ee5 Fix for bug 347524 (Refactor adoptNode, importNode and cloneNode to share implementation). r/sr=bz. 2006-09-05 10:22:54 +00:00
aaronr%us.ibm.com 3015dd23c4 backing out patch, fixing nsINode bustage 2006-08-31 19:59:43 +00:00
aaronr%us.ibm.com 0fbe96df3f change nsIContent so it can be used by extensions. Bug 350747, r+sr=bzbarsky 2006-08-31 17:41:49 +00:00
Olli.Pettay%helsinki.fi b227593695 Bug 223393, DOMAttrModified mutation events fired on HTMLHtmlElement while page loads (anonymous content), r+sr=sicking 2006-08-03 08:57:02 +00:00
cvshook%sicking.cc 3a9a287253 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
cvshook%sicking.cc 7f422ba105 Bug 343288: Move IsInDoc() and GetCurrentDoc() to nsINode. r/sr=jst 2006-07-09 07:37:41 +00:00
mhammond%skippinet.com.au 0f241835df Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan. 2006-06-13 03:07:47 +00:00
peterv%propagandism.org 54c2159acf Fix for bug 339239 (Remove UserData functions from nsIDocument). r/sr=sicking. 2006-06-02 13:28:14 +00:00
jag%tty.nl d6ac48d2b7 Ok, undo other attempt, apparently all it took was to move this after the function it references. 2006-05-15 13:58:23 +00:00
jag%tty.nl 5c9c507378 Bustage fix attempt number ... well, I lost track. 2006-05-15 12:47:53 +00:00
jag%tty.nl b3f99b11ee Attempt to fix 2.95.2 bustage by inlining GetCurrentDoc()'s body 2006-05-15 11:23:20 +00:00
jag%tty.nl da58b4d480 Only have the nsIContent_base constructor when MOZILLA_INTERNAL_API is defined. The base class constructor it calls won't exist otherwise. Caught by mrbkap. 2006-05-15 10:15:05 +00:00
cvshook%sicking.cc 1587bf0aa1 Grr.. this is it 2006-05-15 08:37:40 +00:00
cvshook%sicking.cc c42a657902 Correct fix for gcc 2.95.2 2006-05-15 08:36:42 +00:00
cvshook%sicking.cc fc66e42de2 More bustage fix for gcc 2.95.2 2006-05-15 08:07:35 +00:00
cvshook%sicking.cc 073093c129 Bug 334075: Push mFlagsOrSlots to nsINode to allow storing flags and (in the future) slots on nsGenericDOMDataNodes. r=mrbkap sr=bz 2006-05-15 07:03:15 +00:00
cvshook%sicking.cc d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
cvshook%sicking.cc ba2eb2ca0f Bug 333942. Move GetParent to nsINode and add GetNodeParent there too. There is a risk that this'll add some binary size, but hopefully not too much. r/sr=bz 2006-04-15 05:09:16 +00:00
timeless%mozdev.org 56b76950e7 Bug 332155 nsIContent docs aren't current
r=bz sr=bz
2006-04-05 06:04:29 +00:00
bryner%brianryner.com 7a96206e10 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst. 2006-03-22 18:36:36 +00:00
Olli.Pettay%helsinki.fi f79ea0115b Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00