Commit Graph

2819 Commits

Author SHA1 Message Date
cvshook%sicking.cc
103f17eb41 Bugs 292962 and 311269: Make pages in bf cache not behave as if they have a presentation, and evict pages from the bf cache synchronously if they are modified.
r/sr=bryner


git-svn-id: svn://10.0.0.236/trunk@181785 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-07 20:20:52 +00:00
roc+%cs.cmu.edu
b747c5efb5 Bug 305160. Target viewport scroll events at the document, not the root element (they will bubble to the window from there). Always stop bubbling of scroll events out of an element. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@181748 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-07 01:28:27 +00:00
peterv%propagandism.org
ece86246b0 Fix for bug 308706 (1.5 Beta crashes Immediately upon double-clicking on the Icon. [@ nsContentUtils::SplitExpatName]). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@181580 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 09:00:41 +00:00
cbiesinger%web.de
f6ed39dbc5 fallback to alternate content if Instantiate() fails
bug 310515 r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@181463 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-03 12:55:07 +00:00
bzbarsky%mit.edu
5b0076622a Fix bug 310653. Patch by peterv, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@181435 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-02 14:30:44 +00:00
bzbarsky%mit.edu
29198e38f2 Backing out bug 288064 because of the Tp hit.
git-svn-id: svn://10.0.0.236/trunk@181383 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 01:35:56 +00:00
bzbarsky%mit.edu
d81aa0e274 Implement a LOADING state, have a :-moz-loading selector to match on it, use it
for images.  Bug 288064, r=biesi, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@181371 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 00:34:03 +00:00
bzbarsky%mit.edu
5615bc55af Make nsDocument::InsertBefore and nsDocument::ReplaceChild do the right thing
as far as removing kids from their old parent, working with document fragments,
etc.  Mostly just makes nsDocument and nsGenericElement share code.  Bug
278472, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@181315 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 20:06:33 +00:00
masayuki%d-toybox.com
996ca56067 Bug 99224 document.lastModified should be localized r=jst+jshin, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@181283 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 14:42:55 +00:00
peterv%propagandism.org
5b98a9db45 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null), remove some includes. Patch by sicking, updated by peterv, r=bz, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@180960 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 14:37:29 +00:00
peterv%propagandism.org
86ac4d2e8f Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@180911 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 18:43:15 +00:00
peterv%propagandism.org
974e8e14af Fix for bug 307245 (ASSERTION: FormatStringFromName() without format parameters: use GetStringFromName() instead: 'aParams && aLength' @ nsStringBundle::FormatStringFromName(). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@180910 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 17:38:20 +00:00
bzbarsky%mit.edu
ef85d0865f Make sure to root the function object we compile in
nsXBLPrototypeHandler::ExecuteHandler.  r=jst, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@180904 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 02:33:33 +00:00
bzbarsky%mit.edu
d9f4a6359c Don't notify on nsAttributeTextNode::BindToTree. Bug 309107, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@180860 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 14:46:24 +00:00
cbiesinger%web.de
054912c09e bug 1156
- Make object frames have no children
  - Make the frame constructor construct a subdocumentframe, object frame or
    image frame as appropriate
- start the load of <applet>, <embed> and <object> in content code
- fallback to alternate rendering correctly

NOTE: This checkin will break the plugin finder. This will be fixed soon.

r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@180762 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 19:14:30 +00:00
bzbarsky%mit.edu
46dad1e801 Forgot to address review comment... Bug 309141
git-svn-id: svn://10.0.0.236/trunk@180720 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 00:37:41 +00:00
bzbarsky%mit.edu
f0ab1ca805 Make sure to update state properly for nsGenConImageContent. Bug 309141,
r=biesi, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@180629 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-20 02:05:48 +00:00
bzbarsky%mit.edu
50ca774ea9 More Tp regression-fixing for bug 11011. r=biesi, pending sr=roc
git-svn-id: svn://10.0.0.236/trunk@180521 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 21:06:19 +00:00
bzbarsky%mit.edu
70901db99b Attempt to fix Tp regression from bug 11011. Pending r=biesi, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@180513 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 19:46:20 +00:00
bzbarsky%mit.edu
26af641d58 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@180509 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 18:05:40 +00:00
dbaron%dbaron.org
5fe0341512 Fix infinite loops in nsGenericElement::List (DEBUG-only). b=308920 r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@180466 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-17 17:06:27 +00:00
Olli.Pettay%helsinki.fi
240c59a0a5 Bug 305678, Cleaning up element implementations. Removing nsXULElement::InsertChildAt and nsXULElement::AppendChildTo. r=bz, sr=jst
git-svn-id: svn://10.0.0.236/trunk@180139 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 20:01:45 +00:00
Olli.Pettay%helsinki.fi
f0110ebc1d Bug 202764, nsXULDocument::HandleDOMEvent can go away. r=jst, sr=bz
git-svn-id: svn://10.0.0.236/trunk@180115 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 16:18:23 +00:00
bzbarsky%mit.edu
dfe3e9b0bc Improve the CSSLoader API: make it clear which methods return results
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded.  Bug 293825, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@180035 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 18:41:15 +00:00
peterv%propagandism.org
1867b9e328 Trying to fix for balsa orange (from the fix for bug 251025). Patch by bz, r/sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@180014 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 09:18:48 +00:00
peterv%propagandism.org
31170dd919 Follow-up to fix for bug 251025, make Clone/CloneContent const again.
git-svn-id: svn://10.0.0.236/trunk@180011 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 07:34:25 +00:00
bzbarsky%mit.edu
ebc997bcf6 More use of EmptyString(). Bug 232691, patch by Vidar Braut Haarr
<vhaarr+bmo@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@180005 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 01:28:51 +00:00
bzbarsky%mit.edu
06a3695338 Implement an AttrValueIs method on nsIContent which can be used to quickly
check whether a given attribute has a given value.  Use it in
nsContentList::NamedItem.  Bug 307600, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@179995 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 19:20:08 +00:00
peterv%propagandism.org
e5c598c7f1 Make nsGenericDOMDataNode::Clone pure virtual, suggestion by biesi.
git-svn-id: svn://10.0.0.236/trunk@179992 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 18:24:30 +00:00
peterv%propagandism.org
c1c35accda Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179989 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 17:15:08 +00:00
peterv%propagandism.org
5a1d292898 Back out fix for bug 251025 to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@179988 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 15:42:31 +00:00
peterv%propagandism.org
03ea6f5dac Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179987 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 15:05:31 +00:00
peterv%propagandism.org
ded3051b1e Fix for bug 106796 (Improve GetNameSpaceID() performance). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@179983 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 11:24:16 +00:00
peterv%propagandism.org
b64b04886f Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179982 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 10:08:43 +00:00
mats.palmgren%bredband.net
a58c670cb3 Make nsHTMLFormatConverter deal with an empty source string. Don't add an URL dataflavor if the source URI is empty. b=303818 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179959 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-10 11:39:32 +00:00
mrbkap%gmail.com
4045b60295 bug 272702: Remove skipped content. This simplifies the code handling <script>, <style> and related tags and makes the nsIHTMLContentSink interface just that much easier to implement. This also allows <object> tags to appear in the head with children. r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@179916 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 18:03:47 +00:00
brendan%mozilla.org
bd4b1976a0 Add JS1.6 support, moving E4X and Array extras there (306664, r/sr=mrbkap/shaver).
git-svn-id: svn://10.0.0.236/trunk@179702 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 17:43:36 +00:00
tor%cs.brown.edu
04a88848e4 Bug 294519 - should behave the same when SVG not built, SVG pref
disabled, or no SVG renderer present.  r=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@179669 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-05 20:41:57 +00:00
peterv%propagandism.org
f5f85d2946 Fix for bug 298064 (nsContentUtils::GetDocumentFromCaller() is broken.). r=jst, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@179553 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 18:02:51 +00:00
jwatt%jwatt.org
7240d0e8a8 Fixing bug 302103. Implement SVG events. r=tor@acm.org, sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@178992 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 21:31:09 +00:00
peterv%propagandism.org
8c28d3512b Fix leak from fix for bug 305689 (Cache event queue service in nsContentUtils). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@178964 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 17:51:44 +00:00
bzbarsky%mit.edu
525a6b3082 Cache the event queue service in nsContentUtils instead of having every single
presshell caching it.  Bug 305689, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@178852 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 21:01:51 +00:00
bzbarsky%mit.edu
a8c7d445d5 Make sure that a reflow flush on the document makes the sink start layout if
needed.  Bug 253951, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@178851 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 20:56:58 +00:00
aaronleventhal%moonset.net
16ef919f61 Bug 303620. Focus system goes haywire when focus changed in onblur or onchange handler. r=mats, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@178814 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 19:06:07 +00:00
bzbarsky%mit.edu
6285018d14 Make sure to not mess with our array of ptrs to release if it hasn't been
allocated.  Bug 305624, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@178756 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 00:07:49 +00:00
bzbarsky%mit.edu
d7497a616e Go back to having UnblockOnload firing onload sync in cases where it's safe.
Attempting to address Tp fallout from bug 294114, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@178750 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 23:24:30 +00:00
bzbarsky%mit.edu
41213c8fb7 Init the content policy service ptr lazily so we don't reenter layout module
init.  Bug 305310, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@178733 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 21:00:00 +00:00
mrbkap%gmail.com
c77ac42bb4 bug 302775: Wallpaper over a crash when a DOM range is inside an attribute. r+sr=brendan
git-svn-id: svn://10.0.0.236/trunk@178732 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 20:59:54 +00:00
bzbarsky%mit.edu
cde33b5712 Make sure to remove our mOnloadBlocker from the loadgroup when we're removed
from the window.  Bug 305639, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@178730 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 20:51:22 +00:00
bzbarsky%mit.edu
11b7602b7a Back out last change for bug 294114, since it didn't help and may have hurt Tdhml
git-svn-id: svn://10.0.0.236/trunk@178718 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 18:54:35 +00:00