Commit Graph

312 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
98aa732792 Make form.elements actually be sorted in DOM order, as our code assumes it to
be.  This does change the ordering from what we used to have in some edge
cases.  Let's hope they don't bite.  Bug 353415, patch by jpl24
<jlurz24@gmail.com>, r+sr=bzbarsky.
2007-07-25 21:26:07 -07:00
jst@mozilla.org
dadc7c619b Adding support for cut, copy, paste events. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com, sr=jst@mozilla.org,jonas@sicking.cc 2007-07-25 21:14:33 -07:00
roc+@cs.cmu.edu
61373b8418 Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc 2007-07-25 21:03:29 -07:00
sharparrow1@yahoo.com
5a87530c15 Bug 4821: Implement page zoom (backend). r+sr=roc. 2007-07-25 20:34:16 -07:00
jonas@sicking.cc
c5f5ce4a52 fix build bustage 2007-07-25 17:55:13 -07:00
jonas@sicking.cc
d0168d734e fix build bustage 2007-07-25 17:53:55 -07:00
jonas@sicking.cc
18a76cc5a2 Bug 259332: Improve support for document.all such that we can deal with multiple elements with the same id and/or name. r/sr=jst 2007-07-25 17:36:19 -07:00
vladimir@pobox.com
7c12866d18 b=339553, drawString enhancement for canvas, r=me; patch from robarnold 2007-07-25 11:21:34 -07:00
bzbarsky@mit.edu
1e0b05ffcf Add a flag that allows protocol handlers to indicate that they don't return any
data.  Bug 379819, patch by Ryan Jones <sciguyryan@gmail.com>, r=me, sr=biesi
2007-07-25 10:21:41 -07:00
dcamp@mozilla.com
0eee14ff27 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst 2007-07-24 22:35:39 -07:00
dcamp@mozilla.com
bb10d2d59f add a sendAsBinary() method to XMLHttpRequest (for sending data from an <input type=file> element, among other things). b=371432, r+sr=jonas 2007-07-24 21:53:21 -07:00
dcamp@mozilla.com
67423b50ef Add an API to access <input type="file"> data. r=smontagu (for charset stuff), r+sr=jonas 2007-07-24 21:29:47 -07:00
Olli.Pettay@helsinki.fi
e98c007b61 Mochitest for bug 388746 2007-07-24 07:14:46 -07:00
masayuki@d-toybox.com
17ddd176c4 Bug 388602 ###!!! ASSERTION: invalid array index: 'i < Length()' when loading some webpages r+sr=roc 2007-07-24 04:47:22 -07:00
enndeakin@sympatico.ca
e28524ff33 Bug 388280, command event needs to know user input state, otherwise a popup could be blocked, r=jst,sr=bz 2007-07-23 17:55:52 -07:00
asqueella@gmail.com
cb307ac952 fix bug 388709 - "ASSERTION: Please remove this from the document properly: '!IsInDoc()'" with :after, floating :first-letter
Store the generated content as a nsCOMArray<nsIContent>* property on frames to make its clean-up on frame destruction less fragile.

r+sr=roc
2007-07-23 16:31:11 -07:00
bzbarsky@mit.edu
834f3365bd Use a Subsumes() chec, not same-origin. Bug 387202, r=vlad, sr=jst 2007-07-20 20:11:15 -07:00
bzbarsky@mit.edu
9197507fef Don't generate state keys at all, if there's nothing to get. Bug 388387, r+sr=sicking. 2007-07-20 20:00:02 -07:00
Olli.Pettay@helsinki.fi
6f794d2a0e Bug 388746, Mutation events don't work with input element, r+sr=bz 2007-07-20 16:20:33 -07:00
cbiesinger@gmx.at
21bb650203 Bug 347639 only load objects/embeds/applets once the object is inserted into the document
r+sr=bz
2007-07-20 13:14:38 -07:00
Olli.Pettay@helsinki.fi
cbb771c688 Bug 321170, Templates needs to be able to load datasources other than RDF, p=laurent@xulfr.org, r=enndeakin, sr=peterv 2007-07-19 06:49:29 -07:00
roc+@cs.cmu.edu
c2ec402960 Bug 336959. Use Pango to break inside Thai/Lao runs. Patch by Theppitak Karoonboonyanan, r+sr=roc 2007-07-18 20:26:51 -07:00
cbiesinger@gmx.at
79d350e845 385118 make sure to set mInstantiating to false again before returning
r+sr=jst,bzbarsky
2007-07-18 17:28:39 -07:00
cbiesinger@gmx.at
32bc9aca2e bug 309523 remove now-addressed XXX comment
r+sr=bz
2007-07-18 15:02:04 -07:00
bzbarsky@mit.edu
a6139746d4 Propagate stylesheet principals through to XBL binding loads; streamline load
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo).  Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.

In particular, this change allows user stylesheets loaded from local files to
link to local files.
2007-07-18 14:56:57 -07:00
cbiesinger@gmx.at
c4a5306b2f bug 347736 instantiate <embed> plugins by extension if we don't have a MIME type
r+sr=bz
2007-07-18 14:48:18 -07:00
cbiesinger@gmx.at
58c915e6bf Bug 382113 make sure to add the request to the new loadgroup before removing it
from the old one so that onload doesn't fire before it should
Also make nsLoadGroup::AddRequest assert that the request isn't in the loadgroup yet
Finally, reenable the reftest that tests the <object> onload behaviour
r+sr=bz
2007-07-18 14:37:39 -07:00
peterv@propagandism.org
cdf230c95d Fix for bug 388183 (Reloading this testcase causes crash [@
nsHTMLDocument::ChangeContentEditableCount] with null editor), now with correct whitespace. r/sr=jst.
2007-07-18 02:46:41 -07:00
peterv@propagandism.org
50535458f3 Fix for bug 388183 (Reloading this testcase causes crash [@
nsHTMLDocument::ChangeContentEditableCount] with null editor). r/sr=jst.
2007-07-18 02:44:22 -07:00
bzbarsky@mit.edu
9305b34a5f Avoid IndexOf calls while walking up the tree in FindForm(). Bug 388386, r+sr=jst 2007-07-17 18:50:18 -07:00
bzbarsky@mit.edu
d59efa6763 More consistent handling of principals for loads across docshell type
boundaries.  Bug 388121, r+sr=jst
2007-07-17 18:47:07 -07:00
asqueella@gmail.com
41e2af866a Bug 342487 - XSLT should use CheckLoadURIWithPrincipal
p=Ryan Jones <sciguyryan@gmail.com>
r+sr=jonas
2007-07-17 14:15:49 -07:00
enndeakin@sympatico.ca
cf05956adc Bug 387659, popup coordinates are not set within popupshowing event,r=eli,sr=bz 2007-07-17 05:39:54 -07:00
longsonr@gmail.com
047eedf672 Bug 386083 - SVG code should check gfxASurface::CairoStatus() when it creates new surfaces. r=jwatt,sr=tor 2007-07-17 02:24:27 -07:00
Olli.Pettay@helsinki.fi
9f5ba5c69a Bug 386599, Recursive <object> with border hangs Firefox, r=biesi, sr=bz 2007-07-17 00:43:36 -07:00
bzbarsky@mit.edu
ebb6687f3d Update the visual look of a file input when privileged script sets its value.
Bug 387978, r+sr=sicking
2007-07-13 21:46:09 -07:00
flamingice@sourmilk.net
76b4af864e Bug 330511, Plugin-in blocklisting, r+sr=jst 2007-07-13 17:28:05 -07:00
peterv@propagandism.org
b7d4207b3f Fix for bug 386996 (Can't tab past disabled inputs or textareas). r/sr=sicking. 2007-07-13 07:17:35 -07:00
longsonr@gmail.com
0a705dae4d Bug 384409 - Create a common GetContextForContent method in nsContentUtils and use it in nsScriptElement and svg. r=tor,r+sr=jonas 2007-07-13 01:49:07 -07:00
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