Commit Graph
1249 Commits
Author SHA1 Message Date
[email protected] 662d805035 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. 2004-01-28 00:18:22 +00:00
[email protected] d9d66e38d5 DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron. 2004-01-21 23:05:10 +00:00
[email protected] e00186c47b Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
[email protected] 8459e03c4a remove unneccesary prescontext arguments bug 230923 r/sr=roc 2004-01-18 10:28:40 +00:00
[email protected] d8fd3d5bb4 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
[email protected] a90ec6ff21 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
[email protected] ac05c12c8e dont paint border collapse borders if the damage area is not covered by the borders, bug 225266 r/sr=dbaron 2004-01-02 08:26:36 +00:00
[email protected] 8b7dd7d672 function name change to be more compliant with naming conventions, bug 229620 r/sr=brendan 2003-12-29 07:32:32 +00:00
[email protected] af8832a6e5 reduce prescontext usage in basic layout strategy bug 229457 r/sr=roc 2003-12-28 17:02:40 +00:00
[email protected] 01533e488c deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
[email protected] 4dd3ff7edb make code more readable bug 226619, patch by [email protected] r=bzbarsky sr= dbaron 2003-12-23 08:49:48 +00:00
[email protected] 964e347a68 tables can be used as rectangular items without content, bug 227123 r/sr=bzbarsky 2003-12-23 07:22:16 +00:00
[email protected] 640685cbe9 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. 2003-12-21 05:36:36 +00:00
[email protected] b55ac40909 Don't mess with overflow area during first pass reflow. b=222336 Patch from Bernd Mielke <[email protected]>. r+sr=dbaron a=brendan 2003-12-17 01:33:57 +00:00
[email protected] 9ff0759266 Fix regressions of 'overflow: hidden' on various table display types. b=221140 r=bernd sr=roc a=asa 2003-12-12 23:00:54 +00:00
[email protected] 8891f27a52 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
[email protected] a188c151cf Use SafeElementAt for accesses that may be out of bounds. Bug 226163, r=bernd,
sr=dbaron
2003-11-19 06:20:14 +00:00
uid502 4fc4723244 Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
[email protected] e65c654e4c reinitialize layout strategy in response to a style incr. reflow targeted at a table frame bug 222467 r/sr=bzbarsky
make debug statement more compact bug 220448 r/sr=jst
2003-10-19 19:23:11 +00:00
[email protected] 8b816c7065 allow empty row groups in the border collapse access to the cellmap. bug 217769 r/sr=bzbarsky 2003-09-27 12:00:56 +00:00
[email protected] c11c6bf27e Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. [email protected], [email protected]. 2003-09-27 04:18:26 +00:00
[email protected] 474757012f overflow area implementation for table frames, bug 173277 r=jkeiser sr=dbaron 2003-09-13 16:26:30 +00:00
[email protected] 4781cdb654 Reflow the children with style changed reason when a style changed reflow is targeted at a table. Patch from Bernd Mielke <[email protected]>. b=198506 r+sr=dbaron a=brendan 2003-08-14 06:15:10 +00:00
[email protected] 8586019741 Ongoing deCOMtamination. r+sr=dbaron 2003-07-07 02:01:29 +00:00
[email protected] 39ac761140 the mew of colspan cell needs to be redistributed this can only be done during the strategy init. bug 207208 r=jkeiser sr=dbaron 2003-06-09 17:51:25 +00:00
[email protected] 98c3252cd5 border collapse - lookup the correct border owner style, bug 196133, r=jkeiser sr=roc+moz 2003-05-31 14:49:18 +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] b92054bc33 fixing typo in error message. Bug 196449, patch by [email protected]
(Andre Dahlqvist), r=bernd, sr=bzbarsky
2003-04-03 05:35:51 +00:00
[email protected] 27bbab1bb0 change table cell width to content width, bug 119100 r=jkeiser sr=bzbarsky 2003-03-21 19:35:36 +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] 9d520131d2 improve rowspan border collapse handling, bug 157047 r=jkeiser, sr=roc+moz 2003-02-22 19:24:49 +00:00
[email protected] 834096485c Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +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] 1c37d177d4 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 2003-01-09 14:26:32 +00:00
[email protected] 569779fc27 fix bustage 2003-01-07 06:08:23 +00:00
[email protected] a5d7185ebd fix border draw glitchin border collapse mode caused by an uninitialized variable bug 128930, patch [email protected] r=bernd sr=bzbarsky 2003-01-07 05:14:54 +00:00
[email protected] 222174aec5 Make empty tables with fixes layout show up (bug 128873), [email protected], [email protected] 2002-12-16 07:58:39 +00:00
[email protected] 7366113d2f dont paint borders for hidden table frames, callqueryinterface cleanup bug 32199 r=karnaze sr=dbaron 2002-12-14 17:52:27 +00:00
[email protected] e02d92db7a bug 127286 (part II due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov 2002-12-04 00:58:52 +00:00
[email protected] d67ba158fc bug 183274 - bernd's patch to fix some typos and wrong max value. sr=bzbarsky, r=karnaze 2002-12-03 20:20:53 +00:00
[email protected] 4b50c34806 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
[email protected] 38c2993c96 bug 91491 - Invalidate the correct area when there is a caption. Invalidate max of area before reflow and area after. sr=kin, r=bernd. 2002-11-21 15:28:02 +00:00
[email protected] 72f2298b73 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 2002-11-17 15:37:56 +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] 1ed2978a2e bug 162691 - don't include siblings which will be next in flows when ordering row groups. sr=kin, r=bernd. 2002-08-30 16:30:04 +00:00
[email protected] 063955220b improved lookup of cellmap for the repeated thead and tfoot sections during printing bug 159358 patch by karnaze r=bernd sr=dbaron 2002-08-12 04:55:29 +00:00
[email protected] 1fdfddcd42 Move FindNonTransparentBackground from nsStyleUtil to nsCSSRendering so that nsStyleUtil doesn't need to be in content/shared. b=71257 r=heikki sr=bzbarsky 2002-08-11 17:56:15 +00:00
[email protected] b77697622c bug 155652 build warning fix r=karnaze sr=bz 2002-08-09 09:30:41 +00:00
[email protected] d7ebbb7e37 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
[email protected] 3ad7ba6f6c bug 127544 - fixed asserts when there are no cells in a row group and there is a column. sr=kin, r=alexsavulov. 2002-06-19 22:35:59 +00:00