Commit Graph

3169 Commits

Author SHA1 Message Date
dbaron%dbaron.org
c3056f0f60 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
git-svn-id: svn://10.0.0.236/trunk@139111 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 21:25:55 +00:00
smontagu%netscape.com
2c7d24c5a5 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.
git-svn-id: svn://10.0.0.236/trunk@139103 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 20:56:03 +00:00
jshin%mailaps.org
3939b92747 bug 180266 : hard-code precompiled ccmaps. (r=shanjian, sr=alecf/rbs) : relanding
git-svn-id: svn://10.0.0.236/trunk@139069 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 02:30:18 +00:00
aaronl%netscape.com
60b1c05bf1 Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@139051 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 23:07:00 +00:00
aaronl%netscape.com
bb567d1432 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
git-svn-id: svn://10.0.0.236/trunk@139030 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 18:50:39 +00:00
paper%animecity.nu
3f6fe85102 Bug 196072. Don't invalidate image area when incoming image data is for different frame. r=pavlov sr=bz
git-svn-id: svn://10.0.0.236/trunk@138996 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 23:55:53 +00:00
peterv%netscape.com
c96c6fa64f Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@138957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 15:08:41 +00:00
ere%atp.fi
1d8497ec03 Fix for bug 194738: Phoenix/Mozilla minimizes to toolbar then re-opens.
r=roc+moz
sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@138953 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 14:26:31 +00:00
dougt%netscape.com
2a1fa41469 backing out bustage caused by jshin
git-svn-id: svn://10.0.0.236/trunk@138925 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 05:03:03 +00:00
jshin%mailaps.org
db716a64f8 bug 180266 : hard-code precompiled CCMaps to speed up start-up.
r=shanjian, sr=alecf,rbs


git-svn-id: svn://10.0.0.236/trunk@138916 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 03:40:10 +00:00
kyle.yuan%sun.com
fcde9c769e Bug 193656 [ATK Accessibility] implement accessible object for block frame
r=aaronl, sr=henry.jia


git-svn-id: svn://10.0.0.236/trunk@138910 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 02:51:36 +00:00
bernd.mielke%snafu.de
0aa64c9755 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
git-svn-id: svn://10.0.0.236/trunk@138754 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-01 07:14:35 +00:00
sfraser%netscape.com
c8d87bd24b 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
git-svn-id: svn://10.0.0.236/trunk@138651 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 23:35:47 +00:00
smontagu%netscape.com
2cbbe712d4 Whitespace change to note that the previous checkin was for bug 188759.
git-svn-id: svn://10.0.0.236/trunk@138582 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 01:51:04 +00:00
smontagu%netscape.com
79daa2c21d Ensure that the buffer offset in nsTextTransformer::GetNextWord is correctly positioned after transforming ligatures. Bug 1888759, r/sr=rbs.
git-svn-id: svn://10.0.0.236/trunk@138580 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 01:47:44 +00:00
bzbarsky%mit.edu
617629aaf0 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


git-svn-id: svn://10.0.0.236/trunk@138515 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 05:51:32 +00:00
smontagu%netscape.com
b65ecd6c6f Bail out of nsTextFrame::MeasureText() early when contentLength is 0. Bug 129847, r=sfraser, sr=rbs.
git-svn-id: svn://10.0.0.236/trunk@138498 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 01:33:03 +00:00
sfraser%netscape.com
f987ee6a24 More const data goodness. r/sr=alecf. Bug 74803
git-svn-id: svn://10.0.0.236/trunk@138495 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 01:19:04 +00:00
sfraser%netscape.com
45ab59d272 Remove non-const kInlineFrameCID. r/sr=alecf. Bug 74803
git-svn-id: svn://10.0.0.236/trunk@138493 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 01:16:40 +00:00
smontagu%netscape.com
1a3bb57385 Remove nsITextFrame. Bug 188618, r/sr=roc+moz.
git-svn-id: svn://10.0.0.236/trunk@138398 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 00:44:04 +00:00
heikki%netscape.com
8c3595f3d1 Bug 189077, make nsImageFrame smaller by using frame state bits, r=paper@animecity.nu, sr=roc+moz@cs.cmu.edu.
git-svn-id: svn://10.0.0.236/trunk@138382 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 22:20:26 +00:00
smontagu%netscape.com
1b3fb26673 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.
git-svn-id: svn://10.0.0.236/trunk@138370 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 21:31:19 +00:00
kin%netscape.com
e0cac23611 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


git-svn-id: svn://10.0.0.236/trunk@138348 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 19:02:08 +00:00
timeless%mozdev.org
c929add96b 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


git-svn-id: svn://10.0.0.236/trunk@138301 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 18:39:41 +00:00
roc+%cs.cmu.edu
ad79d0e7da 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
git-svn-id: svn://10.0.0.236/trunk@138258 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:49:22 +00:00
roc+%cs.cmu.edu
6963c1c429 Bug 157445. Be more aggressive about making visibility:hidden elements have visible views. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@138256 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:22:14 +00:00
roc+%cs.cmu.edu
c545904f90 Bug 180502. Repaint only changed area whenever a view is resized by the generic nsContainerFrame::SyncFrameView. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@138235 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 21:53:42 +00:00
bzbarsky%mit.edu
f3b7486e41 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


git-svn-id: svn://10.0.0.236/trunk@138228 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 20:13:12 +00:00
dbaron%dbaron.org
897a1a273b 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
git-svn-id: svn://10.0.0.236/trunk@138197 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 16:19:31 +00:00
dbaron%dbaron.org
e6a2b29ebf Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@138193 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:34:38 +00:00
bryner%netscape.com
c44337949a 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.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
bernd.mielke%snafu.de
6c25746f96 report object frames mew in unconstrained conditions, bug 189079 r=peterl sr/a=dbaron
git-svn-id: svn://10.0.0.236/trunk@137854 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 18:25:02 +00:00
bzbarsky%mit.edu
02cfbfbc50 Remove leftover reflow reason hack in fixed-pos reflow. Bug 192291,
r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@137778 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 19:10:50 +00:00
jst%netscape.com
1cc2deba63 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
git-svn-id: svn://10.0.0.236/trunk@137507 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-06 23:10:20 +00:00
bzbarsky%mit.edu
b993aac32b 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


git-svn-id: svn://10.0.0.236/trunk@137266 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-01 23:54:32 +00:00
timeless%mozdev.org
f104e2ff56 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


git-svn-id: svn://10.0.0.236/trunk@137216 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 21:31:48 +00:00
bzbarsky%mit.edu
4c6540337b Fix abs pos positioning regression. Bug 181644 redux, patch by
Rick.Ju@sun.com, r=bzbarsky, sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@137078 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-29 11:35:10 +00:00
peterlubczynski%netscape.com
cf3e6e800a Fixing bug 188959, HIDDEN attribute on EMBED should hide, r=av, sr=kin, a=asa
git-svn-id: svn://10.0.0.236/trunk@137041 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-28 21:59:28 +00:00
bernd.mielke%snafu.de
8dc8a39e8b set the quirk height default to NS_AUTOHEIGHT if we are in a unconstrained container bug 189840 r/sr=roc+moz a=asa
git-svn-id: svn://10.0.0.236/trunk@137020 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-28 05:19:20 +00:00
caillon%returnzero.com
30a2ad500d comment fixes r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136834 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 08:01:37 +00:00
karnaze%netscape.com
8ece4a7c7a bug 179683 - implement printing of fixed positioned elemements, clean up ViewportFrame. sr=roc, r=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@136686 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 18:04:34 +00:00
jrgm%netscape.com
6c03de01b4 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
git-svn-id: svn://10.0.0.236/trunk@136651 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 04:26:17 +00:00
karnaze%netscape.com
dc2886a303 back out patch for bug 176423 (which I mistook for having sr). I'll leave the regression test case, since it doesn't crash.
git-svn-id: svn://10.0.0.236/trunk@136645 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 20:44:23 +00:00
karnaze%netscape.com
64afda8ff4 bug 176423 - Consider overflowing children when calculating max element width. sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@136644 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 20:25:29 +00:00
karnaze%netscape.com
4d0ce76270 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
git-svn-id: svn://10.0.0.236/trunk@136643 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 20:07:39 +00:00
roc+%cs.cmu.edu
f488de6005 Bug 117631. -moz-border-radius can make views transparent. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@136609 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 00:28:02 +00:00
dbaron%dbaron.org
e44c2a9f95 Make nsContinuingTextFrame::GetFirstInFlow not crash. b=189515 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136597 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 15:21:33 +00:00
dbaron%dbaron.org
0334c9e020 Fix strict mode 'text-decoration' on table-cells. b=189386 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136555 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 23:42:37 +00:00
cbiesinger%web.de
8b51a21663 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203
git-svn-id: svn://10.0.0.236/trunk@136507 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 12:09:23 +00:00
caillon%returnzero.com
4e9b13ef00 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


git-svn-id: svn://10.0.0.236/trunk@136499 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 09:33:52 +00:00