4262 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
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
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
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
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
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
a41183fa55 Don't process events for -moz-user-input:none/disabled also when element is replaced by ALT content. b=307756 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179956 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-10 11:02:14 +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
bzbarsky%mit.edu
0b6167cb4d Fix brendan's nit for bug 299689, r+sr=brendan
git-svn-id: svn://10.0.0.236/trunk@179857 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-08 18:39:12 +00:00
bryner%brianryner.com
0326b5d8f2 Supply a scriptable interface for accessing the nsIEditor (and therefore the anonymous div) an HTML input or textarea. Bug 303727, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@179807 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 18:19:26 +00:00
bzbarsky%mit.edu
8c2d114c59 Once we've had enough ID lookup misses, make the ID table completely live. Bug
299689, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@179801 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 17:04:34 +00:00
bzbarsky%mit.edu
bcd2bcaa21 Make addition or removal of frames in a frameset actually change the
rendering.  Bug 306660, r=jst, sr=roc


git-svn-id: svn://10.0.0.236/trunk@179676 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 02:14:36 +00:00
bob%bclary.com
5a13630914 Bug 303502 - make DOM Don't call me! asserts more meaningful, r=peterv,sr=jst
git-svn-id: svn://10.0.0.236/trunk@179629 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-04 18:16:58 +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
bzbarsky%mit.edu
fd42ca7d92 Restore disabled state for all form controls. Bug 306616, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@179484 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 18:58:31 +00:00
allan%beaufour.dk
c03c593368 Ooops, part of bug 306620 sneaked in together with the checkin for bug 306614
git-svn-id: svn://10.0.0.236/trunk@179475 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 17:07:12 +00:00
allan%beaufour.dk
af331a6879 fieldset should not match :enabled/:disabled. Bug 306614, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179474 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 16:49:36 +00:00
pavlov%pavlov.net
f576800073 adding support for toDataURL and toDataURLAs on canvas. bug 245684. patches from Brett Wilson <brettw@gmail.com>. r=me, sr=vlad
git-svn-id: svn://10.0.0.236/trunk@179437 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 22:16:51 +00:00
mats.palmgren%bredband.net
06ad257375 Implement HTML4 align=middle according to spec. Correct the DOM attribute value mapping for some of the other values as well. b=192077 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@179347 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 22:46:45 +00:00
bzbarsky%mit.edu
1812f65d2f Implement :enabled and :disabled CSS pseudo-classes. Bug 84400, patch by Allan
Beaufour <allan@beaufour.dk>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@179280 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 03:31:47 +00:00
cbiesinger%web.de
36b464860c Bug 306260 call methods of the direct base class, instead of
nsGenericHTMLElement
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@179190 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 11:06:19 +00:00
bzbarsky%mit.edu
049e52625b Fix comment per my review comments. Bug 305640.
git-svn-id: svn://10.0.0.236/trunk@179124 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-27 05:16:06 +00:00
aaronleventhal%moonset.net
b326dc4b07 Bug 305840. Focus problems with XUL textbox, causing problems in findbar, help and address bar because of exception thrown. Patch by Mats Palmgren. r=aaronleventhal, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@179069 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 18:45:23 +00:00
vladimir%pobox.com
f561d566b0 b=304561, firefox unsuitable for browsing high-res image galleries due to preview on tab icon, r=mconnor,sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@178982 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 20:05:24 +00:00
peterv%propagandism.org
bcd5fc4014 Fix for bug 301490 (Rich text editor property useCSS changed meaning). r=brade, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@178929 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 11:51:04 +00:00
smontagu%smontagu.org
ddb207b389 Bug 300270: GetDir() returns empty string instead of 'ltr' or 'rtl'. r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@178918 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 06:49:53 +00:00