Commit Graph

3023 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
351c728be7 Fix bug 177269 -- radio groups should have case-insensitive names. Patch by
limonan <limonan@ccoss.com.cn>, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@182750 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 22:32:27 +00:00
cvshook%sicking.cc
f95c92ff95 Bug 311785: Simplify the nsIHTMLContentSink interface
r=mrbkap sr=peterv


git-svn-id: svn://10.0.0.236/trunk@182699 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 15:39:06 +00:00
bzbarsky%mit.edu
09f59f232b Optimize MatchElementId some. Bug 313082, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@182698 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 15:17:15 +00:00
bzbarsky%mit.edu
e661cac47c Fix bug 312847 -- pass the right index to ContentAppended. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@182494 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 22:09:07 +00:00
roc+%cs.cmu.edu
3aa042c0b4 Bug 309020. SVG content references in XBL anonymous content should reference content copied from the binding document. This is a partial fix. We also refactor some code to make it shareable in nsContentUtils. r=biesi,tor sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@182487 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 20:33:35 +00:00
bzbarsky%mit.edu
f4116530b1 When inserting a document fragment, make sure that updates triggered by our
insertions flush out notifications as needed.  Bug 312695, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@182435 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 01:51:52 +00:00
bzbarsky%mit.edu
1333cae14e Try fixing bug 288064 again. r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182350 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:50:39 +00:00
Olli.Pettay%helsinki.fi
d7a3c7a836 Bug 307465, lookupPrefix, lookupNamespaceURI and isDefaultNamespace in Document should get the values from documentElement. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@182309 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 12:50:50 +00:00
peterv%propagandism.org
8c33ea74e1 Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@182242 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 09:07:29 +00:00
bryner%brianryner.com
08afa3794a Fix dispatch of pagehide events when tabs are closed, by not relying on a PresContext being present for event targetting. Bug 309581, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@181950 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 00:18:19 +00:00
Olli.Pettay%helsinki.fi
1bfba761e6 Bug 306974, Remove some duplicate event dispatching code r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@181915 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 18:38:57 +00:00
bzbarsky%mit.edu
1b846f42fe Remove unnecessary refcounting in IsSafeToFlush. Bug 311547, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@181900 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 12:29:27 +00:00
bzbarsky%mit.edu
8a2c2a30b8 Make sure that <applet> with no code falls back and that fallback notifies as
needed.  Bug 311674, r=biesi, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@181899 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 12:28:21 +00:00
bryner%brianryner.com
391fc878cf Speed up matching class rules by caching the class attribute, rather than looking it up for each rule. Remove HasClass now that it's no longer needed. Bug 310236, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@181826 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-08 23:06:27 +00:00
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
b9ea86e6c5 bug 309642 make NS_CP_GetDocShellFromContext(nsISupports*) inline rather than
static to avoid compile warnings
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@180822 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-22 20:24:31 +00:00
bzbarsky%mit.edu
33eede8798 Pass a boolean indicating whether we've sent a ContentInserted or
ContentAppended notification to DoneAddingChildren.  Bug 309534, r=mrbkap,
sr=jst


git-svn-id: svn://10.0.0.236/trunk@180787 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-22 02:33:36 +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
f3b8a0309d Forgot file. Bug 307600
git-svn-id: svn://10.0.0.236/trunk@179997 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 19:37:04 +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
bf275b9760 Remove obselete include (bad merge).
git-svn-id: svn://10.0.0.236/trunk@179993 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 18:28:14 +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
90d65cb47c Remove duplicate function (bad merge).
git-svn-id: svn://10.0.0.236/trunk@179991 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 18:22:06 +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