14498 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
c40043be49 Text decorations should not be painted on elements with 'visibity: hidden'. b=185581 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@135479 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 00:24:18 +00:00
dbaron%fas.harvard.edu
d515d330cd Allow relative positioning to again influence the overflow area, since we're no longer using the overflow area for layout. r+sr=roc b=174149
git-svn-id: svn://10.0.0.236/trunk@135478 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 00:23:00 +00:00
dbaron%fas.harvard.edu
c73090b5b6 Make quirks-mode vertical alignment correctly consider only non-collapsed whitespace. b=155333 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@135477 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 00:21:07 +00:00
dbaron%fas.harvard.edu
a7efa8275b Replace NS_BLOCK_WRAP_SIZE with making unconstrained-width reflow of frames with NS_BLOCK_SPACE_MGR consider the floats. This means we no longer use the overflow area for layout (other than the overflow property). Handle right floaters in unconstrained width reflow by just treating them as left floaters. b=172896 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@135476 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 00:12:08 +00:00
sfraser%netscape.com
6d7382630d Fix booleans returned by nsBox to have the low bit set. Bug 185951. r/sr=kin
git-svn-id: svn://10.0.0.236/trunk@135471 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 23:51:55 +00:00
jkeiser%netscape.com
ac42e42ba8 Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@135468 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 23:38:09 +00:00
nhotta%netscape.com
3a03e1c043 Adding a new interface to retrieve phonetic of input text,
bug 175937, r=brade, sr=kin.


git-svn-id: svn://10.0.0.236/trunk@135438 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 23:38:04 +00:00
jkeiser%netscape.com
0b701faeb3 Make empty dropdowns handle key events (bug 147148), r=peterl@netscape.com, sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@135373 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 00:56:01 +00:00
jkeiser%netscape.com
12458accbb Crasher on changing input type with JS (bug 175670), patch by Rick.Ju@sun.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@135365 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-16 23:49:16 +00:00
jkeiser%netscape.com
d5d000ed33 Make empty tables with fixes layout show up (bug 128873), r=karnaze@netscape.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@135340 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-16 07:58:39 +00:00
bratell%lysator.liu.se
ba519d3390 Backout of bug 110718 to fix Tp regression and raise-on-load issues.
git-svn-id: svn://10.0.0.236/trunk@135333 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-15 19:52:22 +00:00
dbaron%fas.harvard.edu
fb891bd028 Remove DEBUG code that causes leak of VoidArray's mChildren. Patch from Harshal <keeda@hotpop.com>. r=bzbarsky sr=dbaron b=146549
git-svn-id: svn://10.0.0.236/trunk@135324 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-15 16:13:21 +00:00
dbaron%fas.harvard.edu
043b1f6e0b Add testcases for 134580 and 155333.
git-svn-id: svn://10.0.0.236/trunk@135316 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-15 01:47:10 +00:00
sspitzer%netscape.com
002b9c21ce fix typo in comment.
git-svn-id: svn://10.0.0.236/trunk@135308 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 20:18:56 +00:00
bernd.mielke%snafu.de
9b8af87292 dont paint borders for hidden table frames, callqueryinterface cleanup bug 32199 r=karnaze sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@135304 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 17:52:27 +00:00
roc+%cs.cmu.edu
f1cc64ede4 Bug 172031. Make CanvasFrame put back the block preferred size before incrementally reflowing its block, since the block needs that preferred size to incrementally reflow its absolute frames properly. r=karnaze,sr=kin
git-svn-id: svn://10.0.0.236/trunk@135302 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 16:55:41 +00:00
roc+%cs.cmu.edu
8293c257e0 Bug 173072. Ensure that after styles are cleared, we reexecute any work that could depend on the cleared style structs, to ensure a later CalcStyleDifference will not ignore a style struct we really depend on. r+sr=kin
git-svn-id: svn://10.0.0.236/trunk@135301 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 16:18:57 +00:00
aaronl%netscape.com
ed5fb21283 Bug 110718. During the 'transferring' when the currently visible document is a zombie, the keyboard is dead for the entire document. r=bryner, sr=hyatt+scc
git-svn-id: svn://10.0.0.236/trunk@135298 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 08:05:51 +00:00
rbs%maths.uq.edu.au
76ce811794 Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst
git-svn-id: svn://10.0.0.236/trunk@135264 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 22:12:10 +00:00
dbaron%fas.harvard.edu
721fd4b402 Don't set NS_BLOCK_SPACE_MGR and NS_BLOCK_WRAP_SIZE on relatively positioned blocks, by default. Use |ConstructBlock| for them rather than duplicating it, slightly incorrectly. b=180711 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@135259 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 20:13:17 +00:00
bernd.mielke%snafu.de
fbc508401a cleanup of unsigned int arithmethic + callqueryinterface, initial patch by tenthumbs@cybernex.net bug 157153 r=karnaze sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@135250 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 15:21:38 +00:00
cbiesinger%web.de
6f84bb1ca2 182554 r=caillon sr=roc+moz cleanup nsImageMap.cpp
git-svn-id: svn://10.0.0.236/trunk@135196 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 23:22:17 +00:00
dbaron%fas.harvard.edu
119ebf6760 Fix uninitialized variable introduced last night. b=1777
git-svn-id: svn://10.0.0.236/trunk@135133 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 15:59:24 +00:00
timeless%mozdev.org
1e25a32c7e Bug 133714 Probably harmless typo.... (PresShell::SetCaretReadOnly Unreachable statement)
patch by riceman+bmo@mail.rit.edu r=timeless sr=bz


git-svn-id: svn://10.0.0.236/trunk@135131 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 15:04:26 +00:00
peterv%netscape.com
3a3c75b9f7 Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +00:00
caillon%returnzero.com
8a1bf17a45 Re-landing these because I don't believe this are responsible for the Txul spike.
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@135125 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:05:41 +00:00
bzbarsky%mit.edu
9f1c84eb30 And backing bug 182124 yet again... why is comet the _only_ tinderbox showing
the problem?


git-svn-id: svn://10.0.0.236/trunk@135121 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 12:42:50 +00:00
bzbarsky%mit.edu
9bee87fcca relanding bug 182124 since it looks like comet was just noise and the other Ts
boxes that cycled with this show no problems...


git-svn-id: svn://10.0.0.236/trunk@135112 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:40:14 +00:00
caillon%returnzero.com
d751688cb9 Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
git-svn-id: svn://10.0.0.236/trunk@135111 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:11:02 +00:00
bzbarsky%mit.edu
e69b0ba88c Backing out bug 182124 because I think it caused Ts to go up...
git-svn-id: svn://10.0.0.236/trunk@135109 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 04:35:37 +00:00
caillon%returnzero.com
b14aafcb58 Removing ifdef. r/sr=roc+moz. bug 181975
git-svn-id: svn://10.0.0.236/trunk@135102 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 04:11:04 +00:00
dbaron%fas.harvard.edu
10a7236c6a Correctly implement text-decoration in standards mode by drawing the underline on the element with the text-decoration property set. Refactor painting code a bit to avoid code duplication. Patch by Esben Mose Hansen <esben@oek.dk>, with paint refactoring and some other changes by dbaron. r=dbaron sr=bzbarsky b=1777
git-svn-id: svn://10.0.0.236/trunk@135099 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 04:00:18 +00:00
dbaron%fas.harvard.edu
e4a0d80702 Oops. Make this assertion that snuck in (for bug 81268) |#ifdef DEBUG_dbaron| for now, since it fires sometimes.
git-svn-id: svn://10.0.0.236/trunk@135098 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 03:35:21 +00:00
bzbarsky%mit.edu
d1a0c8d1d1 Chrome protocol handler should not munge URIs on channel open (and remove some
workarounds around that behavior).  Bug 182124, r=rjc, sr=darin


git-svn-id: svn://10.0.0.236/trunk@135096 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 03:29:27 +00:00
kyle.yuan%sun.com
0be0d7608a Bug 159947 no way to multiselect using keyboard in list box
r=akkana, sr=bryner
Use charCode instead of keyCode to check whether a key typing is SPACE


git-svn-id: svn://10.0.0.236/trunk@135095 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 03:24:27 +00:00
dbaron%fas.harvard.edu
0da606ffe7 Clean up twisty maze of IBMBIDI ifdefs related to HorizontalAlignFrames and fix an RTL alignment bug. b=131023 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@135094 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 02:38:33 +00:00
dbaron%fas.harvard.edu
c6828396c3 Release theme global in nsBox from layout module destructor instead of on a object count for objects whose destructors are not all called. (Adds nsBox to the leak stats, which will make leaks go up.) b=177807 r=bryner sr=roc
git-svn-id: svn://10.0.0.236/trunk@135093 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 02:33:33 +00:00
dbaron%fas.harvard.edu
8c6d6103fa Fix incorrect check of position property in IsPercentageBase. b=180845 r=roc sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@135092 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 02:29:35 +00:00
bzbarsky%mit.edu
499000aebc Resolve possible problem in the unlikely event that we kick off an async load
for a sheet and then kick off a sync load for the same sheet before the async
load completes...  Bug 183299, r=sicking, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@135083 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 00:28:47 +00:00
bzbarsky%mit.edu
3cfea6bce3 Remove some nsISupportsArray usage in nsSelection in favor of nsCOMArray. Bug
184022, r=timeless, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@135077 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 00:02:49 +00:00
caillon%returnzero.com
8eb8abf86c 182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
r=sicking sr=peterv


git-svn-id: svn://10.0.0.236/trunk@135071 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:44:03 +00:00
caillon%returnzero.com
6b60a8affb Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@135068 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:41:12 +00:00
bzbarsky%mit.edu
d4442c2e0d Use a prescontext from the same document as the frame when trying to get
views.  Bug 180329, r=peterv, sr=roc+moz, a=brendan.


git-svn-id: svn://10.0.0.236/trunk@134973 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 15:02:18 +00:00
jkeiser%netscape.com
10e27ad14e Oog. Green and open not enough. jkeiser back self out, keep drivers from hitting with big rock.
git-svn-id: svn://10.0.0.236/trunk@134970 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 06:15:33 +00:00
jkeiser%netscape.com
4749233be8 fix behavior (and crasher) when changing type during event handler (bug 175670), patch by Rick.Ju@sun.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@134968 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 05:56:58 +00:00
roc+%cs.cmu.edu
2d32b81421 Checking in bug 90099 again since it seems tnot to have caused Tp regression. Make sure table cells and other odd frames are given views if they need them. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@134892 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 14:22:11 +00:00
dbaron%fas.harvard.edu
628288dc8a Fix build bustage inside |#ifdef DEBUG_dbaron|. (Not part of build.)
git-svn-id: svn://10.0.0.236/trunk@134884 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 04:42:49 +00:00
roc+%cs.cmu.edu
4d55566a79 Backing out fix for bug 170330 due to Tp regression
git-svn-id: svn://10.0.0.236/trunk@134882 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu
6895913433 backing out fix to 90099 to check Tp effect
git-svn-id: svn://10.0.0.236/trunk@134874 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 02:24:35 +00:00
bzbarsky%mit.edu
7b2de6a1f3 Fix crash in some icky document.write() cases.. We gotta stop blocking the
parser.  Bug 183784, r=sicking, sr=peterv, a=asa


git-svn-id: svn://10.0.0.236/trunk@134869 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 01:27:37 +00:00