Commit Graph

825 Commits

Author SHA1 Message Date
Timothy Nikkel
86f8ff1ebc Bug 563407. Cast to unsigned int to fix warning. r=sicking 2010-05-11 19:30:42 -05:00
Timothy Nikkel
ce1608e8c4 back out e40cbab6a972 (Bug 564705) 590da60fd253 (Bug 507628 and bug 507991) b166415b8c3f (Bug 564368) 0dac5d3eeb97 (Bug 564063) 116e56d84770 (Bug 563407) c51c93f5240f (Bug 536495) for some orange 2010-05-11 22:01:08 -05:00
Timothy Nikkel
404ba49955 Bug 563407. Cast to unsigned int to fix warning. r=sicking 2010-05-11 19:30:42 -05:00
Peter Van der Beken
8795426f7e Fix for bug 564114 (Crash [@ nsINode::CompareDocumentPosition] passing null). r=bz. 2010-05-06 21:26:35 +02:00
Boris Zbarsky
ed0977bfc5 Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Boris Zbarsky
a5b78aadce Bug 564432 part 2. Give nsINode a first-child pointer r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
L. David Baron
1bf0778b3d Backout temporary debugging code for bug 563980 (changesets 76e0ed39f6ad and 4498b6800a49). 2010-05-05 18:20:43 -07:00
L. David Baron
eed5400921 Add debugging code for random assertion bug 563980. 2010-05-05 12:39:47 -07:00
Boris Zbarsky
250f09f3e8 Bug 560503. Don't check for mutation observer uniqueness; callers should handle that. r=sicking 2010-05-05 14:18:03 -04:00
Peter Van der Beken
3067b4f6e7 Part 11 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - move nsIDOMNSElement implementation to nsGenericElement. r=jst. 2010-04-19 17:41:37 +02:00
Peter Van der Beken
4af50885a6 Part 10 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - use nsNodeSelectorTearoff for nsDocument. r=jst. 2010-04-19 17:41:37 +02:00
Peter Van der Beken
081e8f0b26 Part 9 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - use nsNode3Tearoff for all nodes. r=jst. 2010-04-19 17:41:37 +02:00
Peter Van der Beken
c64b828a54 Part 8 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::Get/SetTextContent. r=jst. 2010-04-19 17:41:33 +02:00
Peter Van der Beken
04f230111e Part 7 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::IsEqualNode/CompareDocumentPosition/IsSameNode. r=jst. 2010-04-19 17:40:17 +02:00
Peter Van der Beken
c61af4d0a4 Part 6 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetFeature. r=jst. 2010-04-19 17:40:16 +02:00
Peter Van der Beken
b764e65aff Part 5 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsIDOM3Node namespace-related methods to nsINode. r=jst. 2010-04-19 17:40:16 +02:00
Peter Van der Beken
fbe91bdee1 Part 3 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::Get/SetUserData. r=jst. 2010-04-19 17:40:15 +02:00
Peter Van der Beken
1742ce8a3a Part 2 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - move some code around. r=jst. 2010-04-19 17:40:15 +02:00
Peter Van der Beken
ff7255aaa2 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking. 2010-04-19 17:40:15 +02:00
Masayuki Nakano
18b4a77d23 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
Timothy Nikkel
6896a654b1 Bug 561010. nsIContent::List should output the flags and primary frame of the node. r=sicking 2010-05-01 13:42:47 -05:00
Boris Zbarsky
4a26670e86 Bug 562688 part 15. Remove the eELEMENT bit. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
00f723f123 Bug 562688 part 6. Eliminate eELEMENT users in content/base. r=jst 2010-04-30 09:12:05 -04:00
Boris Zbarsky
b799eebaa2 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Boris Zbarsky
b95eeef3dd Bug 562688 part 2. Create a mozilla::dom::Element class sitting between nsGenericElement and nsIContent. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Boris Zbarsky
8536fc0089 Bug 562688 part 1. Add a new non-virtual IsElement API on nsINode. r=jst, sr=sicking 2010-04-30 09:12:04 -04:00
Olli Pettay
bf986bcd4a Bug 562652 - MutationEvents don't get fired when documentFragment is added to a data document, r=sicking 2010-04-30 14:01:25 +03:00
Peter Van der Beken
49cff9a493 Fix for bug 558973 ("ASSERTION: Nodes that are not documents, document fragments or elements can't be parents!"). r=jst. 2010-04-15 10:28:57 +02:00
Robert O'Callahan
2f64e8f399 Bug 534566. Use separate nsPropertyTables for different categories so we don't pollute the property name list with unrelated names. r=sicking 2010-04-23 14:41:38 +12:00
Timothy Nikkel
b1d23a2b58 Bug 502937. Part 3. Implement lazy frame construction. r=bzbarsky sr=roc 2010-01-18 03:26:40 -06:00
Timothy Nikkel
58288238ff 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
4f7394e74d Bug 547996 - Be able to tell when a click was generated by a tap on the screen, r=smaug,jimm, sr=jst 2010-04-06 15:59:24 +03:00
Olli Pettay
81b2b11381 Bug 536092 - Micro optimizations for event handling, r=jst 2010-03-31 15:44:18 +03:00
1cac3d86ca Bug 553896 - Node.isEqualNode(null) shouldn't throw. r=smaug 2010-03-22 17:06:57 +01:00
Peter Van der Beken
0ae62d1769 Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst. 2010-03-17 16:09:05 +01:00
Peter Van der Beken
3dd78141a5 Fix for bug 540848 (Add appendChild/insertBefore/replaceChild/removeChild on nsINode). r=bz. 2010-03-17 16:06:19 +01:00
Peter Van der Beken
b6eb7c7f60 Fix for bug 548463 (Disallow adopting node into a different document from adoptNode). r=sicking. 2010-03-17 15:40:35 +01:00
Daniel Holbert
0055964be5 Bug 537139 followup: Call RestyleForAnimation() instead of SMILOverrideStyleChanged(), to avoid triggering CSS Transitions from SMIL changes. r=dbaron 2010-03-11 22:03:49 -08:00
Boris Zbarsky
8acf57964c Bug 550842 followup. Make this actually compile. 2010-03-08 19:47:37 -05:00
Martin Husemann
114084df0f Bug 550842. Ensure at least pointer compatible alignment of memory area for RuleProcessorData::operator new. r=bzbarsky 2010-03-08 19:30:01 -05:00
Jonas Sicking
6b5d698011 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00
Zack Weinberg
7351c020a1 Bug 523496: DeCOMtaminate nsCSSParser. r=bzbarsky sr=dbaron 2010-03-02 12:59:32 -08: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
Boris Zbarsky
639ac4e9e8 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
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
Peter Van der Beken
ae32e8032b Fix for bug 539239 (Pass correct document to ReparentContentWrapper). r=jst. 2010-01-16 15:27:51 +01:00
Timothy Nikkel
3b7f5cb426 Bug 517737. Don't allow starting a drag if something is capturing the mouse. r=smaug(part of),enndeakin 2010-02-02 20:07:08 -06:00