bryner%brianryner.com
5d17ec2995
Remove unneeded nsIContentList interface (bug 280746). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@168732 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 23:16:02 +00:00
peterv%propagandism.org
97b681583e
Fix for bug 278505 (Trivial content cleanup). r/sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@168193 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-23 18:21:34 +00:00
jst%mozilla.jstenback.com
0dba9077d7
Backing out change that slipped in with my last checkin.
...
git-svn-id: svn://10.0.0.236/trunk@167745 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 21:45:41 +00:00
jst%mozilla.jstenback.com
0888e05779
Landing fix for bug 198533. Patch by smaug@welho.com. Making nsXULElement inherit nsGenericElement. r=bugmail@sicking.cc, sr=jst@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@167743 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 19:30:55 +00:00
bryner%brianryner.com
2474296ae5
Remove nsIHTMLContent interface (bug 276959). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@167619 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 19:45:38 +00:00
neil%parkwaycc.co.uk
df2668e776
Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
3028d60ea3
Fix some case issues with getElementsByTagName(NS) in tag-soup and XHTML. Bug
...
264609, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@164539 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-28 02:34:21 +00:00
bzbarsky%mit.edu
c1bd80ae5c
Don't go through presshells to get to our window; just use the global object.
...
This fixes various issues that could bite display:none iframes, in particular
bug 262998. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@163315 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 20:24:18 +00:00
jst%mozilla.jstenback.com
57e55d8a58
Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@161580 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 16:50:12 +00:00
bryner%brianryner.com
2dbfb983b1
Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00
peterv%propagandism.org
b68b476d99
Fix for bug 244392 (Removing lines form a Bullet list using the [ back arrow ] or [Delete] keys results in <> and </> tags embedded in code when in Normal Mode). r=brade, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@160993 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-19 12:45:47 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
dbaron%dbaron.org
59572fab24
Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159965 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 07:08:41 +00:00
jst%mozilla.jstenback.com
7eadd82b04
Fixing bug 253121. Make wyciwyg channels and documents carry the source channels security info. r=darin@meer.net, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@159942 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 00:26:58 +00:00
peterv%propagandism.org
542c31e213
Remove redundant nsDocument::CreateElement function. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@159656 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-22 14:54:49 +00:00
bzbarsky%mit.edu
1b04542f5d
Fix preshints in anonymous content some more (by moving all document sheet
...
styleset munging out of the document viewer and into the document and splitting
out the preshint levels completely from the other CSS levels). Bug 234861,
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159283 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 20:30:30 +00:00
neil%parkwaycc.co.uk
6581928821
Fix <textarea> b=249665 and quirks <input> b=249416 debug weirdness r/sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@158754 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 10:16:39 +00:00
peterv%propagandism.org
0a98e68e54
Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
mkaply%us.ibm.com
1cd37b54dd
#245274
...
r/sr = jst
Make quirks mode not validate createElement's tagName argument to preserve 1.4 compat
git-svn-id: svn://10.0.0.236/trunk@157316 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-02 16:21:22 +00:00
bzbarsky%mit.edu
73690f9d73
Change FlushPendingNotifications to have more granularity and update callers to
...
only flush the things they really need flushed. Bug 144072, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@157037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 22:08:42 +00:00
roc+%cs.cmu.edu
bdc7e5f59b
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu
af7c69e56c
Relanding, since backing out did not fix orange. Bug 232691.
...
git-svn-id: svn://10.0.0.236/trunk@156781 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
3594b59c19
Backing out to attempt to fix Mac orange. Bug 232691
...
git-svn-id: svn://10.0.0.236/trunk@156776 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
b500ffc684
Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
...
using EmptyC?String instead. Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@156769 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 17:04:53 +00:00
bzbarsky%mit.edu
2c57a14935
Add suport for a "text/plain" first arg to document.open() (no support for any
...
other types, and none really planned). Bug 73409, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@156737 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-21 21:32:11 +00:00
jst%mozilla.jstenback.com
94aed51def
Fixing one more part of bug 243034. Avoid wasting time on string concatenation document.write() when we don't need to concatenate. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@156266 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-11 22:37:31 +00:00
jst%mozilla.jstenback.com
664af3f1f1
Fixing bug 243034. Prevent converting string data to UTF-8 only to store it in the cache when document.write()'ing. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@156178 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-09 21:37:32 +00:00
bzbarsky%mit.edu
becfd4ed74
Make sure to re-lookup the entry pointer if the table changed while we flush.
...
Supplement to bug 240633, r+sr=brendan
git-svn-id: svn://10.0.0.236/trunk@156123 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-08 06:07:04 +00:00
bzbarsky%mit.edu
34dea24b9d
Do a better job of flagging "reserved" names and don't flush till we know we're
...
not dealing with one of those in ResolveName. Bug 240633, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@156103 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:02:40 +00:00
bzbarsky%mit.edu
c0cd0937ba
Move presentation attributes into the UA level in non-HTML documents and a
...
separate preshint level in HTML. Bug 234861, r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@155949 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 00:30:57 +00:00
silver%warwickcompsoc.co.uk
8ba276ba57
Bug 240962 - Move TryChannelCharset up to nsDocument, and use it for XML and XHTML documents.
...
r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@155839 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 19:48:54 +00:00
jst%mozilla.jstenback.com
fac9cd6517
Checking in patch by smaug@welho.com. Fixing bug 242151. Making document.body work right in XHTML documents when the body is a frameset element. Also fixing a compiler warning while I'm at it. r+sr=jst@mozilla.jstenback.com
...
git-svn-id: svn://10.0.0.236/trunk@155758 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 17:44:53 +00:00
jst%mozilla.jstenback.com
74089032ff
Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
bzbarsky%mit.edu
9293f1009d
Implement "replace" argument for document.open(). bug 164821, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@155618 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-28 01:40:39 +00:00
bryner%brianryner.com
3b4b8ed6c9
deCOMtaminate nsIScriptObjectPrincipal (bug 240745). This also fixes some code in nsCrypto.cpp that sems to have been mis-braced (I don't think it was working as intended). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@155049 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 00:28:47 +00:00
gerv%gerv.net
98831918fc
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu
16f1f02320
Make getElementsByAttribute be an nsContentList so that it's got that live
...
DOMNodeList goodness that all nodelists should have. Change some JS to not
break, and some other JS to be a little more efficient with the new world of
lazy listness. Bug 240186, r=neil on the JS changes, r=jst on the content
changes, sr=jst
git-svn-id: svn://10.0.0.236/trunk@154907 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 01:51:32 +00:00
jst%mozilla.jstenback.com
0a001bb675
Fixing bug 240321. Making XHTML documents default to UTF8 in stead of trying to autodetect or what not. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@154832 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 22:28:16 +00:00
jst%mozilla.jstenback.com
11e4581e68
Fixing bug 239953. Remove duplicated code in nsContentUtils. r=jonas@sicking.cc, sr=peterv@propagandism.org.
...
git-svn-id: svn://10.0.0.236/trunk@154766 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:21:50 +00:00
jst%mozilla.jstenback.com
f39d004081
Fixing bug 240122. Making the document.body setter do the right thing, and be faster and less bloaty. Also deCOMtaminate accesskey code in nsGenericHTMLElement. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@154727 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 23:30:01 +00:00
sicking%bigfoot.com
e4632ed495
Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
...
r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@154723 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:48:33 +00:00
dbaron%dbaron.org
a12a464f6d
De-COM-ify nsHTMLStyleSheet. b=239008 r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@154709 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 21:56:09 +00:00
darin%meer.net
b9dcb1f1b3
landing marco's patch for bug 238928 "domstubs.idl should not include nsAString.h" r=bsmedberg sr=jst a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@154430 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-01 19:44:17 +00:00
brade%comcast.net
bd35822cb0
fix for bug 237103; implement QueryCommandIndeterm; patch by Alexandre Trémon; r=brade, sr=jst; a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154106 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-19 14:17:51 +00:00
sicking%bigfoot.com
d706565d96
Bug 232706: Make nsAttrValue able to directly store all needed datatypes without using nsHTMLValue. Move parsing of various types from nsHTMLValue to nsAttrValue. Rename StringToAttribute to ParseAttribute and make it return a PRBool, as well as make a couple of minor fixes in the ParseAttribute code.
...
r=caillon sr=jst
git-svn-id: svn://10.0.0.236/trunk@153510 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 02:06:28 +00:00
bzbarsky%mit.edu
ee0a2e7a8a
Move CreateCDATASection, CreateProcessingInstruction, and CreateEntityReference
...
up to nsDocument so they're available in XHTML documents. Bug 69840, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@153443 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 22:39:46 +00:00
darin%meer.net
55688e6410
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
...
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
jst%mozilla.jstenback.com
d28978604e
Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@152654 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:09:51 +00:00