4187 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
57cdc102f5 Disable just the script loader during innerHTML sets, not all script
execution.  Bug 299231, r=sicking, sr=peterv, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176619 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 15:40:25 +00:00
timeless%mozdev.org
87548d54ac Bug 301675 : default value of size DOM attribute of HTMLSelectElement should be 0 when the attribute is missing,
patch by Anne van Kesteren <bug@annevankesteren.nl>
r+sr=bzbarsky, a=bsmedberg

fixing this correctly instead of incurring build bustage by removing the previous definition


git-svn-id: svn://10.0.0.236/trunk@176604 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 08:11:42 +00:00
gavin%gavinsharp.com
be5d4609df backing out last patch
git-svn-id: svn://10.0.0.236/trunk@176603 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 08:08:22 +00:00
gavin%gavinsharp.com
fe35860663 Bug 301675 : default value of size DOM attribute of HTMLSelectElement should be 0 when the attribute is missing, patch by Anne van Kesteren <bug@annevankesteren.nl>, r+sr=bzbarsky, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176602 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 07:45:05 +00:00
mats.palmgren%bredband.net
2bf311b23d Prefer a MAP that has AREAs over an empty one with the same name (in quirks mode). b=264624 r+sr=bzbarsky a=benjamin
git-svn-id: svn://10.0.0.236/trunk@176584 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 23:37:56 +00:00
bryner%brianryner.com
1f319207af Change PageShow/PageHide events to be lowercase and hook them up so that onpageshow= works on the body tag. Bug 297887, patch by brettw@gmail.com, r=me, a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@176571 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 22:09:39 +00:00
aaronleventhal%moonset.net
1fc846a154 Bug 300783. Fix unsafe firing of events and perf regression for multi select in HTML listboxes. r+sr=bz, a=mkaply
git-svn-id: svn://10.0.0.236/trunk@176567 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 21:40:31 +00:00
timeless%mozdev.org
701314427c Bug 298875 align=right should not be applied to input elements with a type other than image
patch by martijn.martijn@gmail.com r=bz sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@176368 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 23:24:28 +00:00
bzbarsky%mit.edu
9f67a5131d Deal better with innerHTML for documents whose types we don't have encoders
for.  Bug 155723, r+sr=jst, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176268 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 21:11:07 +00:00
bzbarsky%mit.edu
f717fecc7b Fix serialization of innerHTML in XML documents. Bug 155723, r=sicking,
sr=jst, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176160 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-15 22:45:14 +00:00
bzbarsky%mit.edu
e5932bc9f9 Don't flush our parent if we're not safe to flush. Bug 281922, r+sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@176094 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-14 16:13:09 +00:00
aaronleventhal%moonset.net
3613b3e8e8 Bug 290354. Support multiple selection. r=timeless, sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/trunk@176088 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-14 14:20:21 +00:00
jshin%mailaps.org
5d6c3bdce9 bug 224820 : support UTF-16/32 (non-byte oriented char. encoding) in the form submission : r=biesi, sr=bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@176005 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 16:55:59 +00:00
bzbarsky%mit.edu
5dc34b1d47 Fix rules="none" regression for tables. Bug 299723, r+sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@175762 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 17:14:36 +00:00
jst%mozilla.jstenback.com
01278a055f Fixing bug 277434. Make setting element.type on a plugin element (object or embed) set the 'type' attribute as well. r=bugmail@sicking.cc, sr=peterv@propagandism.org, a=benjamin@smedbergs.us
git-svn-id: svn://10.0.0.236/trunk@175372 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 01:23:12 +00:00
mats.palmgren%bredband.net
456ad38a4c Don't resolve <form action=""> to the base uri. b=297761 r+sr=jst a=chofmann
git-svn-id: svn://10.0.0.236/trunk@175268 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-28 23:22:28 +00:00
darin%meer.net
00b6268419 fixes bug 295544 "Expose more designMode options to web apps" r=brade sr=jst a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@175101 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 17:18:27 +00:00
mats.palmgren%bredband.net
f1ffae0752 Stop trying to observe content changes for the selected option, instead rely on getting a combobox reflow if it changed. b=297389 r+sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@174908 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 00:00:14 +00:00
mats.palmgren%bredband.net
1542a75ce7 Adjust current index of combobox when options are added or removed. b=286170 r+sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@174900 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 23:26:35 +00:00
jst%mozilla.jstenback.com
fecaf7f5b3 Fixing bug 296830. Use the principal of the calling code in document.open(), not that of the calling window. r=dveditz@cruzio.com, sr=brendan@mozilla.org, a=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@174851 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 16:18:35 +00:00
mrbkap%gmail.com
ce2944ed5e bug 293162: Textarea's innerHTML shouldn't treat the HTML as text. r=peterv sr=jst a=shaver
git-svn-id: svn://10.0.0.236/trunk@174727 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 21:23:24 +00:00
mrbkap%gmail.com
f2a332e8d4 bug 296677: Fix nsParser::ParseFragment to not screw up setting <textarea>'s innerHTML. r=jst sr=peterv a=asa
git-svn-id: svn://10.0.0.236/trunk@174716 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 18:59:59 +00:00
peterv%propagandism.org
aac2b47f2a Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
joshmoz%gmail.com
99950c81c0 bug 297338: Textareas lose the final chunk of text if the default contents are longer than 4096 characters long. r+sr=jst a=dbaron, patch by Blake Kaplan <mrbkap@gmail.com>
git-svn-id: svn://10.0.0.236/trunk@174657 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 00:41:50 +00:00
bryner%brianryner.com
3274ca4c10 Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver.
git-svn-id: svn://10.0.0.236/trunk@174651 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 23:52:46 +00:00
dbaron%dbaron.org
5efdb69c74 Implement the same block-alignment behavior for align=left (which matters only for RTL) that we do for center and right. b=64510 r+sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@174650 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 23:45:06 +00:00
bzbarsky%mit.edu
e01bd5e327 Make sure to call ScriptEvaluated when doing all evaluations, to call it
_after_ we've popped the JSContext from the stack, and to handle multiple
termination functions being posted from a single script evaluation.  Fixes
leaks when closing windows or tabs with still-loading documents.  Bug 295983,
r+sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@174364 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 15:42:19 +00:00
cvshook%sicking.cc
a1b1c63a31 Bug 245274: Be more strict about which names we allow for createElement, even in quirks mode.
r=doron sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@174299 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 16:42:04 +00:00
mrbkap%gmail.com
0aecc2c0de bug 271184: The output of nested document.write()s can get reversed (where later document.write()s are seen before previous document.write()s). This makes nsHTMLDocument use good parser keys. r=sicking sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@174220 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-07 19:21:05 +00:00
bzbarsky%mit.edu
98338314d9 Add an nsIContent api for getting the intrinsic state of the content; this can
be used to implement more pseudo-classes (eg CSS3 UI ones for XForms).  Bug
296309, r+sr=dbaron, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@174103 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 02:02:45 +00:00
jst%mozilla.jstenback.com
0f0277c311 Fixing bug 285873. Make midas independent of the pref editor.CR_creates_new_p and make the default behaviour in midas match IE (such that hitting return in a p tag splits the p instead of inserting a br. r=brade@comcast.net, sr=bzbarsky@mit.edu, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@174031 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 03:11:35 +00:00
bzbarsky%mit.edu
578132afda Fix leak on setting innerHTML in XML, as well as leaks when the parent of a
not-yet-parsed script is removed from the document.  Bug 294274, r+sr=peterv,
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@174028 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 02:38:20 +00:00
bzbarsky%mit.edu
837acf6247 Make sure to Reset() if our default value changes and we haven't had our value
change.  Bug 215228, r+sr=peterv, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@174027 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 02:30:09 +00:00
mrbkap%gmail.com
6f39bbf718 bug 287990: Bring back <plaintext> support. This supports it "properly" (i.e., no end tag). r=jst sr=dbaron a=shaver
git-svn-id: svn://10.0.0.236/trunk@173992 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:11:30 +00:00
mrbkap%gmail.com
1d5ac8765e bug 208869: Setting innerHTML with textarea can isnert an extra newline. This patch makes textarea be treated as a normal container outside CNavDTD (which takes over its first-newline removal duties). r=sicking sr=bzbarksy a=shaver
git-svn-id: svn://10.0.0.236/trunk@173988 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 21:23:23 +00:00
cbiesinger%web.de
620f913e6e 295916 r=mrbkap sr=bz a=shaver
- make parser handle calling Parse with an empty string and aLastCall=true
  correctly
- call that from document.close() even in the non-HTML case


git-svn-id: svn://10.0.0.236/trunk@173960 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 19:13:39 +00:00
timeless%mozdev.org
22257176fd Bug 289068 ASSERTION: WriteToBuffer called with count of zero: 'count', file r:/mozilla/netwerk/cache/src/nsDiskCacheStreams.cpp, line 710
r=jst sr=jst a=shaver


git-svn-id: svn://10.0.0.236/trunk@173928 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 16:10:58 +00:00
bzbarsky%mit.edu
249f50341c Push the mChannel member for documents up to nsDocument and expose it on
nsIDocument.  Bug 292971 preliminaries, r+sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@173866 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 01:15:23 +00:00
bryner%brianryner.com
1cee43af71 Fix crash when closing a tab that contains an image (bug 294630). Patch by bz / beaufour, r+sr=me, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@173618 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-20 01:31:26 +00:00
bzbarsky%mit.edu
79f2b8e2c7 Fix crash if the DOM gets rearranged while we're parsing. Bug 294235,
r+sr=peterv, a=asa


git-svn-id: svn://10.0.0.236/trunk@173594 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-19 19:56:13 +00:00
aaronleventhal%moonset.net
248c8d6370 Bug 294180. MSAA positional descriptions wrong for radio buttons in HTML form. r=timeless, sr=bz, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@173526 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-17 21:50:27 +00:00
vladimir%pobox.com
d402e4cb98 b=293267, fix canvas rendering speed, r+sr=bz,a=shaver
git-svn-id: svn://10.0.0.236/trunk@173353 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-12 21:34:56 +00:00
bzbarsky%mit.edu
2e6c4b317a Fix bug 293588 -- make sure to not store form data in the wrong session history
entry.  r+sr=bryner, a=brendan


git-svn-id: svn://10.0.0.236/trunk@173350 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-12 20:53:33 +00:00
bzbarsky%mit.edu
a0fb641ffa Remove unused variable. r=timeless, sr=lumpy, a=asa
git-svn-id: svn://10.0.0.236/trunk@173275 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 23:41:48 +00:00
bryner%brianryner.com
41e0a9483a Fix form state save/restore so that it uses the correct history entry (bug 293135). r+sr=bzbarsky, a=shaver.
git-svn-id: svn://10.0.0.236/trunk@173242 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 02:06:29 +00:00
vladimir%pobox.com
8ed9af21f3 b=293407, canvas uses wrong frame type; 293306, canvas leaks memory; 293225, default canvas height should be 150, r+sr=bzbarsky,a=shaver
git-svn-id: svn://10.0.0.236/trunk@173239 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 00:28:30 +00:00
bzbarsky%mit.edu
c1677f8f9d Fix typo that kept data: images from updating the titlebar. Bug 293399,
r=biesi, sr=brendan, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@173199 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-08 23:21:36 +00:00
vladimir%pobox.com
99efffd5fc b=291216, canvas should not be an empty element, default width/height, fallback content should not be rendered, r+sr=bzbarsky, a=brendan/shaver
git-svn-id: svn://10.0.0.236/trunk@173165 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-07 03:45:06 +00:00
bryner%brianryner.com
9f95361f24 Don't notify form submit observers if the form can't be submitted due to not having a link handler. Also, make sure all nsIFormSubmitObserver implementations protected against a null DOMWindow. Bug 292960, r+sr=bzbarsky, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173163 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-07 00:16:17 +00:00
bryner%brianryner.com
189a661d09 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00