8033 Commits

Author SHA1 Message Date
dbaron%dbaron.org
39d7b6c84c Miscellaneous cleanup of selector matching code:
* remove extra |if| around loop, and convert it from |while| to |for|.
 * remove extra test for |result|
 * rename |curdata| -> |prevdata| and |newdata| -> |data|.
 * use |IsContentOfType| instead of |GetTag|
b=221531  r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@147925 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 21:54:33 +00:00
dbaron%dbaron.org
33601224e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147924 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 21:51:02 +00:00
bzbarsky%mit.edu
ff3a7b042c Make sure to notify document observers even about content that gets added to
the document before StartLayout().  Block those notifications from getting
passed on to the frame constructor before StartLayout(), though.  Bug 220930,
r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@147865 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 00:27:45 +00:00
neil%parkwaycc.co.uk
4a4f2d7f2d Bug 161452 Tree content and builder views may need to recheck empty status after children are removed based on patch by kyle yuan r=varga sr=bryner
git-svn-id: svn://10.0.0.236/trunk@147831 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 08:39:35 +00:00
dbaron%dbaron.org
b4f655f45c Bustage fixes for bug 221316 no longer needed thanks to bug 221525.
git-svn-id: svn://10.0.0.236/trunk@147721 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 23:21:50 +00:00
cls%seawood.org
75faa3566d what dbaron said
git-svn-id: svn://10.0.0.236/trunk@147716 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 22:43:54 +00:00
dbaron%dbaron.org
2419d717b2 Fix HP-UX and AIX bustage. b=221316
git-svn-id: svn://10.0.0.236/trunk@147712 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 22:15:26 +00:00
neil%parkwaycc.co.uk
5e2aa86f4b Bug 221288 XUL tree builder abuses tree batching r=jan sr=alecf
git-svn-id: svn://10.0.0.236/trunk@147688 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 15:49:50 +00:00
bzbarsky%mit.edu
4651d2cebb Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147623 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 13:24:55 +00:00
bzbarsky%mit.edu
e6d13528ea Better output on null URIs.
git-svn-id: svn://10.0.0.236/trunk@147607 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 02:56:27 +00:00
bzbarsky%mit.edu
4dcff7ec30 Fix debug DumpRegressionData method to not crash on null uris for things like
mBinding, mBackgroundImage, etc


git-svn-id: svn://10.0.0.236/trunk@147603 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 02:16:20 +00:00
darin%meer.net
bc1bb52b19 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147597 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 01:46:31 +00:00
bzbarsky%mit.edu
94a3a8a4cc Useless test for unsigned >= 0. Bug 221292, patch by
mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@147592 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 23:46:55 +00:00
bzbarsky%mit.edu
0bfa6aeb80 Fix bogus loop test that would never let the loop terminate. Bug 221289, patch
by tenthumbs@cybernex.net, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@147588 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 18:12:14 +00:00
hpradhan%hotpop.com
1c581a3fca still bug 218837 : backing out all the backouts. they did not work.
git-svn-id: svn://10.0.0.236/trunk@147582 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 11:28:06 +00:00
hpradhan%hotpop.com
155cccf24e One final attempt to fix Tp regression from bug 218837
git-svn-id: svn://10.0.0.236/trunk@147581 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 10:20:56 +00:00
hpradhan%hotpop.com
b17a745241 backing out part of bug 218837. hoping to fix Tp regression
git-svn-id: svn://10.0.0.236/trunk@147580 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 09:21:41 +00:00
hpradhan%hotpop.com
4fb3a8bf05 bug 218837 : bustage fix
git-svn-id: svn://10.0.0.236/trunk@147578 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 08:09:28 +00:00
hpradhan%hotpop.com
3197ccf7ad bug 218837 : Refactor some code duplicated in the xml and html
content sinks into a base class r=sicking sr=peterv


git-svn-id: svn://10.0.0.236/trunk@147577 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 07:29:50 +00:00
dbaron%dbaron.org
f31588e72c Add empty constructor to fix Sun compiler bustage. b=221187 Patch from Harshal Pradhan <keeda@hotpop.com>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147556 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 16:25:55 +00:00
dbaron%dbaron.org
ba1de95c34 Missed CalcDifference changes in previous patch. r+sr=bzbarsky b=113173
git-svn-id: svn://10.0.0.236/trunk@147549 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 06:36:33 +00:00
bzbarsky%mit.edu
62c2420626 Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@147516 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 21:29:40 +00:00
bzbarsky%mit.edu
b1387a710d Serialize attributes in the same order as they were parsed (and the opposite of
the order in which they were stored, which changed in bug 213347).

Bug 218919, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@147513 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 20:51:09 +00:00
dbaron%dbaron.org
43790f2ab8 Fix DEBUG bustage. b=113173
git-svn-id: svn://10.0.0.236/trunk@147504 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 02:58:40 +00:00
dbaron%dbaron.org
37de3855c7 Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147501 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-01 22:53:56 +00:00
hpradhan%hotpop.com
a10501a530 Bug 217972 : fix warning
git-svn-id: svn://10.0.0.236/trunk@147396 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 08:54:51 +00:00
hpradhan%hotpop.com
178edea0eb Bug 170985 follow up : get rid of some unused code r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@147395 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 08:52:31 +00:00
bzbarsky%mit.edu
6218fccfa7 Make imagemaps work again. Bug 220519, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147392 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 06:28:39 +00:00
stephend%netscape.com
a0d49a147a Trivial grammatical comment change (from 'is that when it recurs' to 'in that when it recurs'... r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@147391 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 06:20:24 +00:00
bzbarsky%mit.edu
d3f59fd91c Fix crash in XUL sort service -- unsigned ints are never less than 0... Bug
220516, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147390 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 06:05:08 +00:00
dbaron%dbaron.org
430fe54987 Spelling too. b=220464
git-svn-id: svn://10.0.0.236/trunk@147388 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 05:39:03 +00:00
dbaron%dbaron.org
bf3d007e09 Fix 80th column violations in code that I just reindented. b=220464
git-svn-id: svn://10.0.0.236/trunk@147387 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 05:35:25 +00:00
dbaron%dbaron.org
d62ef933ed Eliminate excess variables and their baroque (and broken, thanks to the previous checkin) reference counting. b=220464 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147386 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 05:30:09 +00:00
jst%mozilla.jstenback.com
ef67a47aab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bryner%brianryner.com
8621b9339d If we're in the middle of printing when window.close() is called, then defer closing the window until printing completes. This avoids tearing down the presentation while the print engine is still using it. Bug 172921, r=jkeiser, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@147348 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-26 21:45:15 +00:00
bsmedberg%covad.net
68b719e05c Bug 184686 - convert HTMLFormElement to use nsTHashtable
r=jkeiser sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147341 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-26 19:26:17 +00:00
bzbarsky%mit.edu
af8ba69ee3 Make charset-detection code work with just a BOM (no @charset rule) in the
sheet.  Bug 218915, r=smontagu, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147288 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 05:57:28 +00:00
dbaron%dbaron.org
7f83c6facc Fix regression of scrolling attribute and overflow property on frame and iframe elements. Make the two interact correctly according to CSS cascading rules. b=220195 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147278 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 03:55:04 +00:00
bzbarsky%mit.edu
4675771501 Fix GetAttributes() in XUL to work right. Bug 169825, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@147277 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 03:51:12 +00:00
bzbarsky%mit.edu
c2dacdb070 Make userContent.css come after the prefs sheet in the user sheet list (so that
rules in userContent.css can override prefs).  Bug 215668, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147251 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 19:03:06 +00:00
bzbarsky%mit.edu
c6a7e9b410 Fix GetID to not try to get attrs in unknown namespaces. Bug 220027, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@147236 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 13:22:09 +00:00
hpradhan%hotpop.com
3dd9b150e5 Bug 170985 : fix for gcc3.4 bustage
git-svn-id: svn://10.0.0.236/trunk@147226 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 07:30:16 +00:00
hpradhan%hotpop.com
2386bca751 Bug 170985 : table-based content object creation r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@147220 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 06:16:52 +00:00
bzbarsky%mit.edu
bb9f55d007 Make DOM CSS declarations smaller by mRefCnt, since they are refcounted
together with their DOM rules (except for inline style).  Bug 215735,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147214 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 03:34:27 +00:00
peter%propagandism.org
ea481fdedc Fix for bug 85798 (INUSE_ATTRIBUTE_ERR expected when using setNamedItem()). r=sicking, sr=jst.
Fix for bug 127205 (setNamedItemNS() in NamedNodeMap  doesn't set the item properly). r=sicking, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@147164 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 13:46:20 +00:00
peter%propagandism.org
ee899ed492 Fix for bug 219819 (.nodeValue shouldn't throw NO_MODIFICATION_ALLOWED_ERR for documents and elements). r/sr=jst.
Fix for bug 206416 (tagName property of element created with xmlDocument.createElementNS should contain the qualified name but contains only the local name). r=bz, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@147163 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 13:45:48 +00:00
peter%propagandism.org
f0d854f975 Fix for bug 219819 (.nodeValue shouldn't throw NO_MODIFICATION_ALLOWED_ERR for documents and elements). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@147162 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 13:45:02 +00:00
dbaron%dbaron.org
f627142fa1 Fix --disable-xul bustage. b=219058
git-svn-id: svn://10.0.0.236/trunk@147128 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-22 23:53:07 +00:00
dbaron%dbaron.org
68981b901b Accept :-moz-tree-* pseudo elements with a single colon in them. b=219058 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147100 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-21 05:21:40 +00:00
hpradhan%hotpop.com
f52f228748 Bug 217972 : nsRDFDOMNodeList cleanup r=caillon sr=jst
git-svn-id: svn://10.0.0.236/trunk@147085 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-20 06:15:54 +00:00