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
bzbarsky%mit.edu
fb59007469
cite property on ins/del should be a URI, not a string. Bug 292754,
...
r+sr=jst, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@173020 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 23:32:35 +00:00
bzbarsky%mit.edu
4ce1a3a293
Remove an unneeded "creating" check, since we'll never have a document while
...
we're still being created now. Bug 289322, r=sicking, sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172991 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 15:56:18 +00:00
bzbarsky%mit.edu
87f32bb860
When a form control is removed from the document and no longer has a form, also
...
check whether it's still in the same subtree as its mForm. If it is, then
don't remove it from the form. Bug 291042, r=sicking, sr=peterv, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172938 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 04:41:06 +00:00
bzbarsky%mit.edu
3f6088524e
Fix border width inheritance by keeping track of both the border width we'd
...
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@172872 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 15:44:38 +00:00
jst%mozilla.jstenback.com
ebed1ee784
Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
bzbarsky%mit.edu
da850874f2
Make sure to addref documents before calling Init(). Bug 291887, r+sr=jst,
...
a=brendan
git-svn-id: svn://10.0.0.236/trunk@172815 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 17:16:19 +00:00
bzbarsky%mit.edu
a16228acf0
Fix crashes when document.load is called on an already-parsing XML document.
...
Bug 289292, r=sicking, sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172812 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 16:57:24 +00:00
bzbarsky%mit.edu
62937cbc08
Create CSSLoaders when the document object is created and deCOMify the getter.
...
Bug 290068, r=sicking, sr=peterv, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172416 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 01:27:11 +00:00
bzbarsky%mit.edu
e2e0f7bfab
Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
...
r=sicking, sr=peterv, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172410 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 22:58:35 +00:00
vladimir%pobox.com
715a56b8a3
more canvas landing horkage fixing
...
git-svn-id: svn://10.0.0.236/trunk@172391 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 07:30:14 +00:00
vladimir%pobox.com
dcf80e9788
b=288714, html canvas implementation, r=various,a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@172389 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 06:33:23 +00:00
bzbarsky%mit.edu
577af8f892
Move the BindToTree call for the document element into SetRootContent. Bug
...
289209, r=sicking, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@172254 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 01:30:14 +00:00
bzbarsky%mit.edu
59247538c5
Make sure we've tried to create our CSSLoader before we try to dereference it.
...
Bug 289765, r+sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@172027 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 15:29:20 +00:00
aaronleventhal%moonset.net
95d3f2bd28
Missing part of checkin for bug 287730. Reporting position of radio buttons, r+sr=bz on missing part, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@171851 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 14:08:12 +00:00