neil%parkwaycc.co.uk
998c53a562
Followup to bug 348748 to fix the alignment of trailing backslashes in macros
...
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
git-svn-id: svn://10.0.0.236/trunk@229689 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 08:46:49 +00:00
bzbarsky%mit.edu
3906ef0e33
Don't start layout for XML just because the root has been opened. And don't
...
start layout until <html:head> closes if <html:head> gets opened. For XHTML
documents, this should prevent flashes of unstyled content.
Also, don't flush tags unless forced to if a sheet is pending.
Bug 380028, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@229666 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 03:42:12 +00:00
bzbarsky%mit.edu
7970aabd91
Eliminate more callers of CheckSameOriginPrincipal in favor of
...
Equals/Subsumes. Bug 387212, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@229589 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-10 04:22:56 +00:00
dcamp%mozilla.com
807016d25e
implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@229529 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-09 06:19:29 +00:00
jwalden%mit.edu
dda6ff3c99
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.
...
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
peterv%propagandism.org
e07d39fe08
Mochitest for bug 386728. r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@229487 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-07 16:51:37 +00:00
peterv%propagandism.org
1d34830fc7
Mochitest for bug 386495. r=Martijn.
...
git-svn-id: svn://10.0.0.236/trunk@229486 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-07 16:26:01 +00:00
peterv%propagandism.org
fad7aa0a8a
Fix for bug 386728 (Setting the contenteditable attribute through js twice doesn't work). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@229418 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-06 10:44:14 +00:00
Olli.Pettay%helsinki.fi
8823bd9f8d
Bug 386802, Mutation events always fired during setting of innerHTML, r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@229335 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 20:39:11 +00:00
mats.palmgren%bredband.net
fd18364353
Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@229301 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 02:15:35 +00:00
mats.palmgren%bredband.net
38b1552fe2
Use predefined load types instead of rolling our own. b=385663 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@229280 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 21:41:32 +00:00
gavin%gavinsharp.com
05d4064939
Bug 253851: wait for background image loads before firing onload (match behavior of IE/Safari/Opera), r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@229244 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 13:59:02 +00:00
Olli.Pettay%helsinki.fi
7d1d980bdd
Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@229243 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 13:37:33 +00:00
Olli.Pettay%helsinki.fi
c94ce86117
back out bug 238987
...
git-svn-id: svn://10.0.0.236/trunk@229241 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 12:37:05 +00:00
peterv%propagandism.org
bd5c883b9d
Fix for bug 386495 (Javascript is not disabled when designMode is on). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@229240 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 11:54:41 +00:00
Olli.Pettay%helsinki.fi
8e7e787c4b
Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@229239 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 11:49:41 +00:00
peterv%propagandism.org
9e04fca5dd
Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
...
git-svn-id: svn://10.0.0.236/trunk@228918 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 02:48:22 +00:00
peterv%propagandism.org
857e346b36
Backing out to fix orange.
...
git-svn-id: svn://10.0.0.236/trunk@228906 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 23:21:09 +00:00
peterv%propagandism.org
4161532453
Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
...
git-svn-id: svn://10.0.0.236/trunk@228893 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 22:29:54 +00:00
vladimir%pobox.com
12d9bfb52d
b=385584, crash with toDataURL on large canvas, r=stuart
...
git-svn-id: svn://10.0.0.236/trunk@228689 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 16:24:21 +00:00
mats.palmgren%bredband.net
7d2b954422
Fix offsetLeft/Top regression for rel.pos. elements with a table(cell) offset parent. b=384419 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@228622 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-23 07:39:05 +00:00
jonas%sicking.cc
643af0f02a
Backing out previous checkin since leaks went up
...
git-svn-id: svn://10.0.0.236/trunk@228271 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 23:21:28 +00:00
sayrer%gmail.com
d143b58aff
bug 384507. nsContentSink.h contains static non-member functions and globals. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@228268 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 22:44:12 +00:00
jonas%sicking.cc
e33b4702b9
Bug 348156: Don't rely on UnbindFromTree to break cycles since that puts us in an inconsistent state. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@228267 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 22:27:28 +00:00
bzbarsky%mit.edu
7bd3f5ccc3
Don't allow loads to start in a docshell that's firing the unload event. Also
...
don't allow document.open of the document in that docshell. Bug 371360,
r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@228064 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 18:18:06 +00:00
mats.palmgren%bredband.net
60a622726b
Second attempt at mochitests for bug 375003.
...
git-svn-id: svn://10.0.0.236/trunk@228023 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 01:21:13 +00:00
mats.palmgren%bredband.net
a306c312eb
Disabling tests for bug 375003 for now to fix orange.
...
git-svn-id: svn://10.0.0.236/trunk@228021 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 00:38:54 +00:00
mats.palmgren%bredband.net
7c9c26cf6b
Fix offsetLeft/Top for nested tables and clientLeft/Top for some elements with non-zero margins. b=375003 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@228016 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 00:08:10 +00:00
bzbarsky%mit.edu
f1500f3ae7
Make the about:blank documents created by CreateAboutBlankContentViewer have
...
the same encoding as real about:blank documents (that is, UTF-8). Bug 380383,
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@227635 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-07 07:13:05 +00:00
bzbarsky%mit.edu
a3c93fe989
Don't react to changes in anonymous content subtrees. Bug 383137, r+sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@227511 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-05 03:29:50 +00:00
roc+%cs.cmu.edu
526e053b34
Bug 174397. Support getClientRects and getBoundingClientRect on DOM elements. r=jonas,dbaron; sr=tor, plus help from Anne van Kesteren and Martijn Wargers
...
git-svn-id: svn://10.0.0.236/trunk@227295 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 22:32:56 +00:00
jonas%sicking.cc
8aac19d83c
Bug 366417: Set up scriptloader in the nsDocument ctor to ensure that the blocker-count stays in sync with the notification depth. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@227284 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 20:43:42 +00:00
peterv%propagandism.org
cae5ba4341
Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking.
...
git-svn-id: svn://10.0.0.236/trunk@226949 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-24 14:10:04 +00:00
sharparrow1%yahoo.com
b64088b1a1
Bug 365189 document.width/document.height flush layout too late. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@226847 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 03:52:53 +00:00
Olli.Pettay%helsinki.fi
8b4c3d38dd
Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@226813 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 21:45:07 +00:00
mrbkap%gmail.com
5b0afeed77
Update our child counts if notifying on our children caused more updates. bug 376761, r=bzbarsky sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@226590 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-17 23:54:35 +00:00
gavin%gavinsharp.com
e725988a6c
Revert unintentional change from bug 374723, r=dolske
...
git-svn-id: svn://10.0.0.236/trunk@226534 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 18:59:32 +00:00
gavin%gavinsharp.com
8de0219d95
Bug 374723: re-design password manager API and implement in JS rather than C++, patch by Justin Dolske <dolske@mozilla.com>, r=mconnor, r=me
...
git-svn-id: svn://10.0.0.236/trunk@226509 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 10:02:51 +00:00
cbiesinger%web.de
6e69609e46
Bug 370195 â sql device for the offline cache
...
patch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest)
git-svn-id: svn://10.0.0.236/trunk@226398 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 20:09:20 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
bzbarsky%mit.edu
000433da32
Put content types and charsets on the text/plain parts of the form submission
...
for multipart POST submissions. Bug 116346, patch by David Nesting
<david@fastolfe.net>, r=bzbarsky, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@226372 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 04:00:49 +00:00
bzbarsky%mit.edu
fa937acf1d
Process XBL constructors right after the frame construction in
...
InitialReflow(). Bug 377119, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@226371 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 03:52:49 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0
backout Bug 363089
...
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
dbaron%dbaron.org
fd2e86c15a
Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@226288 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:00:26 +00:00
bzbarsky%mit.edu
9c1042b2f2
Store the charset we had when we were written into when document.open()
...
happens. Then restore that as the document charset when loading from a wyciwyg
channel, instead of just claiming to be UTF-16. Bug 255820, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226169 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 02:47:59 +00:00
bzbarsky%mit.edu
c6a333df55
Propagate a stylesheet's principal to the URI and Image CSSValues derived from
...
that sheet. Bug 377091, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225504 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 01:15:54 +00:00
bzbarsky%mit.edu
d2d337437c
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
...
GetShellAt(0) to using this API. Bug 378780. API introduction part by me,
r+sr=jst. Mass-changes done by taras using squash, r+sr=me
git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
dbaron%dbaron.org
5333b54172
Reduce #include dependencies on style system headers: reduce what nsRuleData.h pulls in. b=379089 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@225209 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-28 16:03:15 +00:00
bzbarsky%mit.edu
b230f09954
Don't unblock onload on the document if we no longer have a parser. Bug
...
375051, r=mbkap, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@225123 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 04:05:08 +00:00