9349 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
fb59007469 cite property on ins/del should be a URI, not a string. Bug 292754,
r+sr=jst, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@173020 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 23:32:35 +00:00
bzbarsky%mit.edu
e376d51b3e Only unset :hover in NotifyMouseOut if we're not mousing over
anything. Otherwise, let NotifyMouseOver handle changing :hover; it's faster
that way.  Bug 292472, r+sr=roc, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@172994 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 16:05:48 +00:00
bzbarsky%mit.edu
3b03ae1c7c Make the base URI for anon nodes in an XBL binding be the URI of the XBL
document.  Bug 211128, r+sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@172993 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 16:01:22 +00:00
bzbarsky%mit.edu
4ce1a3a293 Remove an unneeded "creating" check, since we'll never have a document while
we're still being created now.  Bug 289322, r=sicking, sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@172991 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 15:56:18 +00:00
Olli.Pettay%helsinki.fi
6877f83211 Bug 292464 - event listeners added using addEventListener() listen only trusted events. r=jst, sr=peterv, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172956 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 17:54:41 +00:00
bzbarsky%mit.edu
87f32bb860 When a form control is removed from the document and no longer has a form, also
check whether it's still in the same subtree as its mForm.  If it is, then
don't remove it from the form.  Bug 291042, r=sicking, sr=peterv, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@172938 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 04:41:06 +00:00
bzbarsky%mit.edu
716a687c53 Don't flag XUL elements created via nsXULElement::Create as being in a document
-- they're not.  Bug 292247, r=sicking, sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@172929 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-01 17:32:49 +00:00
cbiesinger%web.de
af96dffb75 292357 nsFrameLoader should use the content's base URI, not the document's
r+sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@172926 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-01 13:06:48 +00:00
bzbarsky%mit.edu
3f6088524e Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@172872 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 15:44:38 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
2e6af51c99 Bug 291537. Don't wipe out mGestureDownPoint in StopTrackingDragGesture, since we may need it right afterward. r+sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@172838 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 22:11:53 +00:00
dbaron%dbaron.org
a362d6bbdc Mouseout shouldn't fire on elements that were removed from the document. b=292146 r+sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@172822 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 20:47:53 +00:00
bzbarsky%mit.edu
546bd6461b Remove unneeded layout flushes in XUL/XBL. Bug 290005, r=roc, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@172820 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 20:23:26 +00:00
bzbarsky%mit.edu
da850874f2 Make sure to addref documents before calling Init(). Bug 291887, r+sr=jst,
a=brendan


git-svn-id: svn://10.0.0.236/trunk@172815 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 17:16:19 +00:00
bzbarsky%mit.edu
a16228acf0 Fix crashes when document.load is called on an already-parsing XML document.
Bug 289292, r=sicking, sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@172812 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 16:57:24 +00:00
ben%bengoodger.com
6f501b5430 291206 - verbose template rule format does not support parsetype='Integer' for literal match conditions... r=vlad sr=bryner a=brendan
git-svn-id: svn://10.0.0.236/trunk@172635 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-23 01:42:31 +00:00
tor%cs.brown.edu
d2111ae14f Bug 291499 - prevent infinite indent in layout-debug. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@172616 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-22 19:46:35 +00:00
dbaron%dbaron.org
cc4f3cc44e Restore broken .detail property on overflow and underflow events. b=291198 Patch from Nate Nielsen <nielsen@memberwebs.com>. +sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@172590 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-22 02:01:34 +00:00
bzbarsky%mit.edu
d58b32a8ae Improve error-reporting for XBL content sink. Bug 290870, r+sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/trunk@172580 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-21 21:31:05 +00:00
pavlov%pavlov.net
e0d9fc95ca fixing clearRect to actually clear r=vlad a=brendan
git-svn-id: svn://10.0.0.236/trunk@172474 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-20 01:59:51 +00:00
vladimir%pobox.com
195de63a17 b=291049, add patterns and gradients to canvas, r=pav,a=brendan
git-svn-id: svn://10.0.0.236/trunk@172465 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-20 00:00:23 +00:00
roc+%cs.cmu.edu
9c3f620600 Bug 255378. Make the click-hold context menu code keep content references, not frame references, just as the drag gesture code does, so that it's robust to frame reconstruction during the click-hold time interval. r+sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@172458 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 23:03:23 +00:00
bryner%brianryner.com
2be7b05eab Make --enable-cairo work for windows/msvc by switching it over to our build system. Bug 290518, r=vlad, pavlov.
git-svn-id: svn://10.0.0.236/trunk@172439 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 17:19:47 +00:00
bzbarsky%mit.edu
62937cbc08 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172416 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 01:27:11 +00:00
bzbarsky%mit.edu
2537c02af3 Remove code that just duplicates what SetAnonymousContentFor(content, nsnull)
will do anyway.  Bug 289391, r=sicking, sr=peterv, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172411 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 23:01:30 +00:00
bzbarsky%mit.edu
e2e0f7bfab Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172410 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 22:58:35 +00:00
bzbarsky%mit.edu
6c3436a03b Fixing the XUL content sink's error reporting. Bug 289469, r+sr=peterv, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@172399 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 19:44:14 +00:00
vladimir%pobox.com
14506c660a = 0 for pure virtaul methods on interface
git-svn-id: svn://10.0.0.236/trunk@172393 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 09:00:11 +00:00
vladimir%pobox.com
3237adddaa missed on checkin; avoid refcount leak for mCanvasElement
git-svn-id: svn://10.0.0.236/trunk@172392 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 08:34:02 +00:00
vladimir%pobox.com
715a56b8a3 more canvas landing horkage fixing
git-svn-id: svn://10.0.0.236/trunk@172391 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 07:30:14 +00:00
vladimir%pobox.com
545689b374 canvas horkage fix
git-svn-id: svn://10.0.0.236/trunk@172390 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 07:04:49 +00:00
vladimir%pobox.com
dcf80e9788 b=288714, html canvas implementation, r=various,a=brendan
git-svn-id: svn://10.0.0.236/trunk@172389 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 06:33:23 +00:00
roc+%cs.cmu.edu
1d10e3e888 Bug 288406. Stop tracking potential drag gesture *before* we fire the drag DOM event, in case something happens that causes us to think a second drag gesture happens recursively. r+sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@172383 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 00:48:59 +00:00
mrbkap%gmail.com
dc1867fc9c bug 289970: Fix a leak when using the sanitizing serializer by breaking the sink/parser cycle in DidBuildModel. r=BenB sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@172264 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 04:05:18 +00:00
bzbarsky%mit.edu
577af8f892 Move the BindToTree call for the document element into SetRootContent. Bug
289209, r=sicking, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@172254 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 01:30:14 +00:00
bzbarsky%mit.edu
71b3886c0d Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@172031 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 15:50:25 +00:00
bzbarsky%mit.edu
59247538c5 Make sure we've tried to create our CSSLoader before we try to dereference it.
Bug 289765, r+sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@172027 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 15:29:20 +00:00
bzbarsky%mit.edu
f14f7e0cb1 If our image was previously blocked and we're asked to maybe reload it, don't
check whether the URI changed; just try loading (since this time we may not be
blocked).  Bug 251354 followup, r=sicking, sr=shaver, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@171981 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 16:37:27 +00:00
bzbarsky%mit.edu
7d36f1baf6 Disable loading of images in data documents on the document level, not on the
node level.  Bug 251354, r=sicking, sr=peterv, a=asa


git-svn-id: svn://10.0.0.236/trunk@171953 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 00:29:36 +00:00
bzbarsky%mit.edu
9cbf1d1281 Fix mouseover event regression by making sure to init our doc pointer before
null-checking it.  Bug 289719 and oodles of dependencies, r+sr=roc, a=asa


git-svn-id: svn://10.0.0.236/trunk@171949 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-10 23:35:18 +00:00
smontagu%smontagu.org
46c53d33ed Trigger Bidi processing also for non-displayable control characters (RLM, RLE, RLO, etc.) Bug 177148, r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@171920 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-10 06:40:10 +00:00
bzbarsky%mit.edu
9fdf2e8d89 Use the owner document when compiling event handlers. Bug 289456, r+sr=jst,
a=dbaron


git-svn-id: svn://10.0.0.236/trunk@171910 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-09 17:32:25 +00:00
aaronleventhal%moonset.net
95d3f2bd28 Missing part of checkin for bug 287730. Reporting position of radio buttons, r+sr=bz on missing part, a=asa
git-svn-id: svn://10.0.0.236/trunk@171851 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 14:08:12 +00:00
roc+%cs.cmu.edu
88019f7491 Bug 288873. Don't let nsSubDocumentFrame tear down a presentation it didn't build. r+sr=bzbarsky,a=asa.
git-svn-id: svn://10.0.0.236/trunk@171844 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 04:04:06 +00:00
bzbarsky%mit.edu
6c4f2a810d Append HTML nodes to the DOM on node creation, not when we hit the close tag.
Should help with the Tp regression.  Bug 289311, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171842 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 03:30:50 +00:00
roc+%cs.cmu.edu
dcfaab1921 Bug 288775. Don't forget to pass relatedTarget to mouseout events, pointing to the element the mouse is moving into. r+sr=bzbarsky,a=dbaron
git-svn-id: svn://10.0.0.236/trunk@171833 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 00:19:08 +00:00
ben%bengoodger.com
39f25aa68b crash at nsXULDocument::OverlayForwardReference::Merge due to broken implementation of removeelement attribute for overlay merging... we always want to notify of node removals, so don't pass the notify flag along to the Remove function, always send PR_TRUE so that state is updated correctly. r=bz, sr=bryner, a=brendan
git-svn-id: svn://10.0.0.236/trunk@171826 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 23:19:20 +00:00
bzbarsky%mit.edu
99829f1159 Fix crash regression bug 289180. r=mrbkap, sr=roc
git-svn-id: svn://10.0.0.236/trunk@171792 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 06:28:28 +00:00
dbaron%dbaron.org
ec21749ca4 Fix bustage. b=288626
git-svn-id: svn://10.0.0.236/trunk@171785 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 05:20:41 +00:00
bzbarsky%mit.edu
d600031fa4 Back out the preappend change now that the image changes are in to see what Tp does...
git-svn-id: svn://10.0.0.236/trunk@171776 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 03:40:51 +00:00