178 Commits

Author SHA1 Message Date
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
colin%theblakes.com
cadbf3a7e7 Remove bad ANSI alias. b=190733. r=bbaetz. sr=dbaron. a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@141975 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-30 20:39:27 +00:00
bzbarsky%mit.edu
9861b52663 Make sure that Init() failures for image frames don't mean no alt text. Also
fixes a crasher when reframing fixed-pos frames.

This change adds an assertion in ConstructHTMLFrame that InitAndRestoreFrame
should succeed (unless it returns NS_ERROR_FRAME_REPLACED).  This is an interim
change; eventually we want to bail out on errors, but there may be frame impls
that return errors in non-error conditions from Init() (eg nsFrameSetFrame did
that) and we're a little close to freeze.

Bug 202506, r=rbs, sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@141552 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 23:57:47 +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
dbaron%dbaron.org
a569c670f5 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
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
dbaron%fas.harvard.edu
307f43b5a1 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
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
jkeiser%netscape.com
01aaff5895 Make frameborder=0 work again (bug 147883), patch by mats.palmgren@bredband.net, r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@127827 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-22 02:11:05 +00:00
bzbarsky%mit.edu
12bc360e79 Setting rows/cols on a frameset should try to reflow, not reframe. Bug
48422, r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@126391 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 01:06:50 +00:00
karnaze%netscape.com
49e0a9f4cb bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +00:00
jst%netscape.com
0e34136ef1 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
jst%netscape.com
67ee650f45 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@119206 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 04:17:16 +00:00
timeless%mac.com
bcb964d3df http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen


git-svn-id: svn://10.0.0.236/trunk@118211 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 05:42:10 +00:00
jst%netscape.com
198bc42921 Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@118156 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 22:42:19 +00:00
jst%netscape.com
68b586dd87 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers.
git-svn-id: svn://10.0.0.236/trunk@118090 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 07:31:16 +00:00
jst%netscape.com
dc83a26530 Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@118072 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 02:09:19 +00:00
dbaron%fas.harvard.edu
94075d45c2 Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@117795 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 16:59:00 +00:00
alecf%netscape.com
4331ed65d3 First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 06:04:29 +00:00
hwaara%chello.se
4c08064fc5 #113663, clean up and improve support for frameborder and scrolling attributes on frame elements.
r=bz, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@110016 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 19:40:07 +00:00
karnaze%netscape.com
d8577654db bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@110006 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:51:12 +00:00
roc+%cs.cmu.edu
35e1d479ea Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
git-svn-id: svn://10.0.0.236/trunk@109458 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:31:45 +00:00
roc+%cs.cmu.edu
fce7355cf6 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
git-svn-id: svn://10.0.0.236/trunk@108850 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
5d13b4f0c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@108796 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 05:26:32 +00:00
karnaze%netscape.com
65fe290a5b bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
git-svn-id: svn://10.0.0.236/trunk@108053 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
bzbarsky%mit.edu
4edf8f2b0f Fix inheritance of frameborder in multiply nested framesets. Bug
108164, r=timeless, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107366 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 00:44:25 +00:00
bzbarsky%mit.edu
357b320b0b Add a pref (layout.frames.force_resizability) to force frames to be
resizable.  Bug 105797, r=hyatt, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107043 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 02:19:49 +00:00
karnaze%netscape.com
4ff0e5cecb bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 01:43:59 +00:00
hyatt%netscape.com
876bd88124 fix for 101746. r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104752 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 00:19:01 +00:00
karnaze%netscape.com
1540a4c12e bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
pollmann%netscape.com
a71639eba6 Bug 68012: Allow frames in a frameset to be manually resized by dragging the border. This is accomplished by changing the reflow from a ResizeReflow, which was blocked by block to box adapter optimizations as the window had not changed size, to a ReflowDirtyChild. r=jst@netscape.com, sr=attinasi@netscape.com, a=drivers@mozilla.org (blizzard)
git-svn-id: svn://10.0.0.236/trunk@97414 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 08:29:13 +00:00
pollmann%netscape.com
595c550fae Bug 70450: Make frame.noResize scriptable, r=nisheeth@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@92084 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 08:16:54 +00:00
pollmann%netscape.com
be1aa8ed13 Bug 59675: Initialize variables before use (fix compiler warnings), r=nisheeth@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@91960 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 07:56:13 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu
b4de65c19e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
pollmann%netscape.com
b64b4cd23b Bug 51576: Fix a crash when resizing browser to zero height or width for frameset pages; Fix thanks to tobias.weibel@gmx.net; r=self, jst, vidur
git-svn-id: svn://10.0.0.236/trunk@79714 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:07:06 +00:00
pollmann%netscape.com
d358511c25 Bug 40383: Treat frameset rows spec 0* as 1* in quirks mode; r=harishd
git-svn-id: svn://10.0.0.236/trunk@75530 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:26:56 +00:00
pierre%netscape.com
5f1fee244c #42325 "Won't show page on www.teamtalk.com". Fix the parsing of ROWS="*%" in FRAMESETs. r=pollmann.
git-svn-id: svn://10.0.0.236/trunk@72887 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:32:56 +00:00
troy%netscape.com
2831676fb5 Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem


git-svn-id: svn://10.0.0.236/trunk@67078 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:43:11 +00:00
putterman%netscape.com
97e6e61f3c Backing out troy's changes to fix various UI blocker bugs.
git-svn-id: svn://10.0.0.236/trunk@66999 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:15:55 +00:00
troy%netscape.com
e90db6dfb9 Changes to bring clipping inline with upcoming CSS2 errata
git-svn-id: svn://10.0.0.236/trunk@66887 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 00:56:16 +00:00
rods%netscape.com
a54cc52332 Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66762 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:51:35 +00:00
scc%netscape.com
b5432ec86e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66103 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 21:18:29 +00:00
pollmann%netscape.com
5719b0c3df bug 12002: Resizing a frameset by moving the splitter was causing rapid reflows bug was not updating the corresponding views. This change forces an update, which improves perceived performance. r=Troy
git-svn-id: svn://10.0.0.236/trunk@65231 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:10:26 +00:00
jim_nance%yahoo.com
b1ccfbf2cb Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
pollmann%netscape.com
541d556187 Bug 33699: Allow whitespace in frameset rows and cols spec '*' r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@64538 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:03:02 +00:00
pollmann%netscape.com
5cbdfaa09f Bug 33699: Allow whitespace in frameset rows and cols spec '*' r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@64531 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 00:19:13 +00:00
pollmann%netscape.com
f61b9e4e2c Bug 20459, 21268: Allow zero size HTML frames. r=harishd
git-svn-id: svn://10.0.0.236/trunk@64095 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:19:14 +00:00