2128 Commits

Author SHA1 Message Date
nisheeth%netscape.com
bc46c631a2 Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent.
git-svn-id: svn://10.0.0.236/trunk@16192 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:52:55 +00:00
nisheeth%netscape.com
51147256cd Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent and implemented it in all the HTML content classes. The method is used by the HTML style sheet to get a style change hint from the content object when an attribute of the content object changes.
git-svn-id: svn://10.0.0.236/trunk@16185 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 23:52:46 +00:00
nisheeth%netscape.com
fef1fc5b4d Changed nsHTMLStyleSheetImpl::AttributeChanged() so that it asks the
content objects for style change hint.  Removed tag specific code in this function.


git-svn-id: svn://10.0.0.236/trunk@16184 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 23:49:13 +00:00
buster%netscape.com
0117f09401 support for CSS2 style property "empty-cells"
git-svn-id: svn://10.0.0.236/trunk@16177 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 19:57:42 +00:00
kmcclusk%netscape.com
7c89b4af6b Removed temporary ReflowWithNoWidget method from nsFormControlFrame.
Reflow without a widget is now handled by the standard Reflow method.


git-svn-id: svn://10.0.0.236/trunk@16169 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:47:02 +00:00
rods%netscape.com
60fe4ee625 Added printing methods
git-svn-id: svn://10.0.0.236/trunk@16157 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:53:34 +00:00
kipp%netscape.com
f39da4fc73 Added some code to handle illegal color values more compatabibly
git-svn-id: svn://10.0.0.236/trunk@16156 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:50:43 +00:00
kipp%netscape.com
3d945293a9 Fixed border drawing to not draw zero sized borders
git-svn-id: svn://10.0.0.236/trunk@16155 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:50:11 +00:00
kmcclusk%netscape.com
4f4f08da7c Changes to actually print checkbox's and radiobuttons under Windows.
No longer need special offset's during printing. nsFormControlFrame now detects
when to gfx render the widgets.


git-svn-id: svn://10.0.0.236/trunk@16153 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:29:13 +00:00
karnaze%netscape.com
d4a59c0626 fixed bug 1806
git-svn-id: svn://10.0.0.236/trunk@16152 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:22:31 +00:00
troy%netscape.com
6a4e7032a9 Minor change to the flow of control to make it more readable
git-svn-id: svn://10.0.0.236/trunk@16117 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:20:31 +00:00
troy%netscape.com
09c5c0329a Added print options for controlling whether odd and even pages are printed
git-svn-id: svn://10.0.0.236/trunk@16115 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:07:11 +00:00
troy%netscape.com
55cb5a040c Fix for bug 1831 where an auto horizontal scrollbar was causing a vertical
scrollbar to be displayed even though it wasn't needed


git-svn-id: svn://10.0.0.236/trunk@16112 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:52:58 +00:00
kipp%netscape.com
4e8cd20aad new
git-svn-id: svn://10.0.0.236/trunk@16111 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:33:07 +00:00
kipp%netscape.com
78fe4cf1a1 Only zero out the height/ascent/descent if the empty text is not a pre-formatted piece of empty text, otherwise blank lines in PRE sections disappear
git-svn-id: svn://10.0.0.236/trunk@16110 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:30:52 +00:00
kipp%netscape.com
aae87bb6cc Compute percentage base properly
git-svn-id: svn://10.0.0.236/trunk@16107 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:51:39 +00:00
buster%netscape.com
ad5a50d3d6 an even cleaner implementation of InsertRow
git-svn-id: svn://10.0.0.236/trunk@16105 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:30:06 +00:00
buster%netscape.com
e8c6b1d306 fixed nsHTMLTableElement::InsertRow()
git-svn-id: svn://10.0.0.236/trunk@16103 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:19:12 +00:00
troy%netscape.com
4694f541a3 Moved StartDocument/EndDocument calls to document viewer impl's Print() member
function. This fits better with the Mac's printing model


git-svn-id: svn://10.0.0.236/trunk@16099 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 22:36:57 +00:00
buster%netscape.com
415d59aa67 tables can now have independent horizontal and vertical cell spacing
("cellspacing" HTML attribute == "border-spacing" CSS property, go figure...)


git-svn-id: svn://10.0.0.236/trunk@16037 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 06:37:18 +00:00
buster%netscape.com
a85d3c902d cellspacing split out into x and y, HTML attribute sets both to same value
git-svn-id: svn://10.0.0.236/trunk@16036 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 06:36:32 +00:00
buster%netscape.com
91804a7b1d added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side
git-svn-id: svn://10.0.0.236/trunk@16035 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 06:24:50 +00:00
troy%netscape.com
0a0b7ae6b0 Added new atoms to nsLayoutAtoms for additional named frame child lists
git-svn-id: svn://10.0.0.236/trunk@16032 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 05:30:17 +00:00
troy%netscape.com
c9e7bd13c8 Fixed a crash when resizing the print preview window
git-svn-id: svn://10.0.0.236/trunk@16029 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 04:26:42 +00:00
kipp%netscape.com
a048610ac8 Backed out one change
git-svn-id: svn://10.0.0.236/trunk@16027 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 03:40:42 +00:00
cltbld%netscape.com
cd400f55ba add nsBlockBandData.h per kipp's addition
git-svn-id: svn://10.0.0.236/trunk@16009 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 23:25:30 +00:00
kipp%netscape.com
5f8a1a12d4 new
git-svn-id: svn://10.0.0.236/trunk@15993 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:44:22 +00:00
kipp%netscape.com
59ad825d3e Added some debug checks to sizes; keep zero sized items on the same line whenever possible
git-svn-id: svn://10.0.0.236/trunk@15992 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:43:42 +00:00
kipp%netscape.com
5014326024 Factored out the block-band-data class; fixed a bug with treating block objects that weren't really nsBlockFrame's like they were (bug #1713)
git-svn-id: svn://10.0.0.236/trunk@15991 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:43:15 +00:00
kipp%netscape.com
c79140ae51 Added nsBlockBandData
git-svn-id: svn://10.0.0.236/trunk@15990 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:42:35 +00:00
buster%netscape.com
ab0a080e21 fixed a minor glitch I introduced where nested tables cells were getting
robbed of a few pixels in width in some cases.


git-svn-id: svn://10.0.0.236/trunk@15982 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 19:18:33 +00:00
mjudge%netscape.com
03ace6e2d1 chagnes to selection
git-svn-id: svn://10.0.0.236/trunk@15977 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 18:26:06 +00:00
troy%netscape.com
f40c33432f Initial table pagination support
git-svn-id: svn://10.0.0.236/trunk@15974 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 17:57:45 +00:00
kipp%netscape.com
14ec540a13 Fixed bug #1621 - if a floater was too wide and it was right aligned it would end up positioned off the left edge of the block
git-svn-id: svn://10.0.0.236/trunk@15961 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 03:57:12 +00:00
kipp%netscape.com
9e360eec32 Removed check for a band count of when when clearing floaters because if the floater is large the band may only have one trapezoid in it
git-svn-id: svn://10.0.0.236/trunk@15959 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 03:47:44 +00:00
kipp%netscape.com
2898a86645 new
git-svn-id: svn://10.0.0.236/trunk@15958 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 03:36:34 +00:00
buster%netscape.com
119726a491 fixed a bug in table-layout:fixed mode
fixed bug fixed a few small bugs


git-svn-id: svn://10.0.0.236/trunk@15946 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 01:00:14 +00:00
kipp%netscape.com
b3d40caef9 new
git-svn-id: svn://10.0.0.236/trunk@15944 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 00:57:45 +00:00
troy%netscape.com
d0f172e81d Improved height calculation when there are floaters. Now we check against
the content area y-most rather than the frame bounds y-most. This ensures
that border and padding are respected along the bottom edge


git-svn-id: svn://10.0.0.236/trunk@15942 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 00:01:12 +00:00
kipp%netscape.com
bc8d0e6224 Made image documents layout again
git-svn-id: svn://10.0.0.236/trunk@15939 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 22:29:13 +00:00
kipp%netscape.com
2c0c8a72a7 Disabled fixed height/width ignoring code for shrink-wrap blocks; fixed crash bug with premature deleting of a line
git-svn-id: svn://10.0.0.236/trunk@15938 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 22:28:55 +00:00
kipp%netscape.com
2c7beba568 Added DeleteLine method
git-svn-id: svn://10.0.0.236/trunk@15937 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 22:28:23 +00:00
kipp%netscape.com
d596ead678 Slightly better handling of left/right block margins
git-svn-id: svn://10.0.0.236/trunk@15932 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:34:41 +00:00
harishd%netscape.com
bf95de173e changed the code that previously accessed mBorderStyle and mBordercolor
with new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15930 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:07:45 +00:00
harishd%netscape.com
9e86b8e8b4 Changed code that previously accessed mBorderStyle and mBorderColor with
new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15929 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:06:55 +00:00
harishd%netscape.com
1abffa47d3 Changed code that previously accessed mBorderStyle and mBorderColor
with new mehtods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15928 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:05:40 +00:00
harishd%netscape.com
1f271c4b88 Included a new DrawDashedSide() function prototype and modified DrawSide() function.
git-svn-id: svn://10.0.0.236/trunk@15927 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:04:39 +00:00
harishd%netscape.com
992a69972a Changed code that previously accessed mBorderStyle and mBorderColor
with new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15926 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:02:13 +00:00
harishd%netscape.com
3184560d3b No change
git-svn-id: svn://10.0.0.236/trunk@15925 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:00:45 +00:00
harishd%netscape.com
010e4bd873 Changed code that previously accessed mBorderStyle and mBorderColor
with new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15924 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:56:29 +00:00