4896 Commits

Author SHA1 Message Date
jwalden%mit.edu
970dfaf24a Bug 199692 - Add support for document.elementFromPoint(x, y). Patch by Ben Karel <web+moz@eschew.org>, r+sr=roc, a=jst
git-svn-id: svn://10.0.0.236/trunk@233340 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 20:38:46 +00:00
Olli.Pettay%helsinki.fi
c85d34bbe3 Bug 339501, r=bz, sr=sicking, a=1.9+
git-svn-id: svn://10.0.0.236/trunk@233195 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 07:09:32 +00:00
bzbarsky%mit.edu
c5ef255eb0 Fix orange from bug 390168 by adopting a slightly different approach. Reviews
from jst pending.


git-svn-id: svn://10.0.0.236/trunk@233051 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-25 01:45:15 +00:00
bzbarsky%mit.edu
d5d12866bb Make sure to store the security info correctly for wyciwyg. Bug 390168,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@233045 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-25 00:25:41 +00:00
masayuki%d-toybox.com
4a791f4b57 Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232841 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 11:13:55 +00:00
bzbarsky%mit.edu
762a211f7d Make sure to process style updates before reflow, and both before painting.
Bug 375436, r+sr=roc, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@232489 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 02:57:08 +00:00
bzbarsky%mit.edu
bbba9df88c Don't make getting .selected change what .selected returns in the future. Bug
391994, r+sr+a=sicking


git-svn-id: svn://10.0.0.236/trunk@232436 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 03:24:16 +00:00
bzbarsky%mit.edu
c929b7fe04 Make HTML content objects use QI tables. Bug 389797, r+sr=jst, a=sicking.
git-svn-id: svn://10.0.0.236/trunk@232422 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 22:55:08 +00:00
Olli.Pettay%helsinki.fi
64c36ee5e0 Bug 277890, disabling BUTTON after form.submit() prevents submission, r+sr=bz, a=1.9+, mochitest by ispiked@gmail.com
git-svn-id: svn://10.0.0.236/trunk@232234 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-16 21:10:30 +00:00
smontagu%smontagu.org
62c6bac8bc Add docCharsetIsForced member to nsIDomWindowUtils. Bug 391631, r+sr=bz, a=jst
git-svn-id: svn://10.0.0.236/trunk@231895 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-11 18:37:16 +00:00
bzbarsky%mit.edu
f357e50d76 Switch the order of Content-Disposition and Content-Type headers for non-file
parts of multipart form submissions to match that for files.  Apparently some
server software depends on the order of the MIME headers!  Bug 116346 followup,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@231878 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-11 00:32:33 +00:00
peterv%propagandism.org
3715685fe5 Fix for bug 387380 (No visible caret when caret browsing). r=smaug, sr=jst, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@231795 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 13:19:14 +00:00
bzbarsky%mit.edu
b9d92a233a Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal
and a uri.  Get the URI from the principal.  Bug 391438, r+sr+a=sicking


git-svn-id: svn://10.0.0.236/trunk@231781 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 05:35:09 +00:00
bzbarsky%mit.edu
74ec4ca76a Fixing test
git-svn-id: svn://10.0.0.236/trunk@231735 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 19:54:25 +00:00
bzbarsky%mit.edu
2283da7326 Another test.
git-svn-id: svn://10.0.0.236/trunk@231721 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 18:58:37 +00:00
bzbarsky%mit.edu
cb687bde5d Remove windows newlines that snuck in
git-svn-id: svn://10.0.0.236/trunk@231716 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 18:45:32 +00:00
bzbarsky%mit.edu
2ff32c3618 Adding tests contributed by jlurz24@gmail.com
git-svn-id: svn://10.0.0.236/trunk@231714 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 18:43:35 +00:00
bzbarsky%mit.edu
3811c88532 Use the principal doing the load to decide on the URI to pass to content
policies.  This will help do the right thing for data:/javascript:/about:blank,
as well as allow us to skip content policies altogether if the caller is
system.  Bug 388597, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@231622 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 01:16:12 +00:00
mats.palmgren%bredband.net
cdc70a6fec Use NS_IMPL_ISUPPPORTS macros where possible. b=387211 r=neil sr=dbaron a19=pavlov
git-svn-id: svn://10.0.0.236/trunk@231584 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 15:18:40 +00:00
bzbarsky%mit.edu
4146dbf015 Keep track of both the first submit in elements and the first submit not in
elements, to speed up some operations.  Bug 352980, r+sr+a=jst


git-svn-id: svn://10.0.0.236/trunk@231571 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 02:07:24 +00:00
bzbarsky%mit.edu
307f3c9b1d Hoist the code for handling class and id up from nsGenericHTMLElement to the
newly-created nsStyledElement so that it can be reused by MathML and to some
extent by SVG.  Bug 379178, patch by Daniel Kraft <domob@daniel-kraft.net>,
r=jwatt for the SVG changes, r+sr=sicking for the rest, a=dsicore


git-svn-id: svn://10.0.0.236/trunk@231530 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 15:27:21 +00:00
ginn.chen%sun.com
7103fbf947 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest
r=benjamin a=dsicore


git-svn-id: svn://10.0.0.236/trunk@231518 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 03:22:43 +00:00
Olli.Pettay%helsinki.fi
dab71982f2 Bug 389694, r+sr=jst, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231506 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-05 13:24:30 +00:00
bzbarsky%mit.edu
86bca2d545 Make debug code not assert when it shouldn't. Bug 388712, r+sr=jst, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231375 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 22:46:36 +00:00
bzbarsky%mit.edu
73e6ccf0ea Flush layout before starting to pump data into plug-ins if we started the data
load ourselves.  Fixes various issues with a number of plug-ins that expect
NPP_SetWindow() to have been called before NPP_WriteReady or NPP_Write.  Bug
381512, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@231321 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 17:54:37 +00:00
jonas%sicking.cc
857bbdaa67 Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi
git-svn-id: svn://10.0.0.236/trunk@231095 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 02:49:19 +00:00
jonas%sicking.cc
7552c132af backout due to orange
git-svn-id: svn://10.0.0.236/trunk@231082 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 23:34:23 +00:00
jonas%sicking.cc
52ff6b27a1 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi
git-svn-id: svn://10.0.0.236/trunk@231078 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 22:20:32 +00:00
sharparrow1%yahoo.com
5cb5f9fc09 Bug 389663: CSS test crashes Firefox. r+sr=dbaron/bz
git-svn-id: svn://10.0.0.236/trunk@231065 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 20:20:30 +00:00
Olli.Pettay%helsinki.fi
bd9a96d5b9 Backing out bug 275196, xml:id, to fix tp regression
git-svn-id: svn://10.0.0.236/trunk@231054 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 14:16:21 +00:00
Olli.Pettay%helsinki.fi
76bd637ef6 Bug 275196, xml:id, r=sicking, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@231049 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 12:22:17 +00:00
bzbarsky%mit.edu
118abdc5f7 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.


git-svn-id: svn://10.0.0.236/trunk@231020 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:26:08 +00:00
jonas%sicking.cc
17fc8d6da3 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@231001 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 00:55:13 +00:00
jonas%sicking.cc
8bb08f2a44 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@230999 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 00:53:55 +00:00
jonas%sicking.cc
54f24bdccb 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
git-svn-id: svn://10.0.0.236/trunk@230997 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 00:36:20 +00:00
dcamp%mozilla.com
9f40ca2397 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@230909 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 05:35:40 +00:00
dcamp%mozilla.com
2c8be0d039 Add an API to access <input type="file"> data. b=371432, r=smontagu (for charset stuff), r+sr=jonas
git-svn-id: svn://10.0.0.236/trunk@230905 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 04:29:49 +00:00
Olli.Pettay%helsinki.fi
df619d1736 Mochitest for bug 388746
git-svn-id: svn://10.0.0.236/trunk@230747 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 14:14:46 +00:00
bzbarsky%mit.edu
de3dca4e60 Don't generate state keys at all, if there's nothing to get. Bug 388387, r+sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@230408 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 03:00:03 +00:00
Olli.Pettay%helsinki.fi
71a695e3b6 Bug 388746, Mutation events don't work with input element, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@230401 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 23:20:33 +00:00
cbiesinger%gmx.at
48ae067e25 Bug 347639 only load objects/embeds/applets once the object is inserted into the document
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@230381 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 20:14:38 +00:00
peterv%propagandism.org
69e67961a0 Fix for bug 388183 (Reloading this testcase causes crash [@
nsHTMLDocument::ChangeContentEditableCount] with null editor), now with correct whitespace. r/sr=jst.


git-svn-id: svn://10.0.0.236/trunk@230176 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 09:46:41 +00:00
peterv%propagandism.org
00c86ca6d2 Fix for bug 388183 (Reloading this testcase causes crash [@
nsHTMLDocument::ChangeContentEditableCount] with null editor). r/sr=jst.


git-svn-id: svn://10.0.0.236/trunk@230175 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 09:44:22 +00:00
bzbarsky%mit.edu
959e8c5874 Avoid IndexOf calls while walking up the tree in FindForm(). Bug 388386, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@230162 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 01:50:18 +00:00
bzbarsky%mit.edu
85b795adfa Update the visual look of a file input when privileged script sets its value.
Bug 387978, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@229943 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 04:46:09 +00:00
peterv%propagandism.org
e5c1f6c006 Fix for bug 386996 (Can't tab past disabled inputs or textareas). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@229895 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 14:17:36 +00:00
bzbarsky%mit.edu
b5b433a6b7 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.


git-svn-id: svn://10.0.0.236/trunk@229833 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:05:49 +00:00
peterv%propagandism.org
f160eb36bb Mochitest for bug 386496.
git-svn-id: svn://10.0.0.236/trunk@229800 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 12:06:05 +00:00
peterv%propagandism.org
2256e44558 Correct error in testcase.
git-svn-id: svn://10.0.0.236/trunk@229729 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 18:52:24 +00:00
peterv%propagandism.org
6dccfe3ea8 Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@229697 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 13:05:06 +00:00