Commit Graph

4201 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
3dbbc7ecd3 Restore some frame recursion protection that got lost. Bug 303163, r+sr=jst,
a=cbeard


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178605 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 15:46:13 +00:00
cst%andrew.cmu.edu
1bf5ccd62d Forgot to add a code comment in my last checkin.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178553 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-21 17:47:29 +00:00
cst%andrew.cmu.edu
a44beceb22 Bug 292503 Working images should not have alt text that says there is an error r=biesi sr=jst a=cbeard.
Includes regression fix from bug 305215 by Frank Wein <bugzilla@mcsmurf.de>, r=biesi sr=jst a=cbeard


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178551 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-21 17:33:12 +00:00
bzbarsky%mit.edu
17546ed4ae Make sure that non-image inputs don't claim to have a useful image via
nsIImageLoadingContent. Bug 301635, r=biesi, sr=jst, a=cbeard


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178266 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 17:42:25 +00:00
bzbarsky%mit.edu
67308f41f3 Make sure to set base tag info on the leaf forms we create when HTML is
misnested. Bug 73818, r=mrbkap, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177975 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-17 18:22:50 +00:00
mrbkap%gmail.com
941e888ae2 bug 303267: Back/forward with bfcache on break javascript. We now store the entire inner window in the cache instead of just random properties from it. r=bryner sr=jst a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177856 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 17:59:44 +00:00
bzbarsky%mit.edu
6faa2cc5f3 Don't leak radio visitors through shutdown. Bug 302706, r+sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177740 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 02:46:46 +00:00
bzbarsky%mit.edu
0cc47592c8 Make table.rows["rowid"] work like it should. Bug 295561, r+sr=jst, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177735 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 02:35:42 +00:00
dbaron%dbaron.org
0ef723541e Make nsIChannel implementations follow the rules that prevent them from leaking due to cycles with their notification callbacks. b=303043 r=biesi sr=darin a=cbeard
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177716 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 19:34:01 +00:00
jst%mozilla.jstenback.com
a9f668bc25 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +00:00
roc+%cs.cmu.edu
a4e5443b20 Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there.
git-svn-id: svn://10.0.0.236/trunk@177512 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 20:21:44 +00:00
rbs%maths.uq.edu.au
5c823e99f8 Fallback to about:blank to fix bustage of document.open() in consumers such as View MathML Source, b=289363 r+sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@177303 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 03:15:56 +00:00
jst%mozilla.jstenback.com
792744ce69 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers
git-svn-id: svn://10.0.0.236/trunk@176884 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:57:07 +00:00
bzbarsky%mit.edu
550f9ef2ed Fix firing of mutation events on buttons. Bug 288721, r+sr=jst, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176766 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 16:16:09 +00:00
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