Masatoshi Kimura
87b17f9962
Bug 463104: elementFromPoint should accept floating point coordinates. r=bz
2010-04-03 07:34:24 -04:00
Craig Topper
c3fc5fa456
Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
...
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Ms2ger@gmail.com
d6bc4e12a7
Bug 553896 - Node.isEqualNode(null) shouldn't throw. r=smaug
2010-03-22 17:06:57 +01: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
Craig Topper
a956b85435
Bug 253889: DeCOMtaminate nsIPresShell r=roc
2010-03-20 17:54:19 -04:00
Peter Van der Beken
e5d87ec5bb
Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
...
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Peter Van der Beken
3e3654ffca
Fix for bug 540848 (Add appendChild/insertBefore/replaceChild/removeChild on nsINode). r=bz.
...
--HG--
extra : rebase_source : 4550ff196ab5fd1acbc72e7c94b7a31d073ae5dd
2010-03-17 16:06:19 +01:00
Peter Van der Beken
6469f57d89
Fix for bug 548463 (Disallow adopting node into a different document from adoptNode). r=sicking.
...
--HG--
extra : rebase_source : 5c00c3b6c65491997984d216f5c61052ccc0a77b
2010-03-17 15:40:35 +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
Daniel Holbert
a5c6c0b995
Bug 551396: Remove unused helper-function GetURIHash from nsDocument.cpp. r=smaug
2010-03-10 12:33:37 -08:00
Jonas Sicking
c4106f7f22
Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap
2010-03-08 07:45:00 -08:00
Jonas Sicking
aeb9ba77c3
Bug 543870: Implement File.url. r=bz sr=jst
2010-03-02 23:51:09 -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
Ms2ger
0d8a8bc9bb
imported patch 499092-prefix-v2
2010-02-25 10:49:34 -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
Jae-Seong Lee-Russo
30218c70c3
Bug 530373. Use NS_MIN/NS_MAX instead of PR_MIN/PR_MAX in DOM code. r=bzbarsky
2010-02-22 14:41:19 -05: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
Robert O'Callahan
cf6a1f8a9d
Bug 523083. Don't bother caching the last nsContentList, it just creates leaks and probably doesn't help anything. r=peterv
2010-02-12 10:45:33 +13:00
Boris Zbarsky
6a1a36dba1
Bug 453929. Cache getElementsBy(Class)Name return values. r=jst
2010-02-09 12:09:06 -05:00
Olli Pettay
ecf6194456
Bug 544018 - print preview doesn't work in view source , r=dao
2010-02-09 18:24:49 +02:00
Olli Pettay
435c946f5c
backout Bug 544018
2010-02-08 19:00:41 +02:00
Olli Pettay
04889fec16
Bug 544018 - print preview doesn't work in view source, r=dao
2010-02-08 18:16:57 +02:00
Sid Stamm
f9be5dbbdb
Bug 515458 - "(CSP) Implement frame ancestor check" [r=jst ui-r=johnath]
2010-02-05 14:08:27 -06:00
Arisu
c0a8fbd321
Bug 541465 - Regression in nsDocument.cpp disables DocumentLeak NSPR logging module.
...
r=roc.
2010-02-03 01:21:12 +01:00
Olli Pettay
bd950481d6
Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz
2010-01-23 13:41:41 +02:00
Sid Stamm
f2278605c1
Bug 515437 CSP connection code, r=jst,dveditz sr=jst
2010-01-22 13:38:21 -08:00
Blake Kaplan
91ae1f8826
Bug 540642 - Call CanLoadImage before preloading images too. r=bzbarsky sr=dbaron
...
--HG--
extra : rebase_source : 1f62ba60b054b3afd49abfa8d36292c667c0d1b1
2010-01-20 11:59:01 -08:00
Daniel Veditz
c178b317a0
backing out a6ce37b09cf5
2010-01-14 17:20:18 -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
Peter Van der Beken
7d8645e4ca
Fix for bug 428229 (Unable to override addEventListener), remove custom addEventListener code. r=bz.
...
--HG--
extra : rebase_source : 4e679da2100075a1e3c4ad557b92a3c86a5cf7be
2010-01-13 14:50:01 +01: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
Daniel Holbert
ea644ea79b
Bug 536834 followup 2: Guard assertion's reference to SMIL-related member data with #ifdef MOZ_SMIL. r=bz-in-irc
2010-01-06 21:59:25 -08:00
Daniel Holbert
fee9f97bcd
Bug 537157: Explicitly prevent SMIL animations inside of XBL bindings from running. Also, make nsSMILCSSProperty directly create a computed style object, instead of using nsPIDOMWindow helper method. r=smaug sr=roc
2010-01-06 09:20:50 -08:00
Daniel Holbert
f01bf9cbc6
Bug 536834 followup: When notifying external resource documents of PageHide & PageShow events, always pass |nsnull| as the aDispatchStartTarget argument. r=bz
2010-01-05 22:28:15 -08:00
Daniel Holbert
75d8a90b6c
Bug 536834: Notify external resource documents of PageHide & PageShow events, in the main document's OnPageHide / OnPageShow methods. r=roc
2010-01-05 20:50:05 -08:00
L. David Baron
46b22b7ca0
DeCOMify nsHTMLCSSStyleSheet. (Bug 239008) r=bzbarsky
2009-12-31 10:56:33 -05:00
Olli Pettay
2f4c5ea761
Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
...
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Boris Zbarsky
cc6eb188e6
Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron
2009-12-10 14:36:04 -08:00
Daniel Holbert
25027ca46a
Bug 529387: Don't create SMIL animation controller for data documents. r=roc
2009-12-10 09:26:27 -08:00
Peter Van der Beken
7e0a012c40
Back out fix for bug 428229 (Unable to override addEventListener).
2009-11-15 17:03:03 +01:00
Peter Van der Beken
aae3f7089b
Fix for bug 428229 (Unable to override addEventListener). r=bz.
2009-11-09 14:54:18 +01:00
Boris Zbarsky
c3c7d9b6fb
Bug 467005. Be smarter about our removable script blockers. r=sicking
2009-10-29 21:48:38 -04:00
Zbigniew Braniecki
55e880759e
Bug 524737. ifdef nsHTMLMediaElement.h to fix compilation with --disable-ogg + --disable-wav, p=bartml@wp.pl,r=roc
2009-10-30 00:55:05 +01:00
Robert O'Callahan
e324cf9671
Bug 518659. Make nsHTMLMediaElement hold a reference to itself to keep itself alive while network or decoder activity could result in events being fired in the future. Also rework the handling of media elements in inactive documents. r=jst, r=doublec
2009-10-02 00:10:13 +10:00
Robert O'Callahan
5491b2a188
Bug 518659. Create nsIDocument::IsActive and IsVisible APIs so we can track HTML5 'active'ness. r=jst
2009-10-05 17:13:11 +13:00
Olli Pettay
2735d10abd
Bug 333673 - document.implementation != document.implementation, r=peterv
...
--HG--
extra : rebase_source : eb0ce55653b586242f6da43e0c95f6aaf914342b
2009-10-18 19:39:52 +03:00
Boris Zbarsky
a839677a8d
Bug 522030 followup; do the release at a better point. Fixes orange.
2009-10-13 19:34:41 -04:00
Boris Zbarsky
7483a910e3
Bug 489925 and bug 522030 branch-safe fix. Hold strong refs in the id table. r=jst
2009-10-13 16:51:02 -04:00
Boris Zbarsky
c3214c55a5
Backed out changeset c5fe17b1caa9 (bug 489925)
2009-10-13 15:39:31 -04:00
Boris Zbarsky
25c2a2fded
Bug 488249 followup. Make some more HTML nodeinfos use the right namespace.
2009-10-01 11:54:10 -04:00
David Zbarsky
8d8553ee41
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
David Zbarsky
bb6a0e81f4
Bug 507762: Parse CSS style sheets independently of case-sensitivity, and instead check case correctly when using the stylesheets. r=dbaron
2009-09-28 23:07:45 -07:00
Justin Lebar
b5b0c28999
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
25d9c99012
backing out 00377b2a7c75 (bug 209275) due to mochitest timeouts
2009-09-24 15:05:54 -07:00
Justin Lebar
b3e255230a
Bug 209275 - Links' hrefs should be updated when a <base>'s href changes. r=bzbarsky
2009-09-24 13:59:43 -04:00
Neil Deakin
22715396a4
Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug
2009-09-21 13:39:44 -04:00
Neil Deakin
02a7469b05
Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
2009-09-13 09:13:16 -04:00
Neil Deakin
a5bfe49767
Bug 503943, back out mouse capture patch, CLOSED TREE
2009-09-10 12:11:41 -04:00
Neil Deakin
2ca788ce33
Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
2009-09-10 08:51:36 -04:00
Boris Zbarsky
182d27a809
Bug 489925. getElementById should not return anonymous nodes. r=jst
2009-09-02 11:32:02 -04:00
David Zbarsky
bef61061f8
Bug 487023. Refactor IsCaseSensitive() into non-virtual inline IsHTML(). r=hsivonen, sr=jst
2009-08-25 13:15:55 -04:00
Boris Zbarsky
36622c6995
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
932e28482f
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Peter Van der Beken
dd5bda7f79
Fix for bug 502730 (ASSERTION: Wrong scope, this is really bad!: 'JS_GetGlobalForObject(cx, obj) == newScope').
...
--HG--
extra : rebase_source : dbd409d54e6ecad801953d4cf76a57f95c419f94
2009-07-25 13:27:42 +02:00
Roy Frostig
249672820c
bug 508487. elementFromPoint returns null outside of viewport when aIgnoreRootScrollFrame is true
2009-08-07 21:10:05 -07:00
Michael Kohler
39067b5db3
Bug 106386 - Correct misspellings in source code (old); Patch 1; r=timeless
2009-07-27 10:46:59 +02:00
Peter Van der Beken
ed0899f1ce
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
L. David Baron
9a8d97752d
Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv
2009-07-08 18:10:29 -07:00
bjarne@runitsoft.com
6687250282
Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky
2009-07-07 22:23:20 -07:00
Peter Van der Beken
ca8ccf47e0
Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap.
2009-05-12 22:20:42 +02:00
Peter Van der Beken
53bf054e46
Fix for bug 499910. r/sr=bz.
...
--HG--
extra : rebase_source : 923016caa3c0b3a4dd04ff14eedd512b2ed2706b
2009-06-25 15:13:38 +02:00
<jlebar@mozilla.com>
7de5d30e8d
Bug 385434: Add support for HTML5 onhashchange. r=smaug, sr=sicking
2009-06-26 10:16:50 -07:00
David Bolter
281b227c46
Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking
2009-06-29 14:36:25 -04:00
Henri Sivonen
af98547431
Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas
2009-06-29 00:44:22 +02:00
Johnny Stenback
eb2ed73403
Backed out changeset 168dd0eb7283
2009-06-28 11:47:11 -07:00
Henri Sivonen
28fcb8397f
Merge trunk into HTML5 repo
2009-06-26 18:22:48 +03:00
Henri Sivonen
496b19a91d
Merge trunk into HTML5 repo
2009-06-23 10:17:29 +03:00
Olli Pettay
965bce94cb
Bug 495983 - Remove nsPageTransitionEvent, r+sr=jst
2009-06-24 16:33:02 +03:00
Olli Pettay
05d764dea7
Backout Bug 495983
...
--HG--
extra : rebase_source : d60b23f968d8279ef726de5baf4eaa622814687c
2009-06-24 14:32:50 +03:00
Olli Pettay
a22b555893
Bug 495983 - Remove nsPageTransitionEvent, r+sr=jst
...
--HG--
extra : rebase_source : e5dac1176973db9660eb109e03d237799acad35d
2009-06-24 11:47:46 +03:00
Henri Sivonen
420d38551f
Merge trunk into HTML5 repo
2009-06-16 12:18:59 +03:00
Peter Van der Beken
3e77cc7366
Fix for bug 499754 (Remove DocumentStyleSheetList from DOMCI). r/sr=bz.
...
--HG--
extra : rebase_source : 994c6ddd20bbc36df7e8c1fd75b146a3da9aad8b
2009-06-23 12:09:13 +02:00
Olli Pettay
1a534bf2c2
Bug 497178 - Make nsPIDOMEventTarget::GetListenerManager to return nsIEventListenerManager*, r+sr=peterv
...
--HG--
extra : rebase_source : e92146a2236fe857aff7b2a9b1516b30174b8d83
2009-06-23 14:23:52 +03:00
Henri Sivonen
bb1733dfd5
Merge trunk into HTML5 repo
2009-06-11 17:00:20 +03:00
Neil Deakin
79321ef1f8
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
54e806273c
Bug 484988 - Make HTML5 parser-performed removals notify but not fire mutation events
2009-05-28 20:42:26 +03:00
Boris Zbarsky
6f4f48e0e7
Bug 492196. Make it possible to disable dns prefetch on a per-docshell-tree level; disable it by default in embedding contexts, for api compat. r+sr=jst
2009-05-17 10:22:54 -04:00
Olli Pettay
0909c69d98
Bug 384003 - XPathEvaluator does not accept a Node as NSResolver, r=sicking, sr=peterv
2009-06-14 21:06:22 +03:00
Peter Van der Beken
ee568a5ae0
Fix for bug 498897. r/sr=mrbkap.
...
--HG--
extra : rebase_source : d1f8c9d42fc5c0369e8674d7c148ddc25bdfaaed
2009-06-19 18:31:48 +02:00
Robert O'Callahan
0d7d241faf
Bug 480819. Explicitly track all elements that need to be frozen when a document enters bfcache. r+sr=jst
...
--HG--
extra : rebase_source : cf8294ebf52bf91b067dc065ccf92098c529a445
2009-05-08 13:32:32 +12:00
Boris Zbarsky
64b2d5e1bf
Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg
2009-05-07 15:21:53 -04:00
L. David Baron
8adbc0edb6
Make it so nsDocument::mPendingTitleChangeEvent doesn't keep the document alive after cycle collection expects it to be destroyed. (Bug 488786) r+sr=jst r=bsmedberg
2009-05-06 13:46:01 -07:00
Boris Zbarsky
05780cc568
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Joe Drew
64bbcf4155
Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs.
2009-04-21 23:02:17 -04:00