Граф коммитов

3345 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org 95ba6eac66 Fix incremental reflows of <br clear=all>. b=157444 r+sr=roc 2003-03-25 15:24:07 +00:00
timeless%mozdev.org d112ea131f Bug 196735 <OBJECT src=...> should be ignored
patch by bugzilla2@farside.demon.co.uk r=peterl sr=jst
2003-03-25 07:28:54 +00:00
seawood%netscape.com d056fe18d0 Resurrect --disable-oji
Bug #197924 r=peterl sr=alecf
2003-03-25 06:54:52 +00:00
darin%netscape.com 06db7d7b43 backing out roc+%cs.cmu.edu check-in for bug 113232 2003-03-25 00:07:00 +00:00
darin%netscape.com 1cc9401e27 backing seth out, for blocker fixes 2003-03-24 23:20:04 +00:00
sspitzer%netscape.com 881436c9dc fix for regression bug #198946
"repainting horribly broken"
caused by roc's checkin for bug #113232
this is roc's patch for the problem.
2003-03-24 20:41:10 +00:00
roc+%cs.cmu.edu 64131124e6 Bug 174049. Smooth scrolling. Original patch by Neil cronin. r+sr=kin 2003-03-24 05:29:45 +00:00
roc+%cs.cmu.edu 3dace14ed6 Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky 2003-03-24 04:54:48 +00:00
timeless%mozdev.org 697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
dbaron%dbaron.org 48fefb44a8 Prevent display-reflow debugging code from cluttering up the leak stats by freeing objects on module shutdown. b=198676 r=bernd sr=bzbarsky 2003-03-22 15:09:17 +00:00
peterlubczynski%netscape.com b5850784ea Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 03:20:23 +00:00
dbaron%dbaron.org f9e45e853e Make nsSpaceManager::ClearRegions reset mLowestTop as well. b=198485 r+sr=roc 2003-03-21 03:11:47 +00:00
dbaron%dbaron.org 0f14af74c1 Correct fix for OS/2 bustage (and make it apply to all platforms), since the OS/2 compiler is correct according to C++ 11.8, clause 1, which says "The members of a nested class have no special access to members of an enclosing class...". b=83774 2003-03-19 15:37:58 +00:00
mkaply%us.ibm.com ca80fd18bd OS/2 bustage - yes our compiler sucks, but on a brighter note, it will be gone very soon and we can remove every XP_OS2_VACPP in the code 2003-03-19 14:51:53 +00:00
bzbarsky%mit.edu 3c4f0fdf7b Try to fix OS/2 bustage yet again.. 2003-03-19 08:34:47 +00:00
bzbarsky%mit.edu 1f0255261f Another attempt to fix OS/2 bustage. 2003-03-19 07:10:57 +00:00
bzbarsky%mit.edu 45dc9ee7b4 Don't invalidate and such if no initial reflow yet. Bug 83774, r=pavlov 2003-03-19 06:51:46 +00:00
bzbarsky%mit.edu f1c1cca794 More OS/2 bustage... bug 83774 2003-03-19 06:15:38 +00:00
bzbarsky%mit.edu 83e46b1a49 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
bzbarsky%mit.edu 2c56e0638e Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
type="image"> into the content nodes and out of nsImageFrame.  r=pavlov, sr=jst
2003-03-19 03:47:09 +00:00
bzbarsky%mit.edu 605874dcea Make imgRequestProxy hold a weak ref to its listener, to prevent reference
cycles.  Bug 196797, r=pavlov, sr=jst
2003-03-17 16:09:02 +00:00
dbaron%dbaron.org 3069e2548c Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky 2003-03-13 15:29:36 +00:00
jkeiser%netscape.com b8b384ec30 Make ismap images not overwrite the query part of the URL (bug 185169), r+sr=bzbarsky@mit.edu 2003-03-12 21:22:21 +00:00
roc+%cs.cmu.edu 210e29411b Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz 2003-03-12 03:22:11 +00:00
dbaron%dbaron.org 1db55eaf76 Remember the lowest floater top for CSS2 9.5.1 rule 5 (a float cannot be higher than earlier floats) on the space manager rather than the block reflow state so that it works across blocks sharing the same space manager. Save and restore it in the space manager's PushState and PopState to fix incremental reflow bug (177331). b=196919 r+sr=roc+moz Change PRIntn to PRInt32. b=115153 r+sr=bzbarsky 2003-03-11 23:56:49 +00:00
peterlubczynski%netscape.com eccc1a5ed8 Fixing bug 131007, unpaired events cause us to remain in capture and look hung, r=jkeiser sr=bryner 2003-03-11 00:54:18 +00:00
dbaron%dbaron.org f246aacdad Make floats margin roots so that margins of floats do not collapse with their descendants, to be compatible with CSS2 and MSIE. b=193461 r+sr=roc+moz 2003-03-07 21:25:55 +00:00
smontagu%netscape.com c27c3fff25 Correct a regression in Bidi ordering and simplify the way in which we determine whether Arabic shaping needs to be performed depending on the capabilities of the system and whether we are rendering character by character. Bug 192919, r/sr=rbs. 2003-03-07 20:56:03 +00:00
jshin%mailaps.org 83904cb49f bug 180266 : hard-code precompiled ccmaps. (r=shanjian, sr=alecf/rbs) : relanding 2003-03-07 02:30:18 +00:00
aaronl%netscape.com 20117a7edc Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz 2003-03-06 23:07:00 +00:00
aaronl%netscape.com 8ac3b448d6 Bug 194977. Support <label> elements as ROLE_STATICTEXT like IE does, fix use of label name for controls when no form element. r=kyle, sr=henry 2003-03-06 18:50:39 +00:00
paper%animecity.nu fc57a6c25f Bug 196072. Don't invalidate image area when incoming image data is for different frame. r=pavlov sr=bz 2003-03-05 23:55:53 +00:00
peterv%netscape.com bc210f1afe Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
ere%atp.fi 0db46aa009 Fix for bug 194738: Phoenix/Mozilla minimizes to toolbar then re-opens.
r=roc+moz
sr=bzbarsky
2003-03-05 14:26:31 +00:00
dougt%netscape.com 3d21aea27f backing out bustage caused by jshin 2003-03-05 05:03:03 +00:00
jshin%mailaps.org aac4dd7004 bug 180266 : hard-code precompiled CCMaps to speed up start-up.
r=shanjian, sr=alecf,rbs
2003-03-05 03:40:10 +00:00
kyle.yuan%sun.com a8574cad31 Bug 193656 [ATK Accessibility] implement accessible object for block frame
r=aaronl, sr=henry.jia
2003-03-05 02:51:36 +00:00
bernd.mielke%snafu.de 7c630887e7 backout of the patch for bug 97777. Unconstrained reflows need to be tested against table reflow as they are used also there to shrinkwrap content. bug 194014 r/sr=dbaron a=asa 2003-03-01 07:14:35 +00:00
sfraser%netscape.com 6642237016 Bug 191821: fix up nsObjectFrame to use nsIPluginWidget on Mac, for platform-specific plugin placement issues. Also fix a bug with scrolling Java applets, that caused them to render in the wrong places after scroll. r=peterl, sr=bryner 2003-02-27 23:35:47 +00:00
smontagu%netscape.com 9aa5c0d574 Whitespace change to note that the previous checkin was for bug 188759. 2003-02-27 01:51:04 +00:00
smontagu%netscape.com 2a850617fd Ensure that the buffer offset in nsTextTransformer::GetNextWord is correctly positioned after transforming ligatures. Bug 1888759, r/sr=rbs. 2003-02-27 01:47:44 +00:00
bzbarsky%mit.edu 792d30905e Eliminate libpr0n's use of prescontexts as unique keys; use documents instead
and do not hold a ref to them.  Bug 190475, r=pavlov, sr=jst
2003-02-26 05:51:32 +00:00
smontagu%netscape.com 5b7a71b0ea Bail out of nsTextFrame::MeasureText() early when contentLength is 0. Bug 129847, r=sfraser, sr=rbs. 2003-02-26 01:33:03 +00:00
sfraser%netscape.com 4ab006926a More const data goodness. r/sr=alecf. Bug 74803 2003-02-26 01:19:04 +00:00
sfraser%netscape.com defd631ba0 Remove non-const kInlineFrameCID. r/sr=alecf. Bug 74803 2003-02-26 01:16:40 +00:00
smontagu%netscape.com 743ba45c35 Remove nsITextFrame. Bug 188618, r/sr=roc+moz. 2003-02-25 00:44:04 +00:00
heikki%netscape.com 0741694152 Bug 189077, make nsImageFrame smaller by using frame state bits, r=paper@animecity.nu, sr=roc+moz@cs.cmu.edu. 2003-02-24 22:20:26 +00:00
smontagu%netscape.com 2f0662ca53 Separate stripping zero-width join control characters from DoArabicShaping() so that they get stripped in preshaped text as well. Bug 192088, r/sr=roc+moz. 2003-02-24 21:31:19 +00:00
kin%netscape.com fb56972528 Fix for bug 191339: M130A Trunk crashing while printing [@ nsLineLayout::ReflowFrame]
Modified nsBlockFrame::Reflow() so that it reparents the frames in the overflow placeholder list when handing it off to an

ancestor that does not already have an overflow placeholder list.

r+sr=dbaron@dbaron.org
2003-02-24 19:02:08 +00:00
timeless%mozdev.org a6d6c97aa2 Bug 189295 nsTextFrame.cpp: The variable isWhitespace has not yet been assigned a value.
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rbs sr=roc+moz
2003-02-23 18:39:41 +00:00
roc+%cs.cmu.edu 67a197918a Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky 2003-02-23 02:49:22 +00:00
roc+%cs.cmu.edu 96b5516d32 Bug 157445. Be more aggressive about making visibility:hidden elements have visible views. r+sr=bzbarsky 2003-02-23 02:22:14 +00:00
roc+%cs.cmu.edu f4e000a5fa Bug 180502. Repaint only changed area whenever a view is resized by the generic nsContainerFrame::SyncFrameView. r+sr=dbaron 2003-02-22 21:53:42 +00:00
bzbarsky%mit.edu 15546957e4 Reflow main content before reflowing fixed-pos frames so that the placeholders
are in the right places.  Bug 90270 and dependencies.  r+sr=roc+moz
2003-02-22 20:13:12 +00:00
dbaron%dbaron.org 0ec06d045f Change the way we calculate max-element-width for blocks with floaters: stop trying (and sometimes failing) to ensure that there can always be text next to the floater. b=186593 r+sr=roc+moz 2003-02-22 16:19:31 +00:00
dbaron%dbaron.org 6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
bernd.mielke%snafu.de 15ca7219e8 report object frames mew in unconstrained conditions, bug 189079 r=peterl sr/a=dbaron 2003-02-15 18:25:02 +00:00
bzbarsky%mit.edu 468001d914 Remove leftover reflow reason hack in fixed-pos reflow. Bug 192291,
r+sr=dbaron, a=asa
2003-02-13 19:10:50 +00:00
jst%netscape.com 401737583f Removing a redeclaration of a variable that sould've been removed with the last change to this file. Bug 181644, r=bzbarsky@mit.edu, sr=dbaron@dbaron.org, a=dbaron@dbaron.org 2003-02-06 23:10:20 +00:00
bzbarsky%mit.edu 0757c0a5b1 Make sure all caller have to pass in the "ignore 'print backgrounds'
preference" boolean.  Make block/inline _not_ ignore that pref.  Bug 191574,
r+sr=dbaron, a=asa
2003-02-01 23:54:32 +00:00
timeless%mozdev.org 0426251963 Bug 156405 Tabbed browsing frequently crashes Mozilla - Trunk M130A [@ nsXULWindow::ContentShellAdded]
patch by bsmedberg@covad.net r=roc+moz, sr=roc+moz, a=roc+moz
2003-01-31 21:31:48 +00:00
bzbarsky%mit.edu 17212a33a3 Fix abs pos positioning regression. Bug 181644 redux, patch by
Rick.Ju@sun.com, r=bzbarsky, sr=dbaron, a=asa
2003-01-29 11:35:10 +00:00
peterlubczynski%netscape.com 8f3f637744 Fixing bug 188959, HIDDEN attribute on EMBED should hide, r=av, sr=kin, a=asa 2003-01-28 21:59:28 +00:00
bernd.mielke%snafu.de 735f766b06 set the quirk height default to NS_AUTOHEIGHT if we are in a unconstrained container bug 189840 r/sr=roc+moz a=asa 2003-01-28 05:19:20 +00:00
caillon%returnzero.com d1da452d1f comment fixes r+sr=bzbarsky 2003-01-22 08:01:37 +00:00
karnaze%netscape.com 452b8a6153 bug 179683 - implement printing of fixed positioned elemements, clean up ViewportFrame. sr=roc, r=bzbarsky. 2003-01-20 18:04:34 +00:00
jrgm%netscape.com 9f319a79e1 remove '#ifndef REPEATING_TIMERS' code. This was accidentally turned back on in 9/02 after being dead from 12/01, and will now revert to using repeating timers. Affect caret, <blink>, bookmarks & search 'ping'. bug 182141, r+sr=smfr 2003-01-20 04:26:17 +00:00
karnaze%netscape.com 436f9566be back out patch for bug 176423 (which I mistook for having sr). I'll leave the regression test case, since it doesn't crash. 2003-01-19 20:44:23 +00:00
karnaze%netscape.com cfba1a62c7 bug 176423 - Consider overflowing children when calculating max element width. sr=kin, r=alexsavulov. 2003-01-19 20:25:29 +00:00
karnaze%netscape.com a4389a11ce bug 175455 - Added mTableDerivedComputedWidth to the reflow state to detect computed widths which exist only because of table cells. Limit percent width of descendants whose percentage base has such a computed width. sr=roc, r=bernd 2003-01-19 20:07:39 +00:00
roc+%cs.cmu.edu d43619e30c Bug 117631. -moz-border-radius can make views transparent. r+sr=bz 2003-01-19 00:28:02 +00:00
dbaron%dbaron.org 23976acf02 Make nsContinuingTextFrame::GetFirstInFlow not crash. b=189515 r+sr=bzbarsky 2003-01-18 15:21:33 +00:00
dbaron%dbaron.org 8feb304187 Fix strict mode 'text-decoration' on table-cells. b=189386 r+sr=bzbarsky 2003-01-17 23:42:37 +00:00
cbiesinger%web.de b7a5577747 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203 2003-01-17 12:09:23 +00:00
caillon%returnzero.com 8d9098a65a Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz
2003-01-17 09:33:52 +00:00
dbaron%dbaron.org 827d985eac Change |DEBUG_dbaron| to |DEBUG_dbaron_off| for stuff that I don't want to see anymore. 2003-01-16 21:05:09 +00:00
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
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
jst%netscape.com 53dbf78a7a Fixing bug 161166. Freezing more DOM interfaces. r=harishd@netscape.com, sr=peterv@netscape.com 2003-01-14 23:05:52 +00:00
cbiesinger%web.de d7d810f9e2 188586 r+sr=bz nsObjectFrame should use mime service 2003-01-14 21:59:05 +00:00
peterlubczynski%netscape.com a236ef55f9 Fixing bug 173069, relative URLS with PLUGINSPAGE PLUGINURL 2003-01-10 21:48:56 +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
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
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
dbaron%dbaron.org 3ea0dc57d4 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:07:51 +00:00
dbaron%dbaron.org 48544669f3 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag 2003-01-08 19:24:38 +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
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
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
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
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
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
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
sspitzer%netscape.com 4434a569ec fix typo in comment. 2002-12-14 20:18:56 +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
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
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
peterv%netscape.com d96051a4a2 Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +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
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
bzbarsky%mit.edu 079a5898de Remove some nsISupportsArray usage in nsSelection in favor of nsCOMArray. Bug
184022, r=timeless, sr=peterv
2002-12-11 00:02:49 +00:00
caillon%returnzero.com 342abe6814 182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
r=sicking sr=peterv
2002-12-10 23:44:03 +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
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 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
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
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
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
jfrancis%netscape.com ffd1706293 fix for 142855: cf_html paste functioanlity. r=brade, cmanske; sr=kin 2002-11-22 03:24:29 +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
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
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
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
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 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
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
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 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
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
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
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 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 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
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
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
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
roc+%cs.cmu.edu 9702292275 Bug 171802. Make sure views are initialized with the right properties! r=dbaron,sr=kin 2002-10-01 21:45:33 +00:00
timeless%mac.com c0716ddccd Bug 171328 Build warning caused by checkin for bug 168961
patch by walk84@yahoo.com r=Roland.Mainz@informatik.med.uni-giessen.de sr=jag
2002-10-01 03:42:07 +00:00
roc+%cs.cmu.edu 3ba4db53e3 Bug 145212. Fix overflow:auto on auto-height elements. r=hyatt,sr=kin 2002-10-01 01:23:47 +00:00
dbaron%fas.harvard.edu 12c92754b3 Properly ignore the 'float' property for generated content. Rename NS_STYLE_POSITION_NORMAL to NS_STYLE_POSITION_STATIC. Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky b=93227 2002-09-30 14:46:56 +00:00
roc+%cs.cmu.edu 88a7759322 Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin 2002-09-30 11:56:37 +00:00
jkeiser%netscape.com 80dc49d4a2 Don't crash on pages with font-size: 1px (Rick.Ju@sun.com's patch, bug 170225), r=jkeiser@netscape.com, sr=bryner@netscape.com 2002-09-27 07:50:39 +00:00
rods%netscape.com 7b4aca7912 This partially backs out the previous patch. We no longer need to set/get anything in the nsIPrintOptions.
What this does is:
1) Reflows the first time constrained and remembers mOverflowArea.XMost() of
the HTML frame and then later uses that for the calculation of the ratio.
2) Renames some variables
3) This also changes the the maximum STF ratio from 0.5 to 0.3 to match the
dropdown in PP
Bug 168961 r=dcone sr=kin
2002-09-26 11:25:04 +00:00
av%netscape.com 45b3052010 Fixing 132759 -- 100% CPU with Flash, r=peterl, sr=jst 2002-09-26 02:53:27 +00:00
radha%netscape.com ef66be7029 Fix for bug 156312. onScroll events fire when scroll doesn't happen. r=saari sr=jst. 2002-09-25 21:29:33 +00:00
karnaze%netscape.com d71ccf1e46 bug 157915 - Use the parent of the continued frame when calling DeleteChildsNextInFlow. sr=kin, r=alexsavulov 2002-09-24 22:13:20 +00:00
karnaze%netscape.com 182417eb0a bug 169620 - don't pass in negative avail widths, don't add/subtract from NS_UNCONSTRAINEDSIZE, make HR's desired width at least as big as its me width. sr=kin, r=dbaron 2002-09-24 21:02:20 +00:00
pete.zha%sun.com 43caf39ffc Browser crash when close print preview in a page has fixed DIV
bug=163800, this patch is to backout previou checkin for this bug to reslove layout regression
r=rods@netscape.com sr=roc+moz@cs.cmu.edu
2002-09-24 11:53:20 +00:00
roc+%cs.cmu.edu 1b93fe2b31 Bug 75121. Incrementally reflow absolute frames without doing a resize-reflow of the container. Patch by dbaron and roc. r=dbaron,r=roc,sr=kin 2002-09-24 11:43:48 +00:00
glazman%netscape.com 4e4c744b19 Add support for :-moz-selection CSS3 pseudo-element. See test case in bug. Should become ::selection once support for '::' parsing is implemented; b=167068, r=mjudge, sr=kin 2002-09-24 08:13:05 +00:00
pinkerton%netscape.com b7ebdb2bab make sure |increment| attribute change notification is sent for horiz scrollbars too. oops ;) (bug 161365, r=bryner/sr=sfraser). 2002-09-20 14:50:43 +00:00
kin%netscape.com a1065ee389 Fix for bug 159363: Text overlaps image (ESPN.com)
- Place right floaters at the unconstrained right edge during an unconstrained reflow. This ensures that the floater will be repositioned when the constrained reflow comes around.

- Fixed |if| expression that was used to detect whether or not we were trying to do an unconstrained reflow.

r=karnaze@netscape.com  sr=dbaron@fas.harvard.edu
2002-09-20 13:19:54 +00:00
rods%netscape.com 16849ef0da Change STF to use an unconstrainad reflow instead of searching for the widest frame
Bug 168961 r=dcone sr=kin
2002-09-19 21:45:07 +00:00
jkeiser%netscape.com ee2446e88f Make nsIFontMetrics::GetAveCharWidth() on all platforms (Rick.Ju@sun.com's patch, bug 50998), r=cbiesinger@web.de, sr=rbs@maths.uq.edu.au 2002-09-19 01:47:14 +00:00
pinkerton%netscape.com 4950c426ea make sure |increment| attribute change notification is sent. fixes bug where native scrollbars wouldn't know the increment so up/down arrows didn't work (bug 161365, r=bryner/sr=sfraser). 2002-09-18 22:38:23 +00:00
shanjian%netscape.com 444c5238f4 #130091 should we get rid of "NEW_FONT_HEIGHT_APIS"
r=Roland.Mainz@informatik.med.uni-giessen.de, sr=rbs
2002-09-18 19:37:31 +00:00
roc+%cs.cmu.edu aa2fc24f2e Bug 153907. Give IFRAMEs their correct content-parent even though they construct their views in the wrong order. r=jkeiser,sr=kin 2002-09-18 01:17:02 +00:00
rpotts%netscape.com b5533b4cc8 bug #145579 (r=darin, sr=jst) send the correct referrer for images... 2002-09-17 18:59:41 +00:00
pete.zha%sun.com ea38f8803d Sun Forte 7FCS builds crash in layout/ when compiled with -xO3 or higher
bug=164368 r=roc+moz@cs.cmu.edu sr=sfraser@netscape.com
patch by Roland.Mainz@informatik.med.uni-giessen.de
2002-09-17 02:49:30 +00:00
peterlubczynski%netscape.com 0df85cd175 Fixing Use of uninitialized variable in nsPluginInstanceOwner::GetPluginPort(), bug 162350 r=bnesse, sr=beard 2002-09-13 03:24:27 +00:00
peterlubczynski%netscape.com 1c74f2d921 Fix for can't show plugins if they start out hidden, bug 137231 r=serge, sr=kin 2002-09-13 03:11:02 +00:00