98de634631
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
79eeaa32d0
Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
2007-07-03 19:15:31 -07:00
263d44e417
Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky
2007-05-03 16:11:00 -07:00
e0f90db412
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <[email protected] >, rs=roc.
2007-03-30 14:11:41 -07:00
[email protected]
a4cc40910e
Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc
2007-02-24 18:33:33 +00:00
[email protected]
1f83839699
Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc
2006-12-20 01:23:45 +00:00
[email protected]
13db671d0b
Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc
2006-12-13 23:04:57 +00:00
[email protected]
d21cb374bd
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
2006-12-08 05:38:33 +00:00
[email protected]
28bca3f215
Bug 344471: cleanups for checkbox and radio frames. r+sr=roc.
2006-07-13 05:05:54 +00:00
[email protected]
7ad743157e
Remove the special painting code for a 165-twips checkbox. Move the remaining parts of nsFormControlHelper to its consumers and remove nsFormControlHelper.{cpp,h} from the tree. b=343495 r+sr=roc (r=me on roc's part)
2006-07-06 10:43:51 +00:00
[email protected]
96634178f2
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
2006-04-05 00:00:44 +00:00
[email protected]
54d3415318
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
2006-03-26 21:30:36 +00:00
[email protected]
1967e0fe6e
Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc
2006-03-14 20:43:18 +00:00
[email protected]
90e5f11649
Bug 326883 - Cleanup unused methods. r+sr=roc
2006-02-16 00:30:29 +00:00
[email protected]
67267661de
Remove old native widget code that we were only keeping around for viewer. b=326417 r+sr=roc
2006-02-08 20:09:19 +00:00
[email protected]
af01a391cf
Fix leak bug 324969 -- make sure to call virtual destructors.
2006-01-29 18:48:58 +00:00
[email protected]
4415f6d48f
Bug 324852. Clean up missing uses of NS_DISPLAY_DECL_NAME for a tiny space saving with frame display lists
2006-01-26 22:58:22 +00:00
[email protected]
a1b6a30f14
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
2006-01-26 02:29:17 +00:00
[email protected]
358bfc2241
Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc
2005-12-12 23:53:06 +00:00
[email protected]
2a82ee651e
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
2005-11-04 02:38:33 +00:00
[email protected]
ac990d5d4b
Remove nsIPresState (bug 279699). r+sr=roc.
2005-01-27 22:52:53 +00:00
[email protected]
c2cc498217
Bug 250269. Outlines not getting painted on buttons, radios, checkboxes, tables and table cells. r+sr=roc
2004-11-11 15:07:22 +00:00
[email protected]
14d7c872ee
Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot
2004-08-26 00:07:56 +00:00
[email protected]
6cde4639f0
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
[email protected]
15745b0b06
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
2004-07-29 19:41:39 +00:00
[email protected]
a1ec040a65
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
[email protected]
02dfd13b0b
Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
2004-04-18 13:13:35 +00:00
[email protected]
539b455663
Fix MSVC.net bustage. Bug 236956, r+sr+a=dbaron
2004-03-12 16:51:26 +00:00
[email protected]
bfa2b2d5c6
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
2004-03-10 03:09:05 +00:00
[email protected]
157963efa9
Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
2003-10-01 22:53:56 +00:00
[email protected]
0be0aa3679
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to [email protected] (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
[email protected]
f98e358469
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
2003-05-15 03:42:21 +00:00
[email protected]
76bc22515a
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
[email protected]
ba58162e96
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
[email protected]
0f2396dcb3
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
[email protected]
fd22bd13c9
Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
2002-11-29 23:44:07 +00:00
[email protected]
0d9875f0a1
Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
...
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3. Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
[email protected]
bcb6aea72a
Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
2002-09-21 01:03:38 +00:00
[email protected]
1672ad6e7e
Remove nsFormFrame forever. bug 125578, [email protected] , [email protected]
2002-06-04 00:44:04 +00:00
[email protected]
7ce5d8ded3
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
[email protected]
e4395c199e
Move save/restore form control state to content (bug 108309). [email protected] , [email protected] , [email protected]
2002-03-31 10:14:01 +00:00
[email protected]
87b93658ee
Backing out 108308 due to pageload spike
2002-03-29 07:35:09 +00:00
[email protected]
53689ad5e3
Move save/restore of form controls to content (bug 108309) ([email protected] , [email protected] , [email protected] )
2002-03-29 05:35:47 +00:00
[email protected]
15f70f75b9
Move radio buttons to content (bug 108308). [email protected] , [email protected] , [email protected]
2002-03-07 20:53:40 +00:00
[email protected]
de8f97dcc8
Move checkbox state to content (bug 108307). r=rods, sr=jst
2002-01-24 19:04:55 +00:00
[email protected]
e110fdc322
Change more instances of NS_ConvertASCIItoUCS2 to NS_LITERAL_STRING.
...
Bug 104159, r=jag, sr=alecf
2002-01-11 19:39:51 +00:00
[email protected]
46f35ee536
Backing out Bernd's checkin for bug 110596 to fix crashes / weird display. b=118991 r=bernd
2002-01-09 19:17:46 +00:00
[email protected]
edc54e6926
Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
2002-01-07 23:46:07 +00:00
[email protected]
32b5dcccc9
Checkin in for John Keiser <[email protected] >. Make checkboxes and
...
radio buttons not fire onChange on pageload if they are checked by
default. Bug 112218, r=rods, sr=jst
2002-01-07 20:37:22 +00:00
[email protected]
127612eaa5
add form frames to debug reflow bug 115096 r=karnaze sr=attinasi
2002-01-07 19:55:56 +00:00