15309 Commits

Author SHA1 Message Date
dbaron%dbaron.org
1f886d0f11 Temporary fix for 'overflow: hidden' on table cells. b=221140 r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147926 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 21:58:12 +00:00
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
dbaron%dbaron.org
40fec1f1d6 Removed unused file.
git-svn-id: svn://10.0.0.236/trunk@147918 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 19:50:43 +00:00
uid502
6b34cca104 Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147868 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 12:00:05 +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
bmlk%gmx.de
1a2e8df311 document.write(some object) writes the object type and the object address in debug builds. This creates false positives in layout regression tests.
git-svn-id: svn://10.0.0.236/trunk@147845 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 16:30:38 +00:00
bzbarsky%mit.edu
7a4ee2fe57 Don't scroll anchors entirely out of view when we click on them. Bug 195905,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147825 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 02:35:05 +00:00
bzbarsky%mit.edu
90e284491b Use UnionRect instead of reimplementing it in the block code. Bug 220741,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147822 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 01:12:55 +00:00
dbaron%dbaron.org
dc67cb5024 Add comments.
git-svn-id: svn://10.0.0.236/trunk@147761 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-08 20:04:20 +00:00
rbs%maths.uq.edu.au
e42401a4bf Re-sync some weak style pointers when the primary one is changed, patch by steve.swanson@mackichan.com, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@147678 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 08:27:40 +00:00
rbs%maths.uq.edu.au
6e0c6b72d0 Some explanatory comments
git-svn-id: svn://10.0.0.236/trunk@147677 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 08:22:21 +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
b9d414668f Relanding fix for bug Bug 219693, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147622 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 13:13:37 +00:00
bsmedberg%covad.net
2fb097b78d Further cleanup from bug 179834 r=dougt sr=darin. This shouldn't affect anything, because neither OS/2 nor Mac are using a GRE yet.
git-svn-id: svn://10.0.0.236/trunk@147619 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 12:17:26 +00:00
bzbarsky%mit.edu
2f8b20fd88 Adding regression tests
git-svn-id: svn://10.0.0.236/trunk@147613 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 05:08:24 +00:00
bzbarsky%mit.edu
1833145a2b Backing out for now, till fallout from tree redness settles.
git-svn-id: svn://10.0.0.236/trunk@147612 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 04:23:56 +00:00
bzbarsky%mit.edu
9fbcdde0d4 Make quirks %-heights on kids of scrolling parents work the same way as for
non-scrolling parents.  Bug 219693, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147608 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 02:58:19 +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
fa7cb8115d Use mozconfig-find to make this work with mozconfig locations other than ~.
git-svn-id: svn://10.0.0.236/trunk@147596 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 00:57:36 +00:00
bzbarsky%mit.edu
638e691964 Make this sorta limp on Unix (where there is no cygpath stuff)
git-svn-id: svn://10.0.0.236/trunk@147595 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 00:56:49 +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
dbaron%dbaron.org
9c720d744b Remove duplication at the end of a comment.
git-svn-id: svn://10.0.0.236/trunk@147533 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 20:12:53 +00:00
dbaron%dbaron.org
09fb6e829c Remove discontinuity at height of 0. b=220266 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147519 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 22:25:28 +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
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
bryner%brianryner.com
4995514c49 Updating my email address
git-svn-id: svn://10.0.0.236/trunk@147418 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-29 06:04:02 +00:00
dbaron%dbaron.org
1253348a57 Remove LL_TEXTSTARTSWITHNBSP, since it's a partial and broken solution to the problem, and it's in the wrong place. b=187899 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@147413 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 22:56:08 +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
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
bmlk%gmx.de
15441b0462 fieldset frames should report overflow area, bug 96506 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147364 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 14:53:17 +00:00
bmlk%gmx.de
205e630bce allow empty row groups in the border collapse access to the cellmap. bug 217769 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147360 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 12:00:56 +00:00
jst%mozilla.jstenback.com
5b77a28726 Fixing issue raised in bug 215981.
git-svn-id: svn://10.0.0.236/trunk@147359 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 06:24:54 +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
bzbarsky%mit.edu
2c479918b7 Remove bogus 1px adjustment that harkens back to imagelib1. Bug 220174,
r=pavlov, sr=tor


git-svn-id: svn://10.0.0.236/trunk@147333 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-26 16:43:19 +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
bzbarsky%mit.edu
0f24116727 Make <select size="0"> act like <select size="1">, and some tweaks to make
<select size="1" multiple> work better.  Bug 182681, patch idea from
the_great_spam_bin@yahoo.com (Ari), r=bryner, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147287 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 05:44:51 +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
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
bmlk%gmx.de
52c5a559e1 include previously removed borderpadding and cellspacing, bug 215629, r=jkeiser sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147248 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 16:04:54 +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
timeless%mozdev.org
2da58a87aa Bug 220057 Crash using nsBoxObject w/ null mContent
r=roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@147208 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 01:47:46 +00:00
uid502
e9d6a45b46 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@147169 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:05:29 +00:00