3948 Commits

Author SHA1 Message Date
dbaron%dbaron.org
c278517282 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136010 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:19:10 +00:00
alecf%netscape.com
677908c45e another comment typo that was sitting in my tree, again no reviewer...
git-svn-id: svn://10.0.0.236/trunk@135955 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 23:16:05 +00:00
aaronl%netscape.com
27c1dea4ad Bug 110718. Fix keydead problem during Transferring stage of document load, when the currently visible doc is a zombie. r=bryner, sr=jst. Bug 169767. Tabbing in XUL broken when textfield only tabbing pref is set. r=akkana, sr=bryner. Bug 187303. No keyboard access to URL bar when textfield only tabbing pref is set
git-svn-id: svn://10.0.0.236/trunk@135922 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 02:09:06 +00:00
bzbarsky%mit.edu
8d092fcca8 ReResolveStyleContext needs to deal with :before/:after pseudos correctly. Bug
126072, r=dbaron, sr=roc+moz.  Also fixes bug 141259 (incorrect warnings about
style tree integrity).


git-svn-id: svn://10.0.0.236/trunk@135852 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 05:05:17 +00:00
dbaron%fas.harvard.edu
ffb8d9cca7 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
git-svn-id: svn://10.0.0.236/trunk@135757 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 23:53:20 +00:00
dbaron%fas.harvard.edu
37f38041d9 Reduce paint suppression timeout from 1200ms to 250ms (to match Phoenix and Chimera). b=180241 r=rjesup sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@135641 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-26 21:03:23 +00:00
dbaron%fas.harvard.edu
a436a28cb1 Reduce code size by using PaintSelf member function to paint background, border, and outline. b=184702 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@135596 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-23 22:05:47 +00:00
jerry.tan%sun.com
98d4d3661b bug 181644, patch by rick.ju@sun.com, r=bz, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@135580 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-23 06:01:14 +00:00
roc+%cs.cmu.edu
55be3c1d27 Backing out fix for bug 170330... againr=dbaron
git-svn-id: svn://10.0.0.236/trunk@135565 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 05:40:51 +00:00
roc+%cs.cmu.edu
7683fc0475 Tp experiment... See if the extra view sync is causing the Tp regression. Pardon me.
git-svn-id: svn://10.0.0.236/trunk@135561 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 02:12:13 +00:00
jfrancis%netscape.com
072ac8da08 fix for 180034: selection should respect the select_all style. code=mjudge, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@135559 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 01:45:15 +00:00
roc+%cs.cmu.edu
b997358c68 Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@135555 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-21 23:25:38 +00:00
dbaron%fas.harvard.edu
dba21402ff Remove test assertion that I added two days ago. DEBUG-only, r=me
git-svn-id: svn://10.0.0.236/trunk@135534 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-21 01:36:58 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
30ffe3fbf2 Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@134861 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-05 22:29:08 +00:00
yokoyama%netscape.com
fd2d437d51 179822: Flash4 / Flash5 / Shockwave and other plugins crash.
Give an unicode option when SubClassing the widget window.
/r=peterl, /sr=kin


git-svn-id: svn://10.0.0.236/trunk@134742 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 01:17:01 +00:00
karnaze%netscape.com
15faa7640c bug 127286 (part II due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@134740 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 00:58:52 +00:00
bzbarsky%mit.edu
c3731640d3 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.


git-svn-id: svn://10.0.0.236/trunk@134667 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 05:48:14 +00:00
peterv%netscape.com
d103a96ada Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +00:00
dbaron%fas.harvard.edu
2644fbd1b6 Remove unneeded stubs for code to support Navigator 4.x-only suppress attribute. b=182554 r=biesi (who noticed the problem) sr=peterv
git-svn-id: svn://10.0.0.236/trunk@134581 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 23:02:31 +00:00
cbiesinger%web.de
537c0be9c1 removing unused function Area::ToHTML. r=peterv sr=dbaron. no bug.
git-svn-id: svn://10.0.0.236/trunk@134578 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 22:18:01 +00:00
dbaron%fas.harvard.edu
d77395a3b9 Fix margin collapsing of margins other than the first child's top margin out of the top of a block. b=44242, 18206 r=roc (mostly)
git-svn-id: svn://10.0.0.236/trunk@134576 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 19:29:28 +00:00
dbaron%fas.harvard.edu
bbf1cff0b4 Back out previous checkin. b=180711
git-svn-id: svn://10.0.0.236/trunk@134575 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 19:15:27 +00:00
dbaron%fas.harvard.edu
782bef8d5f Don't use default parameters for NS_NewAreaFrame. Make relatively positioned frames not use NS_BLOCK_WRAP_SIZE and NS_BLOCK_SPACE_MGR. b=180711 r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134574 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 19:12:16 +00:00
bzbarsky%mit.edu
0258e6972f Fix crash if a site overrides one of our "magic" rules. Make some of the rules
!important, make nsViewportFrame a containing block no matter what the CSS
says. Bug 181692, r=karnaze, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@134425 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 23:40:58 +00:00
sicking%bigfoot.com
6f8753e832 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz


git-svn-id: svn://10.0.0.236/trunk@134398 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 11:21:22 +00:00