Commit Graph

9940 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
57d6e335fd eliminate some build warnings. See bug 187117. 2003-01-16 19:44:21 +00:00
dbaron%dbaron.org
5302be6eba Change |DEBUG_dbaron| to |DEBUG_dbaron_off| for stuff that I don't want to see anymore. 2003-01-16 19:21:23 +00:00
dbaron%dbaron.org
d665e00ad9 Fix misplaced closing } from patch in bug 188734. b=189292 2003-01-16 13:59:52 +00:00
bzbarsky%mit.edu
3b069db273 Move GetFirstInFlow/GetLastInFlow up to nsIFrame. Bug 187117, r=roc+moz, sr=dbaron 2003-01-16 02:59:04 +00:00
cbiesinger%web.de
bc7a578055 remove redundant ifdefs 189172 r+sr=bz 2003-01-15 18:21:31 +00:00
cbiesinger%web.de
d7d810f9e2 188586 r+sr=bz nsObjectFrame should use mime service 2003-01-14 21:59:05 +00:00
dbaron%dbaron.org
e2c1655cf3 Fix ContentStatesChanged so it correctly handles combinations of two elements where one is changing from 'display:none' to needing frames. b=188734 r+sr=bzbarsky 2003-01-14 01:29:34 +00:00
dbaron%dbaron.org
1e96329338 Implement CSS3 :target pseudo-class, which matches the target of the fragment identifier of the document's URL. Change the semantics of nsIPresShell::GoToAnchor by requiring that it be called whenever the current target changes, with an additional boolean parameter specifying whether to scroll. b=188734 r=glazman sr=bzbarsky 2003-01-13 23:10:53 +00:00
bernd.mielke%snafu.de
96dc8af21b enable color for <hr> borders bug 38370 r=hixie sr=bzbarsky 2003-01-13 12:10:11 +00:00
bernd.mielke%snafu.de
0c3f7fc033 fix the color code to make tables in quirks mode on white background to look outset bug 14090 r/sr=bzbarsky 2003-01-12 12:11:05 +00:00
peterlubczynski%netscape.com
a236ef55f9 Fixing bug 173069, relative URLS with PLUGINSPAGE PLUGINURL 2003-01-10 21:48:56 +00:00
neil%parkwaycc.co.uk
aa05374d8e Fix regression to bug 150759 caused by bug 147148 r=jkeiser sr=sfraser 2003-01-10 09:24:30 +00:00
bzbarsky%mit.edu
fbaa3a83d1 "Use my chosen colors" should override border-colors too. Bug 156002, r+sr=dbaron 2003-01-10 01:58:37 +00:00
dbaron%dbaron.org
849440045e Fix sizing regression for selects with optgroups. b=188426 r+sr=bzbarsky 2003-01-10 00:30:50 +00:00
smontagu%netscape.com
b7ff83408b Corrections to measurement of justified Arabic text. Bug 187866, r=sfraser, sr=rbs@maths.uq.edu.au. 2003-01-09 21:15:52 +00:00
aaronl%netscape.com
b384a46582 Bug 98546. Fix word break detection to improve select by word where there is punctuation in the word. Also fixes 125172, double clicking in URL bar should select only part of URL. Also fixes bug 133312, word selection with accented letters. r=brade, sr=sfraser 2003-01-09 20:56:53 +00:00
dbaron%dbaron.org
57124d8115 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky 2003-01-09 14:26:32 +00:00
bryner%netscape.com
122b7542a9 Make GetStyleDataExternal |const| to fix build bustage. 2003-01-09 08:07:27 +00:00
bryner%netscape.com
7f0488eb18 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00
kin%netscape.com
872ded6605 Fix for bug #88049: Support .selectionStart & friends for textareas
Patch by petejc@optonline.net and kin@netscape.com

  mozilla/content/html/content/src/nsHTMLInputElement.cpp
  mozilla/content/html/content/src/nsHTMLTextAreaElement.cpp
  mozilla/dom/public/idl/html/nsIDOMNSHTMLTextAreaElement.idl
  mozilla/layout/html/forms/src/nsTextControlFrame.cpp
  mozilla/layout/html/forms/src/nsTextControlFrame.h

Re-implemented selectionStart, selectionEnd, setSelectionRange() and various

utility methods in nsTextControlFrame to support multi-line text widgets.


r=jkeiser@netscape.com  sr=sfraser@netscape.com
2003-01-09 06:06:17 +00:00
dbaron%dbaron.org
1efc6d8e9d Bug 97777: make shrink wrapping of absolutely positioned elements work reliably by using unconstrained available width when BRS_SHRINKWRAPWIDTH is set. Patch from Arunan Bala <arunan_bala@hotmail.com>. r=roc sr=dbaron 2003-01-09 02:24:10 +00:00
smontagu%netscape.com
f3c37e67d5 Make XUL documents print. Bug 137526, Author=Roland.Mainz@informatik.med.uni-giessen.de, r=smontagu, sr=sfraser. 2003-01-09 00:22:16 +00:00
dbaron%dbaron.org
14c5b6b776 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:19:10 +00:00
alecf%netscape.com
a834e8a209 another comment typo that was sitting in my tree, again no reviewer... 2003-01-07 23:16:05 +00:00
bernd.mielke%snafu.de
b2dc2fa3b5 fix bustage 2003-01-07 06:08:23 +00:00
bernd.mielke%snafu.de
88a3ae90de fix border draw glitchin border collapse mode caused by an uninitialized variable bug 128930, patch karnaze@netscape.com r=bernd sr=bzbarsky 2003-01-07 05:14:54 +00:00
aaronl%netscape.com
237a050ac2 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 2003-01-07 02:09:06 +00:00
bryner%netscape.com
5d697cbf78 Meant to remove this file too. Not part of the build. 2003-01-06 08:56:58 +00:00
bryner%netscape.com
9c095e7a7d Remove nsRadioControlGroup, inadvertently left here (bug 187867). r=cls. 2003-01-06 07:35:09 +00:00
bzbarsky%mit.edu
8dcc730013 bug 187428 -- cursor should just inherit down to images within links instead of
being set explicitly.  r+sr=dbaron
2003-01-05 19:05:14 +00:00
bernd.mielke%snafu.de
d25b02bef7 split further fixed and percent row height calculation, bug 153995 patch by Rick.Ju@sun.com r=karnaze sr=bzbarsky 2003-01-05 14:16:58 +00:00
bzbarsky%mit.edu
544046a358 Make more inputs use border-box sizing in standards mode, since that's what IE6
does in standards mode.  Keep quirks sizing as it was. Bug 184478, r=jkeiser,
sr=dbaron
2003-01-05 05:18:50 +00:00
bzbarsky%mit.edu
8c8465ff11 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).
2003-01-05 05:05:17 +00:00
bzbarsky%mit.edu
48739cd3f1 Change the algorithm used to darken text when printing a tad to produce better
results.  Bug 141232, r/sr=roc+moz
2003-01-05 04:52:27 +00:00
bernd.mielke%snafu.de
1002705375 fix an uninitialized warning, bug 155539 patch by karnaze@netscape.com r=alexsavulov sr=kin 2003-01-04 10:49:50 +00:00
kairo%kairo.at
a6f4446e42 change all localeVersion strings, as well as brand.dtd/region.dtd to 1.3b; bug 185698, r=tao, sr=blizzard 2003-01-03 19:57:47 +00:00
bernd.mielke%snafu.de
5e686dad63 documentation fix, bug 187257 r=karnaze sr=bzbarsky 2003-01-02 10:23:08 +00:00
dbaron%fas.harvard.edu
a34c46af22 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
caillon%returnzero.com
f7d4925db8 186752 - Need one more null check, this time before CallQueryInterface. r+sr=dbaron 2002-12-28 00:03:33 +00:00
caillon%returnzero.com
681064b65e Bug 186752 - Crash during background painting when there is no scrollable frame. Add a null check.
r+sr=dbaron
2002-12-27 07:32:17 +00:00
dbaron%fas.harvard.edu
8f0f8f4f97 Reduce paint suppression timeout from 1200ms to 250ms (to match Phoenix and Chimera). b=180241 r=rjesup sr=bzbarsky 2002-12-26 21:03:23 +00:00
caillon%returnzero.com
4c18fa1dda Bug 46814 - Fixed attachment background images should not be positioned underneath scrollbars, when positioning on a side which has scrollbars.
r=dbaron sr=bzbarsky
2002-12-23 22:08:04 +00:00
dbaron%fas.harvard.edu
28018a8db9 Reduce code size by using PaintSelf member function to paint background, border, and outline. b=184702 r+sr=roc 2002-12-23 22:05:47 +00:00
jerry.tan%sun.com
0d2188fd0e bug 181644, patch by rick.ju@sun.com, r=bz, sr=roc+moz 2002-12-23 06:01:14 +00:00
roc+%cs.cmu.edu
33ca73d3d7 Backing out fix for bug 170330... againr=dbaron 2002-12-22 05:40:51 +00:00
roc+%cs.cmu.edu
49148f941b Tp experiment... See if the extra view sync is causing the Tp regression. Pardon me. 2002-12-22 02:12:13 +00:00
jfrancis%netscape.com
67761ee6a7 fix for 180034: selection should respect the select_all style. code=mjudge, r=jfrancis, sr=kin 2002-12-22 01:45:15 +00:00
roc+%cs.cmu.edu
a5a3f217d1 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 2002-12-21 23:25:38 +00:00
cbiesinger%web.de
80d57247d7 186158 r+sr=dbaron unused function TileImage in nsCSSRendering.cpp 2002-12-21 10:33:38 +00:00
dbaron%fas.harvard.edu
d89cd5a885 Remove test assertion that I added two days ago. DEBUG-only, r=me 2002-12-21 01:36:58 +00:00
jkeiser%netscape.com
dd17c242ec Make input type=file work with display: none (bug 152844), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-12-20 05:40:37 +00:00
jkeiser%netscape.com
d7d9298ab3 Make shift+click work the first time you click in a select (bug 167142), r=peterl@netscape.com, sr=sfraser@netscape.com 2002-12-20 05:32:27 +00:00
dbaron%fas.harvard.edu
49ea5f526f Text decorations should not be painted on elements with 'visibity: hidden'. b=185581 r+sr=roc 2002-12-19 00:24:18 +00:00
dbaron%fas.harvard.edu
68ec6bfcbc 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 2002-12-19 00:23:00 +00:00
dbaron%fas.harvard.edu
9e87918976 Make quirks-mode vertical alignment correctly consider only non-collapsed whitespace. b=155333 r+sr=roc 2002-12-19 00:21:07 +00:00
dbaron%fas.harvard.edu
69151bc05f 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 2002-12-19 00:12:08 +00:00
jkeiser%netscape.com
cb84e04c70 Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com 2002-12-18 23:38:09 +00:00
nhotta%netscape.com
dc755ed5d9 Adding a new interface to retrieve phonetic of input text,
bug 175937, r=brade, sr=kin.
2002-12-17 23:38:04 +00:00
jkeiser%netscape.com
a1d3c960e5 Make empty dropdowns handle key events (bug 147148), r=peterl@netscape.com, sr=sfraser@netscape.com 2002-12-17 00:56:01 +00:00
jkeiser%netscape.com
2de2d24266 Crasher on changing input type with JS (bug 175670), patch by Rick.Ju@sun.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu 2002-12-16 23:49:16 +00:00
jkeiser%netscape.com
3e9a5f3d4c Make empty tables with fixes layout show up (bug 128873), r=karnaze@netscape.com, sr=bzbarsky@mit.edu 2002-12-16 07:58:39 +00:00
bratell%lysator.liu.se
40bbe3138a Backout of bug 110718 to fix Tp regression and raise-on-load issues. 2002-12-15 19:52:22 +00:00
dbaron%fas.harvard.edu
9f485dcda7 Remove DEBUG code that causes leak of VoidArray's mChildren. Patch from Harshal <keeda@hotpop.com>. r=bzbarsky sr=dbaron b=146549 2002-12-15 16:13:21 +00:00
dbaron%fas.harvard.edu
9774e2e9c5 Add testcases for 134580 and 155333. 2002-12-15 01:47:10 +00:00
sspitzer%netscape.com
4434a569ec fix typo in comment. 2002-12-14 20:18:56 +00:00
bernd.mielke%snafu.de
8cb0c90ab3 dont paint borders for hidden table frames, callqueryinterface cleanup bug 32199 r=karnaze sr=dbaron 2002-12-14 17:52:27 +00:00
roc+%cs.cmu.edu
0190f3f416 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 2002-12-14 16:55:41 +00:00
roc+%cs.cmu.edu
75f0cde871 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 2002-12-14 16:18:57 +00:00
aaronl%netscape.com
569b35651c 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 2002-12-14 08:05:51 +00:00
rbs%maths.uq.edu.au
5c9db7b7ec Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst 2002-12-13 22:12:10 +00:00
dbaron%fas.harvard.edu
5be27562ba 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 2002-12-13 20:13:17 +00:00
bernd.mielke%snafu.de
206c7acdf6 cleanup of unsigned int arithmethic + callqueryinterface, initial patch by tenthumbs@cybernex.net bug 157153 r=karnaze sr=roc+moz 2002-12-13 15:21:38 +00:00
cbiesinger%web.de
6bffce55e5 182554 r=caillon sr=roc+moz cleanup nsImageMap.cpp 2002-12-12 23:22:17 +00:00
dbaron%fas.harvard.edu
48e09a1052 Fix uninitialized variable introduced last night. b=1777 2002-12-11 15:59:24 +00:00
timeless%mozdev.org
9e54dd0377 Bug 133714 Probably harmless typo.... (PresShell::SetCaretReadOnly Unreachable statement)
patch by riceman+bmo@mail.rit.edu r=timeless sr=bz
2002-12-11 15:04:26 +00:00
caillon%returnzero.com
0dffa137af 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
2002-12-11 14:05:41 +00:00
caillon%returnzero.com
22b558c150 Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...) 2002-12-11 05:11:02 +00:00
caillon%returnzero.com
e0e63abe8a Removing ifdef. r/sr=roc+moz. bug 181975 2002-12-11 04:11:04 +00:00
dbaron%fas.harvard.edu
34a1e37f7e 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 2002-12-11 04:00:18 +00:00
dbaron%fas.harvard.edu
6888a38568 Oops. Make this assertion that snuck in (for bug 81268) |#ifdef DEBUG_dbaron| for now, since it fires sometimes. 2002-12-11 03:35:21 +00:00
kyle.yuan%sun.com
f1ebcab55a 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
2002-12-11 03:24:27 +00:00
dbaron%fas.harvard.edu
9241837980 Clean up twisty maze of IBMBIDI ifdefs related to HorizontalAlignFrames and fix an RTL alignment bug. b=131023 r=smontagu sr=roc 2002-12-11 02:38:33 +00:00
dbaron%fas.harvard.edu
45e056f997 Fix incorrect check of position property in IsPercentageBase. b=180845 r=roc sr=bzbarsky 2002-12-11 02:29:35 +00:00
caillon%returnzero.com
71f8783cae Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-10 23:41:12 +00:00
jkeiser%netscape.com
8fa46fbfe6 Oog. Green and open not enough. jkeiser back self out, keep drivers from hitting with big rock. 2002-12-09 06:15:33 +00:00
jkeiser%netscape.com
0c54ecf4c2 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 2002-12-09 05:56:58 +00:00
roc+%cs.cmu.edu
4fe2d9abc8 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 2002-12-06 14:22:11 +00:00
roc+%cs.cmu.edu
eecdcab3d7 Backing out fix for bug 170330 due to Tp regression 2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu
1eb7e8d174 backing out fix to 90099 to check Tp effect 2002-12-06 02:24:35 +00:00
roc+%cs.cmu.edu
d399b683e9 Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin 2002-12-05 22:29:08 +00:00
roc+%cs.cmu.edu
1fd06522d8 Bug 90099. Make sure table cells and other odd frames are given views if they need them. r=dbaron,sr=kin 2002-12-05 22:26:47 +00:00
karnaze%netscape.com
713fe5e17e new regression tests, not affecting the build. 2002-12-05 01:15:55 +00:00
karnaze%netscape.com
7807d08324 new regression tests, not affecting the build. 2002-12-04 01:58:59 +00:00
yokoyama%netscape.com
bb7f577358 179822: Flash4 / Flash5 / Shockwave and other plugins crash.
Give an unicode option when SubClassing the widget window.
/r=peterl, /sr=kin
2002-12-04 01:17:01 +00:00
karnaze%netscape.com
0f0042a430 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 2002-12-04 00:58:52 +00:00
karnaze%netscape.com
371ffa7c11 bug 183274 - bernd's patch to fix some typos and wrong max value. sr=bzbarsky, r=karnaze 2002-12-03 20:20:53 +00:00
karnaze%netscape.com
4a6254c478 new regression tests, not affecting the build. 2002-12-03 16:35:23 +00:00
karnaze%netscape.com
c7726efa2b bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser. 2002-12-03 16:02:42 +00:00
bzbarsky%mit.edu
fe53f95e60 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.
2002-12-03 05:48:14 +00:00
bernd.mielke%snafu.de
18c9e6244b dont consider the outer table frame twice for a selection, bug 182449, r=karnaze sr=dbaron 2002-12-03 05:22:32 +00:00
peterv%netscape.com
2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
dbaron%fas.harvard.edu
9c3956e55c Remove unneeded stubs for code to support Navigator 4.x-only suppress attribute. b=182554 r=biesi (who noticed the problem) sr=peterv 2002-11-28 23:02:31 +00:00
cbiesinger%web.de
74afa81b6e removing unused function Area::ToHTML. r=peterv sr=dbaron. no bug. 2002-11-28 22:18:01 +00:00
dbaron%fas.harvard.edu
d7be43384d 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) 2002-11-28 19:29:28 +00:00
dbaron%fas.harvard.edu
77108322f1 Back out previous checkin. b=180711 2002-11-28 19:15:27 +00:00
dbaron%fas.harvard.edu
4e0d918fb7 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 2002-11-28 19:12:16 +00:00
bzbarsky%mit.edu
ff14aa1c72 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
2002-11-25 23:40:58 +00:00
sicking%bigfoot.com
8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
sicking%bigfoot.com
b615fa9010 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2002-11-25 08:33:30 +00:00
katakai%japan.sun.com
63ba04d8f5 bug 167866
code clean up
clean up comment line codes for nsPresShell.cpp
r=akkana,sr=roc+moz
2002-11-25 04:58:40 +00:00
bernd.mielke%snafu.de
c2ad0f7d79 Initialize text-indent at the table boundary, this cuts inheritance of text-indent inside tables. plus removal of a conflicting border specification bug 140682 r=hixie sr=bzbarsky 2002-11-23 17:56:44 +00:00
rods%netscape.com
121ffd55cd more tests 2002-11-22 22:46:10 +00:00
rods%netscape.com
8c7399af05 more tests 2002-11-22 22:39:51 +00:00
jfrancis%netscape.com
ffd1706293 fix for 142855: cf_html paste functioanlity. r=brade, cmanske; sr=kin 2002-11-22 03:24:29 +00:00
karnaze%netscape.com
00660edeab bug 91491 - Invalidate the correct area when there is a caption. Invalidate max of area before reflow and area after. sr=kin, r=bernd. 2002-11-21 15:28:02 +00:00
dbaron%fas.harvard.edu
6c8b21f28b Correct my incorrect comments relating to combined area, and explain what combined area is for. Comment changes only. b=172896 2002-11-21 15:20:20 +00:00
kin%netscape.com
5d19412ecc Fix for bug #176251 (Problems with nsContentIterator PRE traversal)
content/base/public/nsIContentIterator.h
  content/base/src/nsContentIterator.cpp
  content/base/src/nsGeneratedIterator.cpp
  content/build/nsContentCID.h
  content/build/nsContentModule.cpp
  embedding/components/find/src/nsFind.cpp
  layout/html/style/src/nsFrameContentIterator.cpp

  - Removed MakePre() and MakePost() from the nsIContentIterator interface.
  - Traversal must now be specified at time of creation.
  - Fixed nsContentIterator Init() methods so that they correctly calculate
    mFirst and mLast.
  - Modified PositionAt() to check if the node is in the traversal range.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2002-11-21 15:07:49 +00:00
jkeiser%netscape.com
7b5c99d547 Make textareas and inputs restore again (bug 179330), r=bryner@netscape.com, sr=kin@netscape.com 2002-11-20 23:19:45 +00:00
bzbarsky%mit.edu
ab75327f3e Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst 2002-11-20 00:44:26 +00:00
dbaron%fas.harvard.edu
1e89d16d17 Remove static nsCOMPtr from nsTextControlFrame. b=179228 r=jkeiser sr=bzbarsky 2002-11-19 15:21:57 +00:00
bzbarsky%mit.edu
c6541482b9 <button> should be a containing block. Bug 180301, r=jkeiser, sr=dbaron 2002-11-19 03:39:44 +00:00
bzbarsky%mit.edu
9b34083660 <button> should not have preformatted whitespace. Bug 55285, r=jkeiser, sr=dbaron 2002-11-19 03:34:49 +00:00
karnaze%netscape.com
b45c62b0be bug 178855 - don't support fixed, absolute, floating tables that are the root content. sr=bzbarsky, r=dbaron. 2002-11-18 16:02:43 +00:00
dbaron%fas.harvard.edu
ca201674b5 Fix typos in my previous checkin noticed by bzbarsky. b=147887 2002-11-18 15:21:14 +00:00
peterlubczynski%netscape.com
fce1225257 Fixing bug 173938 with a hack for full-page plugins to be destroyed before the frame. r=av sr=jst 2002-11-18 07:48:10 +00:00
dbaron%fas.harvard.edu
180b2268fb Remove nsLineBox::RemoveFloatersFromSpaceManager, and use nsSpaceManager::PushState and nsSpaceManager::PopState instead. b=177342 r=roc sr=kin 2002-11-17 15:51:25 +00:00
dbaron%fas.harvard.edu
f6b1702067 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
timeless%mozdev.org
384066e98e Bug 58221 don't use strlen to check if a string is of length 0
patch by aaronl@vitelus.com r=timeless sr=bz
2002-11-17 05:16:49 +00:00
bzbarsky%mit.edu
ed078e5c87 Fix regression in rendering buttons that people manually size to less
than desired size.  Bug 180085, r=jkeiser, sr=roc+moz
2002-11-16 19:32:49 +00:00
bernd.mielke%snafu.de
eb8a1c9f88 enable static caption-side testcases for layout regression tests, not part of any build 2002-11-16 11:01:59 +00:00
bernd.mielke%snafu.de
7ec8bf34e1 Adding debug code to absolute containing blocks, the debug code will be invoked from the command line by
set GECKO_BLOCK_DEBUG_FLAGS=reflow bug 145592, r=bz, sr=waterson
2002-11-16 10:41:10 +00:00
bryner%netscape.com
e0e945ef10 Fixing topcrash bug 179548 (crash when closing tab via mouse gesture) by null checking the event target frame before dispatching the event the second time, since the first dispatch can nuke the frame. r=dbaron, sr=bzbarsky. 2002-11-15 00:59:28 +00:00
bzbarsky%mit.edu
8d74297dfa Fire onScroll after the scrolling has happened. Bug 179857, r=jkeiser, sr=jst 2002-11-14 20:00:13 +00:00
bzbarsky%mit.edu
b11bfa8941 Fix regression bug 179896; need to use the cached ascent in this case
too.  r=jkeiser, sr=roc+moz
2002-11-13 22:34:09 +00:00
bernd.mielke%snafu.de
6c8f00500f change default height of empty table cells to 1px in quirks mode and 0px in standards mode + some CallQueryInterface cleanup, bug 16012 r=karnaze sr=bzbarsky 2002-11-13 15:38:48 +00:00
bzbarsky%mit.edu
3d0e77ae73 Not sure why this didn't get properly checked in with the rest... Bug
167236, r=jkeiser, sr=roc+moz, moa=rods
2002-11-13 07:50:34 +00:00
cmanske%netscape.com
722881b278 Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser 2002-11-12 23:03:27 +00:00
bzbarsky%mit.edu
d33d3708fe Align text inputs, buttons, comboboxes to baseline with respect to the
text around them (bug 167236).  Fix width sizing issues for <input
type="button/reset/submit"> (bugs 79927, 36364).  Fix nonuniform heights
of form controls (bug 70251).  Patch is on bug 167236, r=jkeiser,
sr=roc+moz, moa=rods
2002-11-12 19:17:51 +00:00
karnaze%netscape.com
f2e25ec04e bug 119786 - don't consider a caption and row group frame to be siblings (caption and row group content are siblings). sr=kin, r=bernd. 2002-11-12 15:55:39 +00:00
dbaron%fas.harvard.edu
2a7ed19e4e Move the body background repainting hack from the reflow case to the framechange case, since roc's style hint processing changes make it no longer needed in the reflow case, but it's always been needed for the framechange case. b=175131 r=roc sr=kin 2002-11-12 11:17:55 +00:00
bzbarsky%mit.edu
db47d25a00 Fix ScrollFrameIntoView if we have nested views with the child bigger
than the parent.  Bug 143815, r=roc+moz, sr=jst
2002-11-12 04:38:28 +00:00
bzbarsky%mit.edu
6b91dfe5ce ApplyRenderingChangeToTree should walk {ib} "special siblings". Bug
146409, r=dbaron, sr=roc+moz
2002-11-12 04:21:33 +00:00
bzbarsky%mit.edu
92d1146ffc Fix ReplaceChild() on positioned inlines to delegate to
nsAbsoluteContainingBlock.h.  Bug 176915, r=dbaron, sr=rbs
2002-11-12 03:30:13 +00:00
bzbarsky%mit.edu
1bf04ab28d Allow list labels to be negative. Bug 56088, r=caillon, smontagu, sr=roc+moz 2002-11-09 18:33:37 +00:00
bryner%netscape.com
8beac694e3 Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst. 2002-11-09 00:25:25 +00:00
bernd.mielke%snafu.de
afc0dd96b3 fix OS2 bustage sorry 2002-11-08 10:42:48 +00:00
bryner%netscape.com
399a7ee28e Stop building and packaging XBL form controls, since they aren't being actively worked on and aren't slated to be turned on anytime soon (bug 172288). r=jkeiser, sr=blake. 2002-11-08 06:09:17 +00:00
bernd.mielke%snafu.de
4abbad8856 Implement for table captions caption-side: left and right, also <caption align="left"> and right, further vertical-align:top, middle and bottom for table captions bug 3166 r=karnaze sr=kin 2002-11-08 05:29:34 +00:00
alecf%netscape.com
348a43af99 prep for fixing bug 176559 - use getService rather than createInstance so we stop creating element factories
sr=peterv/jst, r=bzbarsky
2002-11-07 21:23:09 +00:00
kyle.yuan%sun.com
4acee63ab2 Bug 177965 Wrong option selected in select field when pressing first key
r=jkeiser, sr=bzbarsky
Use a static member function ComboboxFocusSet() to clear the gLastKeyTime, and have gLastKeyTime be a static member
2002-11-07 10:25:03 +00:00
jerry.tan%sun.com
ea8cbbd72d bug 156731, force image with unlimited css width to reflow,
patch by jerry.tan@sun.com r=karnaze, sr=bz
2002-11-07 02:50:39 +00:00
bzbarsky%mit.edu
3f6afa4126 disabled selects should still take the colors the page sets. Bug
177569, r=jkeiser, sr=dbaron
2002-11-06 21:35:36 +00:00
seawood%netscape.com
4cec241542 Fix image dragging corruption on BeOS and remove redundant code.
Thanks to Stuart Parmenter <pavlov@netscape.com> for the patch.
Bug #178614 r=cls sr=bzbarsky
2002-11-06 21:14:59 +00:00
tor%cs.brown.edu
e95d2f1fca Bug 155939 - frames not replaced correctly on bordered animated gif.
Patch by paper@animecity.nu, r=bzbarsky, sr=tor
2002-11-06 20:44:51 +00:00
dbaron%fas.harvard.edu
3d2853cfbf Miscellaneous performance improvements, mostly related to image loads. Cache a copy of the IO service on the Pres Context for use in starting image loads. b=170116 r=darin sr=bzbarsky 2002-11-06 12:58:05 +00:00
bzbarsky%mit.edu
b840b8f912 ReframeContainingBlock needs to work on <body> and such too. Bug 74951,
r=caillon, sr=dbaron
2002-11-06 02:26:52 +00:00
bzbarsky%mit.edu
4ecdd4b649 line-height settings should not affect internal layout of form
controls.  Bug 82265, r=jkeiser, sr=dbaron
2002-11-06 02:12:18 +00:00
bzbarsky%mit.edu
d50d6912c0 Reorder some members in nsLineLayout to make them pack better. Bug
176749, patch by dann@godzilla.ics.uci.edu (Dan), r=bzbarsky, sr=dbaron
2002-11-06 02:03:43 +00:00
bzbarsky%mit.edu
2af0dceb8a Use the list-style-type if our list-style-image does not load. Bug
178371, r=caillon, sr=dbaron
2002-11-06 01:58:22 +00:00
kyle.yuan%sun.com
b9d7d687c2 Bug 177451 [Active Accessibility] implement support for <toolbar>
r=aaronl, sr=jst
Bug 177453 [Active Accessibility] implement support for <hr>
r=aaronl, sr=jst
Bug 177646 [Active Accessibility] implement support for <tooltip>
r=aaronl, sr=jst
2002-11-06 01:29:58 +00:00
seawood%netscape.com
555e341493 Add support for loading cfm plugins in OSX mach-o builds.
Changes backported from the CHIMERA_M1_0_1_BRANCH branch.
Bug #155256 r=peterl sr=sfraser
2002-11-06 01:24:57 +00:00
karnaze%netscape.com
e802c4dc50 bug 176030 - Make Destroy fix up prev/next-in-flow pointers. a=roc, sr=bzbarsky, r=bernd. 2002-10-30 15:33:36 +00:00
kairo%kairo.at
150568bb2e Bug 175853, Update localeVersion strings for 1.2 final - and do it correctly, r=jbetak, sr=bzbarsky, a=blizzard 2002-10-30 12:41:38 +00:00
bernd.mielke%snafu.de
131f0360af layout regression testcase for caption-side, not part of any build 2002-10-30 06:31:49 +00:00
kyle.yuan%sun.com
a3dadf6cfe Bug 119696 Many keyboard shortcuts don't work when focus is on a <select> (listbox or drop-down)
r=jkeiser, sr=bzbarsky, a=roc+moz
Thanks for Simford.Dong@sun.com's fix
2002-10-30 01:05:43 +00:00
smontagu%netscape.com
1dd61e29e2 Bug 176595: crash caused by wrong parent deleting the next in flow child. r=alexsavulov, sr=dbaron, a=dbaron. 2002-10-25 21:40:32 +00:00
bernd.mielke%snafu.de
cb0b0bbf0b pass selection correctly to the children of a caption, bug 164313, r=dbaron sr=bzbarsky a=dbaron 2002-10-25 04:53:41 +00:00
aaronl%netscape.com
eeb40eac51 Bug 175827. Accessibility APIs: XUL and HTML comboboxes - when pulled down, should have initial MSAA focus event on first focused option. r=kyle, sr=alecf, a=dbaron 2002-10-25 02:53:45 +00:00
jaggernaut%netscape.com
43995aba83 Bug 171274: check parent shell type for primary content frames. r=dbaron, sr=jst, a=drivers 2002-10-25 00:00:54 +00:00
akkana%netscape.com
b805addd63 176505: Fix composer/mail compose regression, back out jag. a=blizzard & #mozilla 2002-10-24 19:58:36 +00:00
jaggernaut%netscape.com
af9f8d1245 Bug 171274: check shell type for primary content frames. r=/sr=jst,hyatt, a=drivers 2002-10-24 04:32:20 +00:00
timeless%mac.com
15e2521a6d Bug 77716 Scrollbar is loading asynchronously! - Trunk [@ nsCSSFrameConstructor::ConstructDocElementFrame] [@ .__ptr_glue - nsCSSFrameConstructor::ContentInserted]
patch by hyatt r=jag,dbaron sr=bz, a=dbaron
2002-10-24 03:11:53 +00:00
roc+%cs.cmu.edu
a115521a7d Bug 170688. Make nsAbsoluteContainingBlock::IncrementalReflow really incrementally reflow every absolute child that needs it, even if we find that a full block reflow will be necessary. r=dbaron,sr=kin,a=asa 2002-10-24 02:39:31 +00:00
sicking%bigfoot.com
886cde781d Bug 64945: XML prettyprinting final stage. Implements document.removeBinding and drops the prettyprint binding when the document is modified. Also turn on prettyprinting by default.
r=jkeiser,hyatt,bz sr=rpotts a=asa
2002-10-22 06:07:52 +00:00
karnaze%netscape.com
6ce7422f7e New regression tests, not affecting the build. 2002-10-21 15:01:17 +00:00
karnaze%netscape.com
92c3444803 bug 127145 - split blocks with computed heights. a=asa, sr=kin, r=alexsavulov. 2002-10-21 14:54:00 +00:00
seawood%netscape.com
57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
kin%netscape.com
83d0e310d3 Temporarily disable attachment 87307 (Async reflow, painting, and scrolling for text widgets) which landed as part of bug 141900. Will re-enable it after bugs 158782, 151882, and 165130 are addressed.
The patch simply prevents the eEditorUseAsyncUpdatesMask bit from being set on the editor.

r=brade@netscape.com  sr=sfraser@netscape.com  a=brendan@mozilla.org
2002-10-16 19:02:05 +00:00
leaf%mozilla.org
b25d2a38f7 update localeVersion for 1.2b, a=asa 2002-10-16 17:51:38 +00:00
bzbarsky%mit.edu
837149d4f4 Make sure tr/td/tbody/etc elements with display:none end up in the
undisplayed content map.  Bug 151883, r=karnaze, sr=dbaron, a=asa
2002-10-16 03:06:03 +00:00
bzbarsky%mit.edu
7d2a30e560 Fix bug 168737 -- two-byte-encoded pages got no syntax highlighting.
r=caillon, sr=rbs, a=asa.
2002-10-11 23:46:11 +00:00
seawood%netscape.com
e18a7c254c mach-o builds define both XP_UNIX *and* XP_MACOSX so we need to add a !XP_MACOSX to the XP_UNIX ifdef to avoid repeating a chunk of code twice and crashing.
Bug #173695 r=pavlov sr=alecf a=tor
2002-10-11 22:31:43 +00:00
bzbarsky%mit.edu
09fe043cd1 Fix build bustage. OS/2 and Sun Workshop won't do implicit type
conversions (like .get() on an nsCOMPtr) while trying to match a
template, apparently...  r=cls
2002-10-09 04:51:59 +00:00
rods%netscape.com
138a0ffb5a adding some new testcases 2002-10-09 03:45:01 +00:00
rods%netscape.com
08a93ce833 adding some test cases 2002-10-09 03:44:20 +00:00
bzbarsky%mit.edu
279ffda515 Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00
karnaze%netscape.com
40902d04df bug 163614 - Changed DeleteChildsNextInFlow to DeleteNextInFlowChild, params, and callers. sr=kin, r=alexsavulov,dcone 2002-10-08 20:35:26 +00:00
caillon%returnzero.com
5ba9439c07 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
jkeiser%netscape.com
35c5cded43 Backing out bug 107291 due to OS/2 having a crappy compiler. 2002-10-08 09:30:40 +00:00
jkeiser%netscape.com
53ea2dfc93 Make forward declarations work with nsCOMPtr (bug 107291), r=sicking@bigfoot.com, sr=dbaron@fas.harvard.edu 2002-10-08 06:19:10 +00:00
roc+%cs.cmu.edu
8fc1ada6c9 Bug 172227. Fix rendering garbage by removing a bogus optimization in nsContainerFrame::SyncFrameViewAfterReflow --- we *always* need to update the view transparency in case FRAME_OUTSIDE_CHILDREN changed. r=dbaron,sr=kin 2002-10-08 04:09:38 +00:00
dbaron%fas.harvard.edu
9c1884ca02 Don't resolve the positive and negative parts of collapsing margins too early when collapsing through empty blocks. A few bits of other cleanup. b=172892 sr=bzbarsky r=kin 2002-10-08 01:52:34 +00:00
shanjian%netscape.com
e7917def35 #54467 punctuation mark in the :first-letter pseudo-element does not cover all the Unicode punctuation marks
check more punctual mark for first-letter pseudo-element.
r=pierre, sr=waterson
2002-10-07 22:16:57 +00:00
darin%netscape.com
7f1956b180 fixes bug 157135 "nsIFileURL need to be frozen" r=dougt sr=bzbarsky 2002-10-06 02:20:35 +00:00
bryner%netscape.com
1bb489617c Remove gfx2 from REQUIRES globally, since we no longer export headers to a separate gfx2 module. r=cls. 2002-10-05 02:49:02 +00:00
dcone%netscape.com
669c76e5cd b=143046 r=rods sr=boris API change so we can create different depth nsImages 2002-10-04 03:32:26 +00:00
karnaze%netscape.com
90d5d15e13 new regression tests, not affecting the build. 2002-10-03 16:30:51 +00:00
karnaze%netscape.com
1a767b2826 bug 165772 - rewrite of SplitSpanningCells and most of SplitRowGroup to better handle splitting of rowspan cells. sr=kin, r=alexsavulov 2002-10-03 14:33:23 +00:00
blakeross%telocity.com
16dc03df95 171994 - crash resizing using splitter btwn download panels. patch by roc, r=me sr=hyatt. 2002-10-01 22:53:43 +00:00
rods%netscape.com
9d7453356e printing tests 2002-10-01 21:48:17 +00:00