Commit Graph

4027 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
dbaron%dbaron.org
089db98924 Implement garbage collection of the rule tree to fix some cases of memory growth and to allow us to move towards style rule immutability. b=117316 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@139035 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 19:14:17 +00:00
dbaron%dbaron.org
3b86a016bb Handle inline style changes by creating new style rules to wrap the modified nsCSSDeclarations, thus moving towards style rule immutability and away from property-based change hints. Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=roc b=171830
git-svn-id: svn://10.0.0.236/trunk@139034 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 19:07:22 +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
sfraser%netscape.com
2636d9a8d0 Fix bug 74404: show caret drag feedback. r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@138640 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 23:09:51 +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
jst%netscape.com
43d9987e62 Fixing bug 182700. Make 'Copy Image Location' work for <input type=image> elements. r=timeless@myrealbox.com, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@138575 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 01:38:20 +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
dbaron%dbaron.org
369d4ae4d4 No need to check the same thing in twice. Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@138276 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 04:42:54 +00:00
roc+%cs.cmu.edu
5ef9bfc28b Bug 186957. HR frames don't really paint their backgrounds. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@138264 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 04:01:45 +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
bryner%netscape.com
e72ed51d75 Fix leaks introduced from bug 114713 (bug 194468). r/sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@138237 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 22:21:20 +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
ecbfd3050c Make CtlStyleWatch |#ifdef MOZ_PERF_METRICS|. b=191831 r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@138218 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 19:26:30 +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
22283f6fd1 Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@138196 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 16:10:53 +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
jkeiser%netscape.com
4b26324c60 Make mousey events targeted properly at textnodes (bug 185889, bug 103055), fix client-side image maps (bug 110072), r=saari@netscape.com, sr=bryner@netscape.com, a=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@137825 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 21:43:06 +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
dbaron%dbaron.org
2cccec9239 Fix leak when handling key events on zombie pages. b=192336 r+sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@137678 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-11 20:26:42 +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
jkeiser%netscape.com
f8391e212d Fix window focus event regressions (bug 190767), patch by Ruslan Ismailov (croo@nm.ru), r=jkeiser@netscape.com, sr=bryner@netscape.com
git-svn-id: svn://10.0.0.236/trunk@137244 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-01 05:26:16 +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