Ginn Chen
709634168d
Bug 569319 typedef caused mangled name mismatch for AddIDTargetObserver r=bz
2010-06-23 17:31:35 +08:00
Johnny Stenback
63e3022e0d
Fixing bug 572614. Eliminate double hash lookups in document.getElementById(). r=jonas@sicking.cc
2010-06-21 19:59:37 -07:00
Johnny Stenback
6268e31519
Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc
2010-06-21 19:58:50 -07:00
Jonas Sicking
0a93bbb190
Bug 564863: Speed up id/name handling by letting elements register/unregister themselves. r=smaug
2010-06-03 18:09:20 -07:00
Peter Van der Beken
9d8cde356a
Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3a. r=jst.
2010-04-19 17:41:39 +02:00
Olli Pettay
7a25f9c457
Bug 565633 - Inline nsIDocument::GetScriptHandlingObject, r=sicking
2010-05-26 17:36:47 +03:00
Peter Van der Beken
a3f0b9002e
Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add non-addrefing GetElementById and GetBody, add nsContentList-returning GetElementsByTagName(NS) and GetElementsByName. r=jst.
2010-04-19 17:41:38 +02:00
Timothy Nikkel
c8a479d28b
Bug 559996. Lazy frame construction can sometimes cause a subdocument to not scroll to ref in url. r=jst
2010-05-11 19:30:40 -05:00
Boris Zbarsky
626e1bb052
Bug 565820. Use Element as the return value for ReferencedElement. r=roc
2010-05-14 13:04:51 -04:00
Timothy Nikkel
b5603935b7
Backed out changeset a6138098775f (bug 559996) for causing orange.
2010-05-11 21:24:02 -05:00
Timothy Nikkel
c3b2bfbc56
Bug 559996. Lazy frame construction can sometimes cause a subdocument to not scroll to ref in url. r=jst
2010-05-11 19:30:40 -05:00
Craig Topper
cb8187eff9
Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Peter Van der Beken
7f4e72d2de
Back out fixes for bug 560462 to fix orange.
...
--HG--
extra : rebase_source : afe96ede6fc605c656b746f6388d6144886b18ed
2010-05-11 19:20:03 +02:00
Peter Van der Beken
f9b24fc187
Fix for bug 560462 (Use fast unwrapping for more quickstubs) - use fast unwrapping for nsIDOMNode_GetNodeType, nsIDOMNodeList_GetLength, nsIDOMElement, nsIDOMNSElement_, nsIDOMNSHTMLElement, nsIDOMDocument, nsIDOMNSDocument, nsIDOM3Document, nsIDOMHTMLDocument and nsIDOMNSHTMLDocument_. r=jst.
2010-04-19 17:41:39 +02:00
Peter Van der Beken
75ccb33e1a
Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add non-addrefing GetElementById and GetBody, add nsContentList-returning GetElementsByTagName(NS) and GetElementsByName. r=jst.
2010-04-19 17:41:38 +02:00
Peter Van der Beken
922c155511
Part 11 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - move nsIDOMNSElement implementation to nsGenericElement. r=jst.
...
--HG--
extra : rebase_source : 6b39d2cbb5b6462b0d1e65ee0f204fb1804a468e
2010-04-19 17:41:37 +02:00
Peter Van der Beken
ae0b1a86f6
Part 10 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - use nsNodeSelectorTearoff for nsDocument. r=jst.
...
--HG--
extra : rebase_source : 46ef0b39acee4c05de40a575826f11281101f5d0
2010-04-19 17:41:37 +02:00
Peter Van der Beken
d062d2ec2d
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
b480e94b8d
Part 8 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::Get/SetTextContent. r=jst.
...
--HG--
extra : rebase_source : b4d9121b6a883d8c5f3ed526b630f2facc94a21e
2010-04-19 17:41:33 +02:00
Peter Van der Beken
60b38d0d40
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
Boris Zbarsky
c1ce657552
Bug 562688 part 5. Change the document id and named item table APIs to use Element. r=jst
2010-04-30 09:12:05 -04:00
Boris Zbarsky
04027a9479
Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking
2010-04-30 09:12:05 -04:00
Olli Pettay
8ef39a6b0c
Bug 560902 - Optimize nsFocusManager::ContentRemoved, r=enndeakin+sicking
...
--HG--
extra : rebase_source : 69c72c67341dd27dbd5a526c59c5ee52d2b6a813
2010-04-27 12:58:58 +03:00
Olli Pettay
e874cd6c58
Bug 535926, async onload blocker, r=bz, sr=sicking
...
--HG--
extra : rebase_source : 9ca210a9b1d88d6791ff33e756fd64d6571f7462
2010-04-27 12:48:52 +03:00
Ben Newman
2b2bd4076f
Eliminate duplicate code by combining nsNonOwningRunnableMethod with nsRunnableMethod (part 1/3 of bug 558498). r=dwitte sr=dbaron
2010-04-20 10:22:04 -07:00
Jonas Sicking
930783a5d2
Bug 515401: Make implementation of <base> HTML5 compliant, and clean it up. r=benjamn a=dholbert
2010-04-23 09:10:07 -07:00
Timothy Nikkel
c00189dcc3
Bug 502937. Part 0. Make sure onload blocker is in place with document.open(). r=bzbarsky
2010-01-18 03:07:08 -06:00
Olli Pettay
f49a1036af
Bug 558148 - Optimize nsContentUtils::HasMutationListeners, r=sicking
...
--HG--
extra : rebase_source : f5e8a726afadcc0af75f32407849638badfb65b9
2010-04-16 12:05:25 +03:00
Timothy Nikkel
d0c1cab2a9
Bug 553366. When flushing, make sure to flush external documents too. r=bzbarsky
2010-04-10 13:03:40 -05:00
Timothy Nikkel
2dddd62f0b
Backout 761790684f3b (Bug 553366) for suspicion of causing tsvg_opacity regression.
2010-04-10 21:52:53 -05:00
Timothy Nikkel
4b586a06c3
Bug 553366. When flushing, make sure to flush external documents too. r=bzbarsky
2010-04-10 13:03:40 -05:00
Felipe Gomes
3a5e3b045a
Bug 489127 - nodesFromRect required for better usability on mobile devices (part 4) [r=roc]
2010-04-07 20:31:26 -04:00
Masatoshi Kimura
87b17f9962
Bug 463104: elementFromPoint should accept floating point coordinates. r=bz
2010-04-03 07:34:24 -04:00
Markus Stange
5fb3e948bb
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
Markus Stange
4a997d3554
Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures.
2010-03-17 20:03:53 +01:00
Markus Stange
f1f3037861
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
Jonas Sicking
aeb9ba77c3
Bug 543870: Implement File.url. r=bz sr=jst
2010-03-02 23:51:09 -08:00
Daniel Holbert
627f47b186
Bug 540090: Add method nsIDocument::HasAnimationController, to let us check for active SMIL animation without triggering lazy construction. r=roc
2010-03-02 23:09:51 -08:00
Zack Weinberg
2c3e543d1d
Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Zack Weinberg
1e69ee7cc3
Bug 544112 part 1: Make speculative and chrome style sheet loads go through the document object. Rearrange some C++ unit tests so they'll still link after part 2. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/html/tests/ParseCSS.cpp => layout/style/test/ParseCSS.cpp
rename : layout/html/tests/TestCSSPropertyLookup.cpp => layout/style/test/TestCSSPropertyLookup.cpp
2010-03-02 13:00:39 -08:00
Shawn Wilsher
149f5aac0a
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
Shawn Wilsher
aab3b02a8b
Bug 461199 (Part 23) - Remove no longer needed code in ns[I]Document.[cpp|h]
...
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
53f2649e5e
Backed out changeset b387c724bda4
2010-02-18 09:56:04 -08:00
Shawn Wilsher
6351eca949
Bug 461199 (Part 23) - Remove no longer needed code in ns[I]Document.[cpp|h]
...
r=bz
2010-02-17 14:04:32 -08:00
Sid Stamm
f2278605c1
Bug 515437 CSP connection code, r=jst,dveditz sr=jst
2010-01-22 13:38:21 -08:00
Blake Kaplan
60b5013a95
Bug 539362 - Get rid of hidden function warnings. r=bzbarsky
2010-01-18 16:54:29 -08:00
Daniel Veditz
0e538279e0
Backed out changeset a6ce37b09cf5 because of possible Tp4 perf hit
2010-01-14 17:19:11 -08:00
Sid Stamm ext:(%2C%20Brandon%20Sterne%20%3Cbsterne%40mozilla.com%3E)
56ceec2c4c
bug 515433, bug 515437: Content Security Policy (CSP) core
2010-01-13 14:18:24 -08:00
Robert O'Callahan
84dc5b58d0
Bug 526394. Part 7: Hoist GetHtmlContent/GetBodyContent to nsIDocument. r=jst
2010-01-12 10:45:03 +13:00
Olli Pettay
63fd91b1fa
Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc
2010-01-07 12:36:11 +02:00