dbaron%dbaron.org
3de6c85ac5
Do size adjustments for empty cells only when 'empty-cells' says empty cells don't have borders. b=271955 r=bernd sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@166005 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 03:50:03 +00:00
roc+%cs.cmu.edu
d6143a38f4
Bug 271869. mBorderWidths need not be per-nsStyleBorder/nsStyleOutline, put it in the prescontext instead. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@165810 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 18:40:58 +00:00
bmlk%gmx.de
b232386286
update the block overflow area if we shorten a cell in fixed layout, bug 266868 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@165348 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-14 14:47:59 +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
bmlk%gmx.de
d17e10572f
during pseudo frame creation pseudo colgroup frames should not taken into account when analyzing the pseudostackframe depth, bug 266015 r=me sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@165055 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-06 07:07:43 +00:00
bmlk%gmx.de
9ec70aeffa
hide the overflow that results from overconstrained percentage heights inside table cell frames only in quirks mode, bug 245434 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@163499 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-10 07:31:35 +00:00
bmlk%gmx.de
796f8717f1
valign content that overflows the table cell from the celltop bug=114430 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@162525 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-18 19:04:13 +00:00
dbaron%dbaron.org
e8aae32dd7
Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161682 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 23:27:23 +00:00
bryner%brianryner.com
43628f9edf
More nsIPresShell deCOMtamination:
...
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.
Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161442 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-29 03:08:44 +00:00
dbaron%dbaron.org
dcf4bae71a
Back out the rest of bug 72747 due to Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
ed6372cf2f
Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu
d82b9d3db0
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
...
git-svn-id: svn://10.0.0.236/trunk@161292 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 00:07:56 +00:00
dbaron%dbaron.org
dda1e6cda9
Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@160586 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 01:32:10 +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
bryner%brianryner.com
b17b3249f7
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
aaronleventhal%moonset.net
68db552d54
Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@159341 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net
aac51e9f0b
Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
...
git-svn-id: svn://10.0.0.236/trunk@159268 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net
c361ea9f16
Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@159196 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:58:34 +00:00
bmlk%gmx.de
22419ff22a
reset the cell offset when a row becomes again visible, order the rowgroups before collapsing the rows bug 242253 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@156121 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-08 05:11:29 +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
bmlk%gmx.de
3d248b601b
Remove unused functions bug 240559 r/sr =bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@155289 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-21 15:49:29 +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
bmlk%gmx.de
31e840fa5c
snychronize the view of a table cell once we have vertically aligned the cell content and know the correct overflow area, bug 230730, r/sr=roc a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154343 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-28 06:31:03 +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
bmlk%gmx.de
bc6dd3a017
implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron
...
git-svn-id: svn://10.0.0.236/trunk@153736 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 06:48:35 +00:00
bryner%brianryner.com
4b70febae6
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153488 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 18:24:20 +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
7ace3321e6
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
sicking%bigfoot.com
26c9ab7b2b
Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
...
r=caillon sr=jst
git-svn-id: svn://10.0.0.236/trunk@152623 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 00:38:12 +00:00
bryner%brianryner.com
70bf134ff4
Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@151636 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 09:35:59 +00:00
roc+%cs.cmu.edu
35c266025d
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
4cca78120d
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@150720 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 21:51:50 +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
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
1f886d0f11
Temporary fix for 'overflow: hidden' on table cells. b=221140 r=bernd sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147926 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 21:58:12 +00:00
bmlk%gmx.de
deb5f49052
overflow area implementation for table frames, bug 173277 r=jkeiser sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@146838 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 16:26:30 +00:00
dbaron%dbaron.org
5d93a3b860
Remove unused and incorrect functions. b=212601 r+sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@144808 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 23:25:41 +00:00
jaggernaut%netscape.com
b9532c30c4
Bug 212601: Remove unused variable from nsTableCellFrame.cpp. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144805 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:55:03 +00:00
dbaron%dbaron.org
593f58592d
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
roc+%cs.cmu.edu
b4657fef30
Ongoing deCOMtamination. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144510 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 02:01:29 +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
bmlk%gmx.de
463e729d9d
build warning fix bug 198738 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@140748 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 15:36:31 +00:00
bmlk%gmx.de
46c75680d5
change table cell width to content width, bug 119100 r=jkeiser sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@139957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 19:35:36 +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
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
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
bernd.mielke%snafu.de
9b8af87292
dont paint borders for hidden table frames, callqueryinterface cleanup bug 32199 r=karnaze sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@135304 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 17:52:27 +00:00
bernd.mielke%snafu.de
5c14c1baea
change default height of empty table cells to 1px in quirks mode and 0px in standards mode + some CallQueryInterface cleanup, bug 16012 r=karnaze sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@133752 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 15:38:48 +00:00