199 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
df8627e29b Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
bmlk%gmx.de
563a72aa7b Avoid reframing inside button frames and move the frame creation entirely into the frame constructor, bug 51767, r=mats sr=roc
git-svn-id: svn://10.0.0.236/trunk@187535 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-13 07:58:12 +00:00
cvshook%sicking.cc
d3d2e97d3b Bug 321294: Remove unused ReplaceFrame codepaths.
r/sr=roc


git-svn-id: svn://10.0.0.236/trunk@187266 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 22:58:37 +00:00
roc+%cs.cmu.edu
74858f37ce Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185977 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 23:53:06 +00:00
bzbarsky%mit.edu
0804a24fa6 Treat inline and block buttons more uniformly. Bug 304004, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185169 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-22 23:39:48 +00:00
timeless%mozdev.org
a05383ef1b Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
roc+%cs.cmu.edu
35affbc82e Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@183357 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 20:40:54 +00:00
cvshook%sicking.cc
b26f9f52fb Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
roc+%cs.cmu.edu
2b50a04fc6 Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@183097 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-26 21:46:39 +00:00
roc+%cs.cmu.edu
aeacb4d477 Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
c504b2c5ee Bug 287592. Make buttons return the correct overflow area from reflow. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171416 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 02:19:48 +00:00
bzbarsky%mit.edu
2bea98552c Remove prescontext args for some nsIFrame methods
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land.  Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@168894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:58:25 +00:00
bryner%brianryner.com
2474296ae5 Remove nsIHTMLContent interface (bug 276959). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167619 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 19:45:38 +00:00
mats.palmgren%bredband.net
fc17bec870 Propagate NS_FRAME_HAS_CHILD_WITH_VIEW to the area frame. b=276236 r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167195 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 07:27:11 +00:00
neil%parkwaycc.co.uk
b6cfbdda85 Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167161 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 17:26:29 +00:00
aaronleventhal%moonset.net
59b589b964 Bug 250269. Outlines not getting painted on buttons, radios, checkboxes, tables and table cells. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165254 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 15:07:22 +00:00
bzbarsky%mit.edu
4ece7e1998 Make the frame constructor state and save state automatically handle inserting
out of flows in the right place in the fixed/absolute/float containing blocks
so that it can't be screwed up by callers.  Bug 264914, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164677 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 21:43:49 +00:00
bmlk%gmx.de
4ea73ea2f9 frames with a percentage based width should report a 0 MEW bug 246999 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@161543 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-31 18:50:40 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
rbs%maths.uq.edu.au
a41b8a61ef Cleanup font usage in form input controls, b=251637, r=jshin, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159562 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 01:05:44 +00:00
tor%cs.brown.edu
fba58fbb27 Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@155393 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 15:21:24 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
996688b00b Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155061 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:13:35 +00:00
roc+%cs.cmu.edu
80b27683f0 Bug 227838. Remove unused RequiresWidget method from nsIFormControlFrame. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@154764 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:11:05 +00:00
dbaron%dbaron.org
1a94650e48 DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
git-svn-id: svn://10.0.0.236/trunk@153898 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 04:40:17 +00:00
roc+%cs.cmu.edu
44185c6657 Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
roc+%cs.cmu.edu
1321f26cd6 Bug 53966. Remove unnecessary view creation from nsImageControlFrame, and remove unused fields and functions from nsImageControlFrame/nsHTMLButtonControlFrame. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@153354 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 15:01:38 +00:00
bryner%brianryner.com
d956db112f Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
bryner%brianryner.com
e46f7c8143 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151927 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 00:18:22 +00:00
bzbarsky%mit.edu
393a35a481 Make button baselines take into account the vertical centering we do. Bug
231574, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@151611 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-20 23:57:40 +00:00
bryner%brianryner.com
b5347dd60c Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
bzbarsky%mit.edu
be42f0082a Make sure to properly delegate all framelist updates to our anonymous div. Bug
226016/98239, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@149474 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-18 02:12:24 +00:00
uid502
bdc0f5a1e4 Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@148696 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 22:34:59 +00:00
uid502
e56ed2443c Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
dbaron%dbaron.org
33601224e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147924 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 21:51:02 +00:00
roc+%cs.cmu.edu
ca3b83ccdf Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144465 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-04 12:50:32 +00:00
dbaron%dbaron.org
80187c571f Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143961 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:52:58 +00:00
dbaron%dbaron.org
69da9d4a19 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
bzbarsky%mit.edu
9c474e852e Make shrink-wrap reflow for buttons correctly reflow the kids a second time at
the constrained shrink-wrap width.  Bug 26650 and dependencies, patch by
arunan_bala@hotmail.com (Arunan Bala), r=jkeiser, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@138222 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 19:48:29 +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
jkeiser%netscape.com
ac42e42ba8 Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@135468 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 23:38:09 +00:00
bzbarsky%mit.edu
d4ea0fd2db <button> should be a containing block. Bug 180301, r=jkeiser, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@134072 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 03:39:44 +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
bzbarsky%mit.edu
263a259da7 Fix regression in rendering buttons that people manually size to less
than desired size.  Bug 180085, r=jkeiser, sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@133980 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 19:32:49 +00:00
bzbarsky%mit.edu
87e0051c3e Align text inputs, buttons, comboboxes to baseline with respect to the
text around them (bug 167236).  Fix width sizing issues for <input
type="button/reset/submit"> (bugs 79927, 36364).  Fix nonuniform heights
of form controls (bug 70251).  Patch is on bug 167236, r=jkeiser,
sr=roc+moz, moa=rods


git-svn-id: svn://10.0.0.236/trunk@133674 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:17:51 +00:00
jkeiser%netscape.com
664fc74eb6 Make default wrap soft again, fix up text reflow, remove cruft from button reflow (bug 164641), r=rods@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@129682 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 06:23:52 +00:00
dbaron%fas.harvard.edu
e8821b1085 Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only)
git-svn-id: svn://10.0.0.236/trunk@127461 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 11:52:20 +00:00
bzbarsky%mit.edu
281d89498a clean up some form control stuff (use common helpers and superclasses
for shared functionality where possible).  r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@126548 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:50:08 +00:00