Commit Graph

60 Commits

Author SHA1 Message Date
Henri Sivonen
54e806273c Bug 484988 - Make HTML5 parser-performed removals notify but not fire mutation events 2009-05-28 20:42:26 +03:00
Boris Zbarsky
307ccebf4c Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc
--HG--
rename : layout/reftests/table-anonymous-boxes/white-space-1.html => layout/reftests/table-anonymous-boxes/white-space-7.html
2009-04-08 12:56:16 -04:00
Boris Zbarsky
25164496ef Backed out changeset 0ea22856b5d9 (bug 484448). 2009-04-08 15:56:43 -04:00
Boris Zbarsky
f70fe28e08 Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc
--HG--
rename : layout/reftests/table-anonymous-boxes/white-space-1.html => layout/reftests/table-anonymous-boxes/white-space-7.html
rename : layout/reftests/table-anonymous-boxes/white-space-1-ref.html => layout/reftests/table-anonymous-boxes/white-space-ref.html
2009-04-08 12:56:16 -04:00
Olli Pettay
486b27fd0a Bug 480956 - HTMLDocument and some other dom objects traverse member variables even if the document is in 'nsCCUncollectableMarker::InGeneration' r+sr=peterv 2009-03-03 14:14:13 +02:00
Boris Zbarsky
a1f888815b Bug 476245. Keep better track of our anonymous content. r=smaug, sr=jst 2009-02-24 13:39:09 -05:00
L. David Baron
1e283adeaa 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
58d51f648c Bug 476245. Keep better track of our anonymous content. r=smaug, sr=dbaron 2009-02-24 13:39:09 -05:00
Peter Van der Beken
78fa6325a2 Fix for bug 466224 (Make quickstubs call nsINode/nsINodeList methods). r/sr=jst. 2009-01-02 18:00:18 +01:00
Boris Zbarsky
882c93dc0b Bug 454821. Better signature for GetChildArray. r+sr=sicking 2008-12-03 09:02:03 -05:00
Olli Pettay
058e5bdf6d Bug 465934 - ASSERTION: Trying to re-bind content from native anonymous subtree to non-native anonymous parent, r+sr=sicking 2008-12-03 12:18:57 +02:00
Peter Van der Beken
c39cb1e482 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-13 17:54:52 +01:00
Alex Vincent
d2b20b8ddc Bug 283861 - Want Text3.isElementContentWhitespace; r+sr=jonas 2008-10-16 03:23:17 +02:00
Boris Zbarsky
284e2ff6c9 Bug 454317. Improve GetClasses to not do virtual calls when not needed. r=smaug, sr=jst 2008-09-10 23:22:20 -04:00
Jesse Ruderman
4ea6222375 Fix wrap-o in assertion message. Debug only. 2008-09-04 21:37:48 -07:00
Olli Pettay
3f266bf7cf Bug 332148, extractContents clones nodes when it should just cut them, r+sr=sicking, original patch by ajvincent@gmail.com 2008-07-25 13:37:37 +03:00
L. David Baron
2c2f6ed495 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
Olli Pettay
340ccadf64 Bug 444030, Crash [@ nsGenericDOMDataNode::FirstLogicallyAdjacentTextNode], r+sr=jst 2008-07-13 22:28:22 +03:00
Boris Zbarsky
5c5b4e41fc Add a faster method for iterating the nsIContent children of an
nsINode if we know that there will be no DOM mutations of any sort
during the iteration.  Bug 429744, r+sr=jst
2008-07-11 16:42:19 -04:00
Dietrich Ayala
6ebe64c24b imported patch bug-444030-backout 2008-07-10 15:14:04 -07:00
Olli Pettay
67170fb8db Bug 444030, Crash [@ nsGenericDOMDataNode::FirstLogicallyAdjacentTextNode] r+sr=jst 2008-07-10 21:21:31 +03:00
Simon Montagu
dfcf9f51e9 Remove unnecessary argument from SetBidiEnabled. Bug 435856, r+sr=roc 2008-06-16 02:28:17 -07:00
Jeff Walden
68d86d0b8c Bug 421765 - Implement DOM 3 replaceWholeText and wholeText. acid3++ r=smaug, sr=jst 2008-06-04 13:53:34 -04:00
jonas@sicking.cc
ea7b3dfeb2 Bug 423269: Don't add scriptblockers around StartUpdate/EndUpdate batches as script is likely to execute at the last EndUpdate. Also for now, restore full functionality to scripts running while there are scriptblockers. r/sr=bz a=beltzner 2008-04-18 10:20:11 -07:00
jonas@sicking.cc
e639cf9471 Bug 423355: Make sure that we never remove removable blockers more than once. Also make sure to never fire mutation events when it's not safe to run script. r/sr=bz/roc a=beltzner 2008-04-14 16:59:21 -07:00
jonas@sicking.cc
c052f989a1 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
bent.mozilla@gmail.com
7e4ac1fa4a Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner. 2008-04-11 10:29:06 -07:00
roc+@cs.cmu.edu
f5291de857 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
jonas@sicking.cc
b8a008856b Backing out due to test failures 2008-04-08 20:20:39 -07:00
jonas@sicking.cc
5e5ddf5b3f Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking 2008-04-08 19:06:27 -07:00
gavin@gavinsharp.com
aaac62d073 Back out patch for bug 423355 due to unit test failures 2008-04-04 18:11:50 -07:00
jonas@sicking.cc
7b0e38bbed Bug 423355: Fix bug in blocker unnesting code. Also make sure to never fire mutation events when it's not safe to run script, even if the event isn't catchable by content. r/sr=bz 2008-04-04 17:06:36 -07:00
peterv@propagandism.org
14a390a55a Fix for bug 415192 (Crash (within nsCycleCollector::Shutdown and nsXBLBinding::RemoveInsertionParent) with <xul:wizard>, cloneNode). r/sr=sicking. 2008-03-28 07:09:00 -07:00
jonas@sicking.cc
da4cab3b75 Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst 2008-03-14 16:08:57 -07:00
dwitte@stanford.edu
d9595c6e9e Bug 414894 - Remove content arena. r=smaug, sr=sicking, a=schrep 2008-02-02 15:41:24 -08:00
Olli.Pettay@helsinki.fi
489154b8b5 Bug 403830, arena for content, r=sicking, sr=jst 2007-12-15 01:45:33 -08:00
jst@mozilla.org
b23a26124d Fixing bug 407812. Don't waste time calling QI in nsNodeSH::PreCreate() and nsElementSH::PostCreate(). r+sr=jonas@sicking.cc 2007-12-10 17:19:18 -08:00
jonas@sicking.cc
712951ab6c 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
2dce87330b Backing out due to mochitest failure 2007-11-29 01:34:51 -08:00
jonas@sicking.cc
a6bf2b9522 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
jonas@sicking.cc
bbf61f58f0 Backing out bug 348156 since it caused Tp perf regressions 2007-10-02 14:12:30 -07:00
jonas@sicking.cc
f0a388873a 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
jst@mozilla.org
9f7c1a9794 Landing fix for bug 394418. Notify on text changes before firing mutation events. Patch by bzbarsky@mit.edu, r+sr=jonas@sicking.cc, a=jst@mozilla.org/dsicore@mozilla.com 2007-09-10 16:46:22 -07:00
surkov.alexander@gmail.com
d91459d49c 390414 - text-changed:delete event details no longer correct effective, r=aaronlev, sr=bz, a=dsicore 2007-09-05 01:22:17 -07:00
Olli.Pettay@helsinki.fi
81c89897e3 Backing out bug 275196, xml:id, to fix tp regression 2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi
ad51500682 Bug 275196, xml:id, r=sicking, sr=dbaron 2007-07-26 05:22:01 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
Olli.Pettay@helsinki.fi
2feaae333d Bug 386802, Mutation events always fired during setting of innerHTML, r+sr=bz 2007-07-04 13:39:10 -07:00
peterv@propagandism.org
76a2c4d37f Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org
0f0097ffc5 Backing out to fix orange. 2007-06-27 16:21:05 -07:00