mvl%exedo.nl
c0b2e4667b
Make content policy api (nsIContentPolicy) not suck.
...
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@156366 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 18:34:18 +00:00
bryner%brianryner.com
fd49d1a9e1
nsCSSValue::Reset does not seem to be inlined with -Os, so adding NS_HIDDEN here as well.
...
git-svn-id: svn://10.0.0.236/trunk@156360 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 17:09:20 +00:00
bzbarsky%mit.edu
16d46a5fcf
Don't reset the notification timer on every parse start/stop. This speeds up
...
flurries of little document.write calls a good bit. Bug 242899, r=peterv,
sr=jst
git-svn-id: svn://10.0.0.236/trunk@156333 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 01:39:29 +00:00
bryner%brianryner.com
b4bc041626
Apply NS_HIDDEN to nsCSSValue, nsRuleNode, and nsStyleContext based on profiling data showing that these functions have very high call counts. Bug 227537, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@156319 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-12 21:20:09 +00:00
jst%mozilla.jstenback.com
f5c57b41d9
Fix for bug 241058. Debug only crash due to nsCOMPtr's internal checks when QI'ing. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@156277 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-12 01:57:54 +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
bzbarsky%mit.edu
e353d1759e
Remove vestiges of <input type="browse">. Bug 242873, r+sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@156249 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-11 18:16:41 +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
jst%mozilla.jstenback.com
b91a41077c
Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
...
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +00:00
caillon%redhat.com
8b416c61bf
We need to also copy over mAppearance in the nsCSSDisplay copy constructor
...
r+sr=bzbarsky via irc; no bug.
git-svn-id: svn://10.0.0.236/trunk@156105 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:41:38 +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
caillon%redhat.com
b9425c4a43
Remove '-moz-resizer' from the style system.
...
Bug 242712. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156009 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 21:37:32 +00:00
bzbarsky%mit.edu
bb37b0e5f6
Add and use some convenience functions on nsCSSRect. Bug 208731, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@155954 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 00:43:50 +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
bryner%brianryner.com
7247372aa3
deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +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
bryner%brianryner.com
b65ef5dbc6
Implement basic support for DOM level 2 UIEvents, and implement DOMActivate for HTML form control elements. Also minor usage cleanup for nsIDOMUIEvent. Bug 60212, r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@155788 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 23:55:16 +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
sicking%bigfoot.com
9cd3d7061b
Bug 241924: Use SetValueInternal so we don't get caught in security checks.
...
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@155667 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 00:52:53 +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
bzbarsky%mit.edu
dce306232a
Add a version of CheckLoadURI that takes a source principal instead of a source
...
URI. Update a bunch of callers to use it. Bug 233108, r=caillon, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@155487 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 16:55:27 +00:00
bmlk%gmx.de
5c3938ad6a
remove unused files bug 240559 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@155320 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-22 04:27:54 +00:00
bmlk%gmx.de
3d248b601b
Remove unused functions bug 240559 r/sr =bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@155289 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-21 15:49:29 +00:00
dbaron%dbaron.org
c3fed60645
Call AddBaseTagInfo for LINK, META, SCRIPT, and STYLE elements, and also call SetContentID for META elements. b=241128 r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@155256 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-20 23:41:56 +00:00
bzbarsky%mit.edu
5b2a6da9da
Fix HasAttributeDependentStyle to not assume that class and ID attributes are
...
named "class" and "id". Bug 240766, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155242 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-20 19:48:20 +00:00
bzbarsky%mit.edu
19a39fd9a3
Don't allow negative line-heights to make it past the CSS parser. Bug 240900,
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155088 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 20:10:09 +00:00
gerv%gerv.net
2ac510b678
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
gerv%gerv.net
5a6ece6544
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155064 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:54:27 +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
darin%meer.net
d512bb2e4d
fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@154957 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 23:30:05 +00:00
cbiesinger%web.de
39f2b721ec
Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
...
r=bzbarsky sr=darin
git-svn-id: svn://10.0.0.236/trunk@154941 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:56:37 +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
bzbarsky%mit.edu
5577133073
Remove GenericElementCollection; convert consumers to nsContentList for extra
...
lazy goodness. Bug 76994, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@154850 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 04:26:00 +00:00
bzbarsky%mit.edu
c2c4cce304
Make sure to apply our styles to our anonymous content no matter what the
...
page's style language is. Bug 234761, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@154840 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 02:05:52 +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
sicking%bigfoot.com
21d51f7bdf
Bug 236479: Kill nsMappedAttributes::GetAttribute.
...
Patch by Wladimir Palant (trev@gtchat.de )
r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@154800 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 16:45:59 +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
bzbarsky%mit.edu
5cdb46f69f
Make <frame> elements own their own content viewer/docshell/dom like iframes
...
already do. Refactors some code the two shared into a superclass. Bug 170588,
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@154722 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:47:24 +00:00
sicking%bigfoot.com
49a4f6901b
Bug 236873: Let more elements share classes to save codesize.
...
r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@154716 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:25:17 +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
dbaron%dbaron.org
ab7ff079ea
Rename FOR_CSS_SIDES to NS_FOR_CSS_SIDES, move it, and use it more. b=233795 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@154708 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 21:54:45 +00:00
caillon%redhat.com
9a4301e0e0
Bug 219829
...
Allow mixing length and percentage values with keyword values for the background-position property, which is now allowed per section 14.2.1 of CSS 2.1
r+sr=dbaron
a=asa
git-svn-id: svn://10.0.0.236/trunk@154666 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-10 05:08:02 +00:00
bzbarsky%mit.edu
0614919e63
Fix handling of deleteRow(-1) by table sections (bring it in line with what
...
tables do). Bug 239566, r+sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@154650 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-09 21:05:27 +00:00
bzbarsky%mit.edu
718d29fca7
Cloned script nodes should not reexecute the script. Bug 127016, r=sicking,
...
sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@154649 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-09 21:04:25 +00:00
bzbarsky%mit.edu
3f597c2555
Fix more bustage. Bug 239079. I wish gcc would at least warn on this or
...
something instead of merrily compiling it....
git-svn-id: svn://10.0.0.236/trunk@154494 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-03 19:01:38 +00:00