Commit Graph

323 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
a4c90a1d9d Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
masayuki@d-toybox.com
af31f107a5 Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r+sr=roc 2007-07-12 08:52:51 -07:00
tor@cs.brown.edu
18fe4d9a27 Bug 361745 - <svg:image> with negative width/height displaying inverted.
r=jwatt, sr=roc
2007-07-12 08:40:46 -07:00
peterv@propagandism.org
fc59f5fcf5 Mochitest for bug 386496. 2007-07-12 05:06:05 -07:00
bzbarsky@mit.edu
a7014a42ea Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 12:44:27 -07:00
peterv@propagandism.org
6567191b4d Correct error in testcase. 2007-07-11 11:52:24 -07:00
peterv@propagandism.org
2fb0fc711a Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz. 2007-07-11 06:05:05 -07:00
neil@parkwaycc.co.uk
11ed13d71f 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)]
2007-07-11 01:46:44 -07:00
bzbarsky@mit.edu
40d0244293 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
2007-07-10 20:42:11 -07:00
bzbarsky@mit.edu
79013e30da Notify before firing mutation events. Bug 387460, r+sr=sicking 2007-07-10 18:14:55 -07:00
jwalden@mit.edu
eb1d6df056 Bug 387503 - Convert nsINode bits to an anonymous enum, and make a macro into an inline function for better debugging. rs=sicking 2007-07-10 15:49:42 -07:00
sayrer@gmail.com
bdca7dddeb Bug 386878. nsSVGSVGElement needs to init its members. r+sr=tor 2007-07-10 09:38:00 -07:00
bzbarsky@mit.edu
66922fe009 Eliminate more callers of CheckSameOriginPrincipal in favor of
Equals/Subsumes.  Bug 387212, r=mrbkap, sr=jst
2007-07-09 21:22:55 -07:00
bzbarsky@mit.edu
f6349051e7 Eliminate some uses of CheckSameOriginPrincipal in favor of Subsumes/Equals.
Bug 387204, r+sr=jst
2007-07-09 21:11:11 -07:00
dcamp@mozilla.com
d746712d75 implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst 2007-07-08 23:19:27 -07:00
philringnalda@gmail.com
abb9b1380f Bug 382947 - XMLHttpRequest should only set the charset in the Content-Type request header if we know the charset, patch by Ryan Jones <sciguyryan@gmail.com>, r=bzbarsky, sr=peterv 2007-07-08 19:33:07 -07:00
philringnalda@gmail.com
f48d442b06 Bug 386854 - Bustage build fix MOX_XUL disabled, patch by romaxa <romaxa@gmail.com>, r+sr=bzbarsky 2007-07-08 17:58:15 -07:00
jwalden@mit.edu
e3c4baccae 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. 2007-07-08 00:08:04 -07:00
peterv@propagandism.org
944fbe2b30 Mochitest for bug 386728. r/sr=jst. 2007-07-07 09:51:37 -07:00
peterv@propagandism.org
6bc898324e Mochitest for bug 386495. r=Martijn. 2007-07-07 09:26:01 -07:00
Olli.Pettay@helsinki.fi
dcfbe5119a Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler (with bustage fix), r=sicking, sr=jst 2007-07-06 06:47:50 -07:00
kairo@kairo.at
951e15cd50 backing out bug 339649 due to breakage on multiple tinderboxen as requested in #developers 2007-07-06 06:13:46 -07:00
Olli.Pettay@helsinki.fi
c5dc887fc8 Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler, r=sicking, sr=jst 2007-07-06 04:49:53 -07:00
peterv@propagandism.org
d6c79f7763 Fix for bug 386728 (Setting the contenteditable attribute through js twice doesn't work). r/sr=jst. 2007-07-06 03:44:14 -07:00
Olli.Pettay@helsinki.fi
98f382ceb3 Bug 386914, r+sr=jst 2007-07-06 01:01:44 -07:00
sdwilsh@shawnwilsher.com
6697f407b6 Bug 374334 - Uncaught exception with cloneNode method and frameset element. Patch by Alex Vincent <ajvincent@gmail.com>. r=jst,sr=jst 2007-07-05 18:38:54 -07:00
dbaron@dbaron.org
69a76dfb14 Initialize mPendingInstantiateEvent to null. b=386889 r+sr=biesi 2007-07-05 15:44:27 -07:00
dbaron@dbaron.org
a6df82abe4 Make XUL prototype elements set mNumChildren to 0 when they stop owning their children in ReleaseSubtree. b=386947 r+sr=sicking 2007-07-05 15:40:26 -07:00
Olli.Pettay@helsinki.fi
2feaae333d Bug 386802, Mutation events always fired during setting of innerHTML, r+sr=bz 2007-07-04 13:39:10 -07:00
enndeakin@sympatico.ca
6c8197be5f Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz 2007-07-04 08:49:38 -07:00
mrbkap@gmail.com
c0d870c1f9 Don't be confused by misleading tag names. bug 386794, r+sr=sicking 2007-07-04 00:45:04 -07:00
peterv@propagandism.org
ee83281d9c Fix for bug 386656 (Security Error: Content at moz-nullprincipal:{8c0f4edc-0aac-45cc-8471-895f07bb1bb2} may not load or link to resource://gre/res/hiddenWindow.html during install of latest NTT Build). r/sr=jst. 2007-07-04 00:27:36 -07:00
mats.palmgren@bredband.net
db689821bf Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst 2007-07-03 19:15:31 -07:00
sharparrow1@yahoo.com
8801788a06 Bug 386141: Switch NS_FRAME_IS_BOX to use IsFrameOfType. Patch by fantasai, r+sr=roc. 2007-07-03 15:11:28 -07:00
mats.palmgren@bredband.net
37c59f403e Use predefined load types instead of rolling our own. b=385663 r+sr=bzbarsky 2007-07-03 14:41:32 -07:00
mats.palmgren@bredband.net
bf430d8c33 Fix crash [@ nsPopupSetFrame::Destroy]. b=384877 r=enndeakin sr=roc 2007-07-03 14:16:48 -07:00
bzbarsky@mit.edu
4976df8890 Fixing build bustage 2007-07-03 12:15:26 -07:00
bzbarsky@mit.edu
bdded13f7c Propagate the principal responsible an image load all the way to
CanLoadImage/LoadImage in nsContentUtils, and use it for security checks
there.  Bug 310165, r=sicking, sr=dbaron
2007-07-03 11:45:39 -07:00
Olli.Pettay@helsinki.fi
4936825549 Add tests also for blur event (bug 238987) 2007-07-03 09:27:28 -07:00
gavin@gavinsharp.com
a60fe167e5 Bug 253851: wait for background image loads before firing onload (match behavior of IE/Safari/Opera), r+sr=dbaron 2007-07-03 06:59:02 -07:00
Olli.Pettay@helsinki.fi
c4f362e8c7 Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz 2007-07-03 06:37:32 -07:00
Olli.Pettay@helsinki.fi
da6f6b0061 back out bug 238987 2007-07-03 05:37:00 -07:00
peterv@propagandism.org
13008c2c6d Fix for bug 386495 (Javascript is not disabled when designMode is on). r/sr=jst. 2007-07-03 04:54:41 -07:00
Olli.Pettay@helsinki.fi
5c3a599079 Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz 2007-07-03 04:49:40 -07:00
roc+@cs.cmu.edu
f89a82a7f6 Bug 386548. Remove nsTextTransformer. r+sr=mats 2007-07-02 16:36:59 -07:00
enndeakin@sympatico.ca
3cac4d61c3 Bug 327920, issue with determining uri variable in query template syntax,r+sr=peterv 2007-07-02 14:40:56 -07:00
peterv@propagandism.org
c1f26cd35e Fix for bug 326337 (XMLHttpRequest.responseXML permission denied if document.domain set). r=jst, sr=bz. 2007-07-02 06:20:01 -07:00
longsonr@gmail.com
ed77976fba Bug 385905 - Collection of minor things. Mainly fixes coding style and indenting in SVG content. Simplifies one NS_NewSVGPoint call and changes one frame QueryInterface to use CallQueryInterface. r=jwatt,sr=tor 2007-07-02 02:54:11 -07:00
dbaron@dbaron.org
086900c009 Fix leak of nsJSRuntime due to unbalanced calls of HoldScriptObject (with null argument). b=386294 r+sr=jst 2007-06-29 20:06:04 -07:00
dbaron@dbaron.org
9b3e00551c Add nsCycleCollector_shouldBeFreed calls for elements. b=385549 r+sr=jst 2007-06-29 20:00:51 -07:00
enndeakin@sympatico.ca
271e5c520d Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:39:50 -07:00
enndeakin@sympatico.ca
95deb19d78 Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
6c59f4a6d3 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz 2007-06-29 12:04:45 -07:00
peterv@propagandism.org
76a2c4d37f Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org
0f0097ffc5 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
51dda63979 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
sharparrow1@yahoo.com
4e5da46ad5 Bug 385937: Remove nsIBlender. rs=pavlov 2007-06-27 12:06:09 -07:00
tor@cs.brown.edu
76ef425384 Bug 375846 - implement feConvolveMatrix filter primitive. r=longsonr, sr=roc 2007-06-27 12:02:58 -07:00
dbaron@dbaron.org
c28a83eb37 Move NOTIFY_OBSERVERS to the end of nsBindingManager::ContentRemoved (and avoid early returns so we get to it). b=382376 Patch by Daniel Holbert <dholbert@mozilla.com>. r=bzbarsky sr=sicking 2007-06-26 21:51:37 -07:00
Olli.Pettay@helsinki.fi
58218f2b53 wasn't going to check in this 2007-06-26 21:25:27 -07:00
Olli.Pettay@helsinki.fi
7a515960c9 Bug 385315, Remove unused parameters from XML/XBL/RDFContentSink::FlushText, r+sr=peterv 2007-06-26 21:22:35 -07:00
dveditz@cruzio.com
56a9050dc7 bug 381264 nix 'track' method; r=biesi, sr=sicking 2007-06-26 02:28:38 -07:00
Olli.Pettay@helsinki.fi
7821b6c9c1 Bug 385082, make nsDOMEvents ccollectable (to fix leak in wordpress.com), r+sr=peterv 2007-06-26 01:21:42 -07:00
vladimir@pobox.com
27adfe5287 b=385584, crash with toDataURL on large canvas, r=stuart 2007-06-25 09:24:19 -07:00
tor@cs.brown.edu
8c5ecf9cb8 Bug 305859 - em and ex units not implemented for SVGLength.
Patch by taken.spc@gmail.com, r=longsonr, sr=tor
2007-06-25 09:12:35 -07:00
kherron@fmailbox.com
a746e1c886 Disabling two tests by request of Christian Biesinger. Related to bug 382113. 2007-06-24 17:52:06 -07:00
cbiesinger@web.de
75a42fd777 bug 382113 make the test pass for now (mark it as todo). will be reenabled
once the additional patch from the bug is checked in.
2007-06-23 07:31:37 -07:00
cbiesinger@web.de
aece5fe57c bug 382113 set LOAD_DOCUMENT_URI for <object> loads that load a document
so that things like onload events work correctly
r+sr=bz
2007-06-23 01:44:27 -07:00
mats.palmgren@bredband.net
18256f6d26 Don't ref-count nsIScrollableViewProvider. b=385286 r+sr=roc 2007-06-23 00:39:40 -07:00
mats.palmgren@bredband.net
d02f9373bf Fix offsetLeft/Top regression for rel.pos. elements with a table(cell) offset parent. b=384419 r+sr=roc 2007-06-23 00:39:04 -07:00
asqueella@gmail.com
1ad08b1c7a tests for bugs 336359/336682 - WHATWG online/offline events
r+sr=jst
2007-06-21 12:10:03 -07:00
tor@cs.brown.edu
3bf4b46c55 Bug 385096 - make sure component transfer filter functions call base Init.
r=jwatt, sr=roc
2007-06-21 08:09:43 -07:00
sharparrow1@yahoo.com
6cc6875547 Bug 382092: Simple canvas cleanups. r+sr=vlad 2007-06-20 22:01:21 -07:00
jwatt@jwatt.org
f8ae555c59 Fixing bug 385218. Remove nsISVGSVGElement. r+sr=tor@acm.org 2007-06-20 14:56:03 -07:00
timeless@mozdev.org
cdb488901b Bug 383901 having two different gNameSpaceManagers is confusing (at least to debuggers)
r=bz sr=bz
2007-06-19 22:23:50 -07:00
bzbarsky@mit.edu
0eb40f4042 Make the ranges used by find code able to span anonymous content. Bug 384706,
r+sr=sicking
2007-06-18 20:01:03 -07:00
jonas@sicking.cc
50513d81cc Backing out previous checkin since leaks went up 2007-06-18 16:21:28 -07:00
sayrer@gmail.com
dd79d4341b bug 384507. nsContentSink.h contains static non-member functions and globals. r+sr=jst 2007-06-18 15:44:11 -07:00
jonas@sicking.cc
d53f4d97f7 Bug 348156: Don't rely on UnbindFromTree to break cycles since that puts us in an inconsistent state. r/sr=jst 2007-06-18 15:27:27 -07:00
Olli.Pettay@helsinki.fi
57208eb367 Bug 384663, r+sr=bz 2007-06-18 08:43:40 -07:00
kherron@fmailbox.com
fd55a81c64 Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv. 2007-06-17 06:50:50 -07:00
kherron@fmailbox.com
10d7931b24 Bug 380668 - Extra newlines added after a meta element that already has them before and after. Patch by Ryan Jones <sciguyryan@gmail.com>. r+sr=bzbarsky. 2007-06-17 04:41:03 -07:00
kherron@fmailbox.com
3ef7e96849 Bug 381329 - Build fails with GCC-4.3 due to extra semi-colons and '-pedantic' flag. Patch by Art Haas <ahaas@airmail.net>. r+sr=roc. 2007-06-16 12:53:59 -07:00
enndeakin@sympatico.ca
e7e0ff1269 Bug 321171, See if this fixes build errors on Windows/Linux 2007-06-15 08:30:28 -07:00
enndeakin@sympatico.ca
78a410c31c Bug 321171 - support XML sources in XUL templates, r=smaug,sr=peterv CVS: ---------------------------------------------------------------------- 2007-06-15 08:03:44 -07:00
enndeakin@sympatico.ca
281a052101 Bug 378173, template removes content incorrectly with multiple queries, r=smaug,sr=peterv 2007-06-15 07:00:18 -07:00
bzbarsky@mit.edu
d7b47663a4 Don't allow loads to start in a docshell that's firing the unload event. Alsodon't allow document.open of the document in that docshell. Bug 371360,r=biesi, sr=jst 2007-06-14 11:18:05 -07:00
peterv@propagandism.org
1423e531e9 Fix for bug 384440 (txHandlerTable leaks). r/sr=sicking. 2007-06-14 09:54:34 -07:00
mats.palmgren@bredband.net
af93a34b6b Second attempt at mochitests for bug 375003. 2007-06-13 18:21:13 -07:00
mats.palmgren@bredband.net
8e2a241b4b Disabling tests for bug 375003 for now to fix orange. 2007-06-13 17:38:54 -07:00
mats.palmgren@bredband.net
4805e0ce39 Fix offsetLeft/Top for nested tables and clientLeft/Top for some elements with non-zero margins. b=375003 r+sr=roc 2007-06-13 17:08:10 -07:00
jonas@sicking.cc
5d6d0f52ff Bug 379959: Add checks to loadBindingDocument. r/sr=jst 2007-06-12 14:56:06 -07:00
jst@mozilla.org
23003dea8f Fixing bug 383424. Make the context pusher use the owner document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2007-06-12 14:16:58 -07:00
peterv@propagandism.org
021a3b60fc Mochitest for bug 343870. 2007-06-11 06:17:44 -07:00
peterv@propagandism.org
32b1b96921 Fix for bug 383951 (nsXMLContentSink:: ReportError should ignore NS_ERROR_HTMLPARSER_INTERRUPTED). r/sr=bz. 2007-06-11 03:15:17 -07:00
peterv@propagandism.org
b9ab4744f2 Fix for bug 343870 (Line breaks normalized twice). r/sr=bz. 2007-06-11 02:15:23 -07:00
vladimir@pobox.com
094107ca69 trying to figure out what's going on on the linux reftest tinderbox 2007-06-10 19:49:49 -07:00
bzbarsky@mit.edu
d479536899 Remove duplicated "is this an event attr?" code. Bug 383714, patch by RyanJones <sciguyryan@gmail.com>, r+sr=bzbarsky 2007-06-10 12:27:57 -07:00
mats.palmgren@bredband.net
2580b17d8a Redirect 'contextmenu' events targetted at 'window' to the root content element. b=380818 r+sr=jst 2007-06-08 04:54:16 -07:00
gavin@gavinsharp.com
218738d375 Bug 381031: make JS1.8 the default for <xul:script>, and add a JSVERSION_LATEST #define to simplify future changes, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=brendan 2007-06-07 15:50:12 -07:00