4288 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
d006208790 Move the document's bidi state to actually live on the document, and remove
dependencies on nsPresContext in form submission.  Fixes bugs 100533, 180861,
293171.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@184321 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 22:45:49 +00:00
mrbkap%gmail.com
12e878ae6e bug 312363: Use the security info of the dynamic context instead of the static context. r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@184115 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 22:47:06 +00:00
dbaron%dbaron.org
6c02daa20d Back out 311569; see bug for discussion.
git-svn-id: svn://10.0.0.236/trunk@184097 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 16:35:28 +00:00
bzbarsky%mit.edu
d14d1f2475 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +00:00
cbiesinger%web.de
4510cfee8d bug 309706
- Add some logging to nsObjectLoadingContent
- Add a StopPlugin() method to nsIObjectFrame
  - Make use of that in PrepareInstanceOwner, so that loading a new plugin in
    the same frame works as expected
- Initialize <applet> and <embed> elements to eType_Loading, so that the type is
  only eType_Plugin if mURI and mContentType are valid

r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@183271 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-31 18:28:56 +00:00
bzbarsky%mit.edu
0480e7cab6 Fix bug 314255 -- invalidating the canvas frame shouldn't need a layout flush.
r=vlad, sr=roc


git-svn-id: svn://10.0.0.236/trunk@183242 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 14:47:45 +00:00
cbiesinger%web.de
8cc8c8248a bug 314091 Fix users of mozAutoDocUpdate to actually declare a local variable,
so that the destructor doesn't get called immediately
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@183237 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 12:54:24 +00:00
cvshook%sicking.cc
b26f9f52fb Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
680d242c2c Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@183169 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 03:11:53 +00:00
bzbarsky%mit.edu
1da47293fa Combine various SetAttr implementations so that we just have
nsGenericElement::SetAttr.  Bug 308270, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183168 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 02:59:38 +00:00
peterv%propagandism.org
7645808305 Fix for bug 264308 (Implement DOM Level 3 UserData API). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@183126 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 14:09:23 +00:00
bzbarsky%mit.edu
53c329523d Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183113 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 02:25:23 +00:00
bzbarsky%mit.edu
a71eca5d17 Remove JS hacks in marquee and just rely on the attribute mapping code. Bug
313642, patch by Martijn Wargers <martijn.martijn@gmail.com>, r=doron,
sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@183082 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-26 20:23:56 +00:00
bzbarsky%mit.edu
0efb3ed08d Handle marquee stylistic attributes via attribute mapping. Bug 163505, patch
by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@182854 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-23 22:47:58 +00:00
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
4c3b0d8f16 Fix buildbustage due to bad merge conflict. Hail to nsDerivedSafe!
git-svn-id: svn://10.0.0.236/trunk@182700 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 15:59:13 +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
011ce4236b Make sure to only treat the outermost frameset as body-like. Bug 312942, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@182570 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 02:12:20 +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
tor%cs.brown.edu
637aa253f8 Bug 311569 - font-size within style attributes does not work without units.
Patch by longsonr@gmail.com, r=sicking, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@182475 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 18:48:32 +00:00
bzbarsky%mit.edu
1c8be4844e Make sure to notify for frameset like we do for body. Bug 312097, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@182272 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 21:48:33 +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
cbiesinger%web.de
789e8680db bug 311908 try to instantiate <embed> plugins even when there is no src attribute
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@182103 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 18:35:45 +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
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
bryner%brianryner.com
87c7d0da13 Make sure plugin focus logic only apples for applet, object, and embed elements. Bug 311111, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@181628 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 23:43:54 +00:00
aaronleventhal%moonset.net
1871e81671 Bug 310626. Flash text input broken. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@181485 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-03 19:29:52 +00:00
jst%mozilla.jstenback.com
428e4f4da8 Fixing bug 309348. Don't drop pending form submissions when handling click events even if the event handler drevented the default action. r=bryner@brianryner.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@181357 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 22:56:49 +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
dveditz%cruzio.com
1608acdf38 locationless windows need hostname in titlebar (match 1.0x -- bug 304388) r=mconnor/jruderman, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@181295 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 18:51:46 +00:00
timeless%mozdev.org
3e791dd51f Bug 290422 ''usemap'' attribute for IMG tags work without a needed "#" before inline maps.
patch by bugzilla@philringnalda.com r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@181271 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 03:51:58 +00:00
bzbarsky%mit.edu
41c873f802 Removing the "multiple" attribute should deselect all but one option. Bug
297172, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@181200 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 14:30:32 +00:00
allan%beaufour.dk
0fe28a60dd option and optgroup should match :enabled/:disabled too. Bug 306620, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@181119 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 08:32:40 +00:00
aaronleventhal%moonset.net
a8b0257b15 Bug 309704. Keyboard-only users get stuck in plugins (applet/embed should only be focusable, not tabbable). r=bryner, sr=bz
git-svn-id: svn://10.0.0.236/trunk@181099 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 02:20:51 +00:00
allan%beaufour.dk
3f2a2c7b21 Changing attributes on input called AfterSetAttr too many times. Bug 307249, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@180949 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 07:57:59 +00:00
bzbarsky%mit.edu
cbda596f93 Make sure to flush out the content model before processing restyles; otherwise
we can end up with odd content duplication.  Bug 309986, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@180938 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 01:27:42 +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
cbiesinger%web.de
90e318b6fe bug 309702 handle a missing presshell gracefully (happens for display:none
iframes)
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@180870 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 17:35:08 +00:00
dbaron%dbaron.org
312d8d9a01 Fix cascading for frame attribute. b=309675 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@180849 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 05:02:42 +00:00
mrbkap%gmail.com
af75b509d1 bug 306909: Protect against a null mScriptLoader so that we don't crash if we haven't been properly initialized and we're asked to document.write(). r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@180834 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-22 23:01:33 +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
bryner%brianryner.com
f01c96278f Change nsIDOMNSEditableElement to be a standalone interface that's not reflected through classinfo. Bug 303727, r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@180774 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 22:02:26 +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
mrbkap%gmail.com
9d34c156e2 bug 308140: Make sure to match open and close head calls in the fragment sink, so that other elements don't get closed too early. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@180756 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 18:11:05 +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
mrbkap%gmail.com
8845072107 bug 264811: Only null out mParser when we're sure that we're not going to be handling any more document.writes(). r=jst sr=brendan
git-svn-id: svn://10.0.0.236/trunk@180340 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 00:19:14 +00:00
timeless%mozdev.org
cb6d168fcc Bug 308573 use if (NS_FAILED(...)) instead of if NS_FAILED(...)
patch by b.jacques@planet.nl r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@180324 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 23:17:17 +00:00