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
Justin Lebar
e730a1afc6
Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking
2009-09-01 09:45:05 -07:00
Daniel Holbert
46ba50b0cb
Backed out changeset dc7a04be6904 on suspicion of causing bug 543034.
2010-01-29 18:50:46 -08:00
Justin Lebar
a827ba17fc
Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking
2009-09-01 09:45:05 -07: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
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
Blair McBride
8f2043ae0f
Bug 528792 - :-moz-lwtheme incorrectly depends on the lwthemetextcolor attribute. r=dbaron
2009-11-16 09:27:44 +01:00
Boris Zbarsky
c3c7d9b6fb
Bug 467005. Be smarter about our removable script blockers. r=sicking
2009-10-29 21:48:38 -04: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
Nochum Sossonko
33de430128
Bug 513461 - Implement pseudo classes for lightweight theme handling. r=dao,dbaron
2009-10-02 08:22:18 +02: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
David Zbarsky
bef61061f8
Bug 487023. Refactor IsCaseSensitive() into non-virtual inline IsHTML(). r=hsivonen, sr=jst
2009-08-25 13:15:55 -04:00
Neil Deakin
5303f25260
Bug 478416, replace chromedir attribute with :moz-locale-dir pseudoclass, r=neil,dao,dbaron,sr=dbaron
2009-07-29 14:33:53 -04:00
bjarne@runitsoft.com
6687250282
Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky
2009-07-07 22:23:20 -07: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
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
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
8ce6a46269
Backing out changeset 37661caab4ce due to the Tp regression
2009-04-02 22:55:26 -04:00
bjarne@runitsoft.com
e8b29e9cb0
Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky
2009-04-02 17:39:58 -04:00
Boris Zbarsky
d115591997
Backing out changeset c428086801d0 (bug 457809 and bug 457810) on suspicion of causing the Tp3 regression
2009-03-30 20:21:32 -04:00
bjarne@runitsoft.com
8b3f7126dc
Bug 457809 and bug 457810 - Speculatively load images and stylesheets (respectively). r=mrbkap, sr=bzbarsky
2009-03-30 11:31:16 -04:00
Robert O'Callahan
d0c58fb22f
Bug 340571. Removing getBoxObjectFor from non-XUL documents. r+sr=bzbarsky
...
--HG--
extra : rebase_source : a57cb7c4ebee2149a2cdc009400c133d4904409d
2009-03-30 13:44:48 +13:00
Olli Pettay
e511e04fa7
Bug 484658 - element.focus() handing when called during event suppression, r+sr=jst
2009-03-25 16:11:11 +02:00
Boris Zbarsky
1c1a3affbf
Backing out changeset b47f0de93a82 (bug 457809) due to test failures
2009-03-24 19:18:25 -04:00
bjarne@runitsoft.com
2129bba0b3
Bug 457809 and bug 457810 - Speculatively load images and stylesheets (respectively). r=mrbkap, sr=bz
2009-03-24 12:52:00 -04:00
Peter Van der Beken
90ab2fa166
Fix for bug 480389 (Remove nsIDocument's cached JS object). r/sr=jst.
...
--HG--
extra : rebase_source : e01297b029bdbcde75521363ad47949dff72cf9b
2009-03-18 18:56:38 +01:00
Peter Van der Beken
2f7fed0ee0
Backing out 18b1811cd104, fix for bug 480389 (Remove nsIDocument's cached JS object), to try to fix orange.
2009-03-19 14:07:03 +01:00
Peter Van der Beken
b704ad4bc0
Fix for bug 480389 (Remove nsIDocument's cached JS object). r/sr=jst.
...
--HG--
extra : rebase_source : 7e971c32cc922fb866f12f3e037f8c91c09df3bf
2009-03-18 18:56:38 +01:00
Olli Pettay
2219417624
Bug 333198 - Suppress Input events for web content during synchronous XMLHttpRequest loads, r=bz, sr=jst
2009-03-03 22:11:14 +02:00
Olli Pettay
cb57be346c
backout 333198
2009-03-02 22:21:46 +02:00
Asaf Romano
fe4d91cd12
Bug 480149 - DOMLinkAdded and DOMLinkRemoved events for link elements should be dispatched when swapping docshells. r+sr=bz.
2009-02-26 14:05:42 -08:00
Olli Pettay
e6f01244a1
Bug 333198 - 'Suppress Input events for web content during synchronous XMLHttpRequest loads'. r=bz, sr=jst, a=blocking1.9.1+
2009-02-26 14:00:30 -08:00
Jonas Sicking
cd13cb89e5
Backed out changeset 41045faa0ef6 due to leaks
2009-01-23 15:08:41 -08:00
Jonas Sicking
051c8e95e7
Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap
2009-01-14 17:25:21 -08:00
Brian Birtles
adf1d4fa7c
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
Ben Turner
9853f8d27d
Backed out changeset 4c4d0bf8622e for failing unit tests.
2009-01-14 18:22:41 -08:00
Jonas Sicking
864d6c43fd
Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap
2009-01-14 17:25:21 -08:00
Dan Fabulich
b3132f8800
b=347174, implement document.readystate == 'complete'; r=sicking
2009-01-09 09:12:09 -08: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
Daniel Holbert
71f1fca3cd
whitespace-only: remove space characters on blank line in nsIDocument.h
2008-12-29 00:33:13 -08:00
Boris Zbarsky
ee6c3e172a
Bug 449778. Don't fire pageshow in the new place on viewer swap if it's about to fire anyway. Do fire it in the old spot in that case, though. r+sr=jst
2008-12-28 10:34:00 -08: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
Gavin Sharp
326a75031f
Bug 461803: add elementFromPoint method on nsIDOMWindowUtils which optionally ignores root scroll frame and lets callers avoid flushing layout, r+sr=bzbarsky
2008-11-04 22:58:22 -05:00
Peter Van der Beken
5a6c152342
Backed out changeset 81c0a2ec449f to fix orange
2008-11-04 20:54:08 +01:00
Peter Van der Beken
24a73db424
Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst.
2008-11-04 18:10:43 +01:00
Peter Van der Beken
2b8cf3c2d4
Backed out changeset ba895ab8cbe7 to fix orange
2008-11-03 16:28:50 +01:00
Peter Van der Beken
28ba94cca8
Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst.
2008-11-03 14:49:53 +01:00
Olli Pettay
e23e79f0c6
Bug 461772, don't crash when using XBL in external svg docs, r+sr=bz
2008-10-30 12:35:44 +02:00
Robert O'Callahan
c98e2689e7
Bug 448603. Support direct loading of Ogg audio and video files by creating a synthetic <video> document. r=doublec,sr=bzbarsky
2008-10-29 22:20:08 -07:00
Boris Zbarsky
04e1cee63b
Relanding bug 459424 (backing out backout changeset 530f1077cae4). Don't pass null documents to the enumerator. r+sr=roc.
2008-10-14 10:24:55 -04:00
Ben Turner
528a45ba6e
Backed out changeset b5b7b5523c66 to see if it fixes unit tests.
2008-10-13 19:54:46 -07:00
Boris Zbarsky
0293ef22e1
Bug 459424. Don't pass null documents to the enumerator. r+sr=roc
2008-10-13 16:32:10 -04:00
Boris Zbarsky
f819f89b7d
Backed out changeset 4e7a2d27d636: relanding Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc
2008-10-04 13:00:09 -07:00
L. David Baron
ba09bf22bc
Backed out changeset c1f6a55626be (bug 433616, part 2) because it probably caused a Windows XP performance regression.
2008-09-30 09:51:26 -07:00
Robert O'Callahan
016f579354
Relanding bug 433616 part 2 to see if it's the cause of a Tp regression
2008-09-30 14:45:02 +13:00
Boris Zbarsky
012ae72fd1
Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions
2008-09-29 08:51:29 -04:00
Boris Zbarsky
f15bf80fc3
Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc
2008-09-28 15:15:22 -04:00
Robert O'Callahan
56a8fae008
Bug 451256. Fire DOMTitleChanged when a new document loads, even if it has no title. r+sr=jst
2008-08-25 20:52:48 +12:00
Olli Pettay
58b8004d50
Bug 451037, r+sr=sicking
2008-08-24 17:24:37 +03:00
Olli Pettay
c4eb13a9cf
Bug 451037, r+sr=sicking
2008-08-24 17:21:28 +03:00
Robert O'Callahan
1499813be0
Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst
2008-08-18 14:10:28 +12:00
Robert O'Callahan
65a0e17d1b
Backing out bug 118704 to try to fix Windows leak orange
2008-08-16 23:27:40 +12:00
Robert O'Callahan
21fbc52690
Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst
2008-08-16 21:01:52 +12:00
Boris Zbarsky
1dafcd35c7
Bug 431701. Fix our inputEncoding handling to comply with the DOM spec, and fix XHR of a in-memory-only document to follow the XHR spec and send it as UTF-8. r+sr=sicking
2008-08-06 16:59:37 -04:00
Benjamin Smedberg
ec69c9db81
Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst
2008-06-30 21:03:50 -04:00
Robert O'Callahan
78ea2ef42a
Bug 344258. Create nsReferencedElement to track which element is associated with a given ID. r+sr=jst
2008-06-25 13:55:01 +12:00
Simon Montagu
dfcf9f51e9
Remove unnecessary argument from SetBidiEnabled. Bug 435856, r+sr=roc
2008-06-16 02:28:17 -07:00
Olli.Pettay@helsinki.fi
8c5cd9f684
Bug 426646, Using location.replace breaks iframe history, r=bz,sr=jst,a=dsicore
2008-04-29 00:18:55 -07:00
Olli.Pettay@helsinki.fi
2df44b5dfe
Bug 430050, cancel frameloader initialization when docshell starts to load a page, r=sicking, sr=jst, a=dsicore
2008-04-24 03:33:22 -07:00
roc+@cs.cmu.edu
ab9c3d7c92
Bug 429172. Return the docshell's script global object as soon as the document's content viewer has been Closed(). r+sr=sicking,a=beltzner
2008-04-18 03:02:03 -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
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
Olli.Pettay@helsinki.fi
eccdba117b
Bug 420415, r=jst, sr=sicking, a=beltzner
2008-03-21 04:44:09 -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
Olli.Pettay@helsinki.fi
a31dfd8bf6
Bug 402982, r=jst, sr=sicking
2008-02-26 06:47:51 -08:00
bent.mozilla@gmail.com
c107df6d22
Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9.
2008-02-08 14:07:51 -08:00
bzbarsky@mit.edu
3e5918cd2d
When showing a document viewer, don't start layout on the documnt unless it's already had layout started once. Otherwise, just wait for the sink, or whoever is responsible for it, to start layout once they're ready. Bug 404470, r+sr=jst
2008-01-20 10:02:02 -08:00
roc+@cs.cmu.edu
bc08ac141a
Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
2008-01-09 01:38:28 -08:00
roc+@cs.cmu.edu
09582c48ae
backing out bug 355548 due to test failures
2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
459c356854
Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
2008-01-08 14:36:46 -08:00
dwitte@stanford.edu
e1f9209274
relanding part of 407442.
2007-12-19 23:30:04 -08:00