Commit Graph

4229 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
8f29d6b6dd Better mType management when type changes. Bug 325947, r=sicking, sr=dveditz, branc181=sicking, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189578 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 21:06:26 +00:00
bzbarsky%mit.edu
a46e7c6906 Fix init of HTML documents to set the right case-sensitivity on the CSS parser
even for XSLT. Bug 322461, r+sr=jst, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@187261 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 22:05:38 +00:00
mrbkap%gmail.com
f3e1cbb44b bug 321558: void the title in document.open so that titles written out by script are respected. r+sr=bzbarsky a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@187095 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-06 22:08:32 +00:00
mrbkap%gmail.com
d2be8fd392 bug 316049: Hold strong refs to the shell so that flushing doesn't cause it to go away too early. r+sr=jst a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@187093 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-06 22:02:47 +00:00
bzbarsky%mit.edu
eef9eee04d Fix DOMAttrModified event regression bug 314343. Patch by Martijn Wargers
<martijn.martijn@gmail.com>, r=sicking, sr=bzbarsky, a=schrep


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@184082 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 04:50:45 +00:00
bzbarsky%mit.edu
8d5cef2bb7 Make sure to only treat the outermost frameset as body-like. Bug 312942,
r+sr=jst, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182680 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 02:20:31 +00:00
bzbarsky%mit.edu
6e106035e6 Make sure to notify for frameset like we do for body. Bug 312097, r=sicking,
sr=jst, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182360 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 02:53:51 +00:00
bryner%brianryner.com
16d9438074 Make sure plugin focus logic only apples for applet, object, and embed elements. Bug 311111, r+sr=bzbarsky, a=mscott.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181635 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-05 00:36:30 +00:00
aaronleventhal%moonset.net
13707a1bac Bug 310626. Flash text input broken. r+sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181524 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 01:10:15 +00:00
dveditz%cruzio.com
aaa628049f locationless windows need hostname in titlebar (match 1.0x -- bug 304388) r=mconnor/jruderman, sr=bzbarsky, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181396 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 05:20:11 +00:00
bzbarsky%mit.edu
c629095a74 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, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181384 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 02:05:27 +00:00
jst%mozilla.jstenback.com
2a0d353e44 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, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181358 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 22:56:53 +00:00
aaronleventhal%moonset.net
17e839fc22 Bug 309704. Keyboard-only users get stuck in plugins (applet/embed should only be focusable, not tabbable). r=bryner, sr=bz, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181265 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 02:35:03 +00:00
allan%beaufour.dk
505cfe1239 Changing attrs on input called AfterSetAttr too many times. Bug 307249, r+sr+a=bzbarsky. Regression from bug 84400.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181123 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 09:49:17 +00:00
allan%beaufour.dk
706ca03144 Support :enabled/:disabled pseudoclasses. Bug 84400 r+sr=bzbarsky, a=mtschrep (+ regression bug 306614 and bug 306620 r+sr=bzbarsky, a=asa)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181032 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-27 10:29:29 +00:00
bryner%brianryner.com
6e1c594841 Supply a scriptable interface for accessing the nsIEditor (and therefore the anonymous div) of an HTML input or textarea. Bug 303727, r+sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180808 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-22 18:27:01 +00:00
mats.palmgren%bredband.net
52ef7d3b1a 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 a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180661 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-20 19:45:10 +00:00
mrbkap%gmail.com
93da48c8e6 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+a=brendan
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180411 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 18:27:55 +00:00
bzbarsky%mit.edu
0e7af430cd Make addition or removal of frames in a frameset actually change the
rendering. Bug 306660, r=jst, sr=roc, a=mtschrep


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179718 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 19:52:57 +00:00
peterv%propagandism.org
1f2cf3518c Fix for bug 298064 (nsContentUtils::GetDocumentFromCaller() is broken.). r=jst, sr=brendan, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179622 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-04 15:44:04 +00:00
bzbarsky%mit.edu
c1c0f23087 Make sure that a reflow flush on the document makes the sink start layout if
needed. Bug 253951, r=mrbkap, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179274 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 02:25:00 +00:00
bryner%brianryner.com
b052c9192e Fix for focus-stealing via blur() and focus(). Bug 299677, patch by martijn.martijn@gmail.com, r=me, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179146 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-28 00:16:17 +00:00
bzbarsky%mit.edu
c34ebf1f5e Update comment to my review comments. Bug 305640
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179125 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-27 05:16:46 +00:00
mozilla.mano%sent.com
964be8bea4 Bug 300270 - GetDir() always returns empty string. patch from smontagu, r=sicking, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178998 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 21:51:16 +00:00
vladimir%pobox.com
28f0882bf3 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/branches/MOZILLA_1_8_BRANCH@178982 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 20:05:24 +00:00
peterv%propagandism.org
a24ceeff33 Fix for bug 301490 (Rich text editor property useCSS changed meaning). r=brade, sr=brendan, a=brendan.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178937 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 12:44:55 +00:00
jst%mozilla.jstenback.com
e79e2b29b8 Fixing bug 305640. Make document.getElementById() work correctly when the hash changes when flushing. r+sr=bzbarsky@mit.edu, a=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178912 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 05:18:56 +00:00
jst%mozilla.jstenback.com
8935c8423f Landing fix for bug 277434 on the branch. Make plugin elements expose the actual mime type through nsIPluginElement.actualType, not through .type. r+sr=bzbarsky@mit.edu, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178908 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 05:13:05 +00:00
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