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