3640 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
d84ff0d2af Make sure to reframe when the "rules" attribute changes, since tables cache all
sorts of border-collapse stuff across reflows.  Bug 226593, r=bernd, sr=dbaron,
a=brendan


git-svn-id: svn://10.0.0.236/trunk@150021 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-04 06:26:15 +00:00
bzbarsky%mit.edu
bac812f5fa Fix issues with radios that have identical name and id (and multiple nodes in
the doc with the same id!  bad!).  Bug 183940, r+sr=jst, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@149713 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-25 02:34:05 +00:00
dbaron%dbaron.org
a8191642ef Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@149687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-24 19:46:25 +00:00
jst%mozilla.jstenback.com
961b107ea1 Fixing bug 224952. Making uri attributes default to empty string in stead of null for compatibility with IE. r=caillon@aillon.org, sr=bzbarsky@mit.edu, a=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@149597 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-21 00:59:15 +00:00
jst%mozilla.jstenback.com
2affc5b4f0 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
caillon%returnzero.com
6809f01316 Followup to 225411
XHTML as XML documents need to support the document.xml* DOM 3 attributes
r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@149510 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-18 22:07:53 +00:00
bzbarsky%mit.edu
784c9898e4 Fix serialization of inherit/initial nsCSSRect values. Bug 225841, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@149390 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-16 02:06:38 +00:00
bzbarsky%mit.edu
94d2d661ce -moz-initial, not initial. Use CSS keyword table to prevent this happening
again.  Bug 120903, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@149389 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-16 01:12:50 +00:00
bryner%brianryner.com
43fe192100 fix debug build bustage
git-svn-id: svn://10.0.0.236/trunk@149349 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 08:46:23 +00:00
bryner%brianryner.com
98fb7d2529 deCOMtaminate nsINodeInfo and nsINodeInfoManager. See bug 225060 for details. r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@149340 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 05:27:37 +00:00
caillon%returnzero.com
f106859f0a Bug 225411; updating DOM 3 Core's Document.xml*
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@149295 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-14 11:10:11 +00:00
dbaron%dbaron.org
4c629e6e15 Make aErrorCode values nsresult, since that's what they are. Remove obsolete handling of -1 for EOF and now-obsolete TODO list. b=224254 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@149269 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 22:48:05 +00:00
bzbarsky%mit.edu
b68ca1036b Treat bogus "type" values as "text" consistently. Bug 225103, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@149236 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 05:16:06 +00:00
bzbarsky%mit.edu
844c0e060a Make cloneNode() copy the current value and checked properties for inputs. Bug
197294, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@149129 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-10 23:46:29 +00:00
hpradhan%hotpop.com
20eeead4f2 bug 218297 : disabled property of input elements is not stored in history
r=jkeiser sr=jst


git-svn-id: svn://10.0.0.236/trunk@149098 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-10 05:52:29 +00:00
sicking%bigfoot.com
f064fa0960 Fix build bustage by taking the bug 224331 into account.
git-svn-id: svn://10.0.0.236/trunk@149000 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-07 17:07:03 +00:00
sicking%bigfoot.com
53d568f224 Bug 213445: Treat not having mParent *or* not having mDocument as not being in the documnt to fix radiobuttons created through sinks other then the html-sink.
r=bryner sr=jst


git-svn-id: svn://10.0.0.236/trunk@148997 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-07 16:53:46 +00:00
bryner%brianryner.com
05acc6f72e Inline nsIContent::GetParent() and GetDocument(). Also, remove unused return value on SetParent(). Bug 224331, r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148976 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-07 09:47:23 +00:00
bzbarsky%mit.edu
26efc205f6 Strip quotes from inside col/row-specs (where there should be no quotes to
start with, but some sites just code like that).  Bug 224598, patch by
mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@148952 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-07 04:26:30 +00:00
timeless%mozdev.org
b7e5034597 Bug 224901 oom crash in MakeContentObject for form controls
r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@148932 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-06 23:10:45 +00:00
bryner%brianryner.com
2097395338 Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148857 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-05 05:17:07 +00:00
bzbarsky%mit.edu
460c4b1716 Fix parsing regression bug 224737. Patch by mats.palmgren@bredband.net (Mats
Palmgren), r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@148854 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-05 04:51:17 +00:00
dwitte%stanford.edu
32492a98fc removing redundant variable as a result of my previous checkin.
git-svn-id: svn://10.0.0.236/trunk@148848 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-04 23:15:22 +00:00
dwitte%stanford.edu
ee1a82264b remove support for dom.disable_cookie_{get,set} prefs.
b=223782, r=jst,caillon, sr=alecf,darin (yes really, four reviews).


git-svn-id: svn://10.0.0.236/trunk@148845 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-04 22:44:51 +00:00
bzbarsky%mit.edu
a39be782a9 Correctly ignore adjacent type selectors with no combinator. Bug 224188,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@148812 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-04 03:16:10 +00:00
bzbarsky%mit.edu
d7a72652a6 Refactor child element handling such that we don't duplicate event-firing code
all over (now we just do it in nsGenericElement and nsXULElement).  Bug 223349,
r=sicking, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@148807 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-04 02:15:28 +00:00
peter%propagandism.org
fd46bc361d Restoring fix for bug 224231, didn't affect btek's Tp.
git-svn-id: svn://10.0.0.236/trunk@148726 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-02 15:16:24 +00:00
peter%propagandism.org
f866a4f3f5 Back out a part of the fix for bug 224231 to see if it affects btek's Tp.
git-svn-id: svn://10.0.0.236/trunk@148723 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-02 13:51:42 +00:00
uid502
bdc0f5a1e4 Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@148696 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 22:34:59 +00:00
peter%propagandism.org
e6ae01a399 Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@148687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 10:57:41 +00:00
uid502
e56ed2443c Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
peter%propagandism.org
3ba29338bc Fix for bug 126765 (Change NormalizeAttrString to GetAttrWithName). Original fix by Daniel Bratell and sicking, r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148564 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 13:47:29 +00:00
dbaron%dbaron.org
3e6ac46d96 Backing out previous checkin.
git-svn-id: svn://10.0.0.236/trunk@148539 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 05:11:21 +00:00
dbaron%dbaron.org
1da0caa6ae Rearrange inlining to fix codesize penalty of previous checkin. b=167262 r=bryner
git-svn-id: svn://10.0.0.236/trunk@148536 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 04:34:01 +00:00
dbaron%dbaron.org
ce14bf9e98 Attempt to fix Windows bustage. b=167262
git-svn-id: svn://10.0.0.236/trunk@148529 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 03:34:58 +00:00
caillon%returnzero.com
e64c44f945 Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
Bug 223192; r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@148524 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 03:01:25 +00:00
dwitte%stanford.edu
55a5a686dc remove nsCCookieManager.h in favor of nsNetCID.h.
b=221886, r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@148522 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:59:31 +00:00
bzbarsky%mit.edu
9b121778e7 Remove no-longer-used nav4algorithm code and corresponding debug code. Bug
223155, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@148512 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:19:15 +00:00
bzbarsky%mit.edu
11dc845cec Make attr() parsing have better error reporting and bail on attr(*|foo). Bug
223746, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@148502 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:06:12 +00:00
dbaron%dbaron.org
a7b5bdb4fe Add missing null terminator to fix crash. b=224039 Patch from Adam James Fitzpatrick <ajfitzpatrick@lurking.org>. r+sr=bzbarsky,dbaron
git-svn-id: svn://10.0.0.236/trunk@148497 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 01:53:53 +00:00
dbaron%dbaron.org
776f9f50ae Make play-during a true shorthand so it gets parsed correctly after the nsCSSDeclaration storage rewrite. b=223718 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148496 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 01:51:00 +00:00
dbaron%dbaron.org
1a2977b836 Store the original string for URL values so that composer and CSSOM do not make relative URLs absolute. b=167262 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148494 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 01:45:37 +00:00
dbaron%dbaron.org
220a62afce Implement element.style for XUL elements. Fully fault XUL attributes when style attribute is modified, and ensure that string and style rule versions of style attribute stay in sync. (HTML elements only store the latter.) b=7639 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148493 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 01:40:33 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
caillon%returnzero.com
c1914505cb Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst


git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu
377f61655d Treat BeginUpdate/EndUpdate pairs as a batch, instead of flushing tags on any
BeginUpdate call.  Bug 222864, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@148206 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 16:23:27 +00:00
bzbarsky%mit.edu
e081726408 Fix handling of id attrs to not assume that they are named "id" as much. Bug
208744, r=caillon, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@148205 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 16:16:42 +00:00
varga%nixcorp.com
4743f00758 Changing my email address.
git-svn-id: svn://10.0.0.236/trunk@148204 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 15:35:57 +00:00
bzbarsky%mit.edu
3e2e83624b Create a mozAutoDocUpdate class to handle automatically calling
BeginUpdate/EndUpdate on documents.  Use this in a bunch of places to make sure
that EndUpdate is called in the face of early returns.  Bug 131775, also fixes
bug 211022, r=caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@148033 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-16 18:14:25 +00:00
bzbarsky%mit.edu
d43d8c0e1e Add pref for the default :active styling. Bug 142163, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.


git-svn-id: svn://10.0.0.236/trunk@147979 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 01:56:12 +00:00