scullin%netscape.com
c9fa0f4535
Fix hack incompatibility.
...
git-svn-id: svn://10.0.0.236/trunk@8225 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:33:26 +00:00
scullin%netscape.com
053a936966
Move form element hack from branch.
...
git-svn-id: svn://10.0.0.236/trunk@8222 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:24:29 +00:00
karnaze%netscape.com
fe7799e863
removed calls to DidReflow on browse button and text area
...
git-svn-id: svn://10.0.0.236/trunk@8206 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 21:43:46 +00:00
buster%netscape.com
214f7beda3
fixes a layout bug where subsequent cells in a column when colspans are involved
...
could select the wrong starting width for the column, causing it to have the
wrong ending width.
git-svn-id: svn://10.0.0.236/trunk@8197 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 20:41:06 +00:00
buster%netscape.com
7adfe644b7
modified the resize reflow optimization so max element size is returned
...
if requested without triggering a reflow if the width hasn't changed.
git-svn-id: svn://10.0.0.236/trunk@8196 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 18:40:33 +00:00
buster%netscape.com
ad76084cb9
improved colspan handling.
...
cells with colspans and specified widths divide their width provisionally between the columns they span. This provisional division is ammended by any cell in any of the effected columns that:
1) has a colspan=1, and
2) has a width specified
the widths of all other columns must be adjusted for cells like these. Further complicating matters is that it seems <faith> that if multiple colspanning cells intersect a column and each has a width
specified such that the column would have a different width depending on which is used, only the first such cell is used </faith>. I can neither confirm nor deny this reading the mozilla code.
I also taught the cell map how to deal with this situation:
colspan=1 | colspan=2 | colspan=1
colspan=1 | colspan=2 | colspan=1
This table "really" has 4 columns, but the middle cells are treated as if they have no colspan.
Trust me, it matters. The original colspan attributes can't simply be thrown away because Mr. DOM
could come along at any time and add/remove a cell that would make them important.
git-svn-id: svn://10.0.0.236/trunk@8185 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 15:43:51 +00:00
peterl%netscape.com
61c45a8a04
handle body's marginwidth/height via a special style rule
...
git-svn-id: svn://10.0.0.236/trunk@8169 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 01:16:40 +00:00
peterl%netscape.com
a458984ea5
handle marginwidth/height via a special style rule
...
git-svn-id: svn://10.0.0.236/trunk@8168 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 01:16:21 +00:00
karnaze%netscape.com
b35734172b
marginwidth, marginheight set in <frame> is passed to sub doc and added to padding
...
git-svn-id: svn://10.0.0.236/trunk@8144 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:02:23 +00:00
buster%netscape.com
2cd93059a0
fixed nested tables for the case where both parent and child table are %-width,
...
and the columns are any variety of width types
git-svn-id: svn://10.0.0.236/trunk@8109 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 23:37:04 +00:00
buster%netscape.com
fad7c8e1ab
fixed a memory leak where a style context was not being released when
...
the table cell set the table column's style.
git-svn-id: svn://10.0.0.236/trunk@8098 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 19:03:36 +00:00
karnaze%netscape.com
ec48384b65
removed text field and browse button of <input type=text> from content model.
...
git-svn-id: svn://10.0.0.236/trunk@8094 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 17:46:08 +00:00
troy%netscape.com
931e45da01
Destructor now releases ref to image maps
...
git-svn-id: svn://10.0.0.236/trunk@8076 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 16:25:33 +00:00
troy%netscape.com
ed55c3c760
Added missing NS_INIT_REFCNT()
...
git-svn-id: svn://10.0.0.236/trunk@8065 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 03:24:27 +00:00
scullin%netscape.com
db73f7e25e
Checked in api changes and some other small changes from the branch.
...
git-svn-id: svn://10.0.0.236/trunk@8049 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 23:08:54 +00:00
troy%netscape.com
b6c3703c9b
Changed destructor to release reference to child form element, and
...
changed Release() to not check for external references to child form
elements
git-svn-id: svn://10.0.0.236/trunk@8036 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 21:03:16 +00:00
troy%netscape.com
bebcdd15aa
Changed NS_NewHTMLInputFile() to release reference to onput text and
...
input browse content objects
git-svn-id: svn://10.0.0.236/trunk@8029 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:36:36 +00:00
buster%netscape.com
b7b8a5e07f
* migrated and improved some fixes from the branch to the tip
...
* fixes sample6, yahoo resizing
* added BasicTableLayoutStrategy::ColIsSpecifiedAsMinimumWidth helper function,
which tells us if the given column has a width attribute that means "make me as small as possible"
* nsTableFrame methods now no longer use mCellMap directly, they ask for it from
GetCellMap which gets the cell map from the first-in-flow. Only the first-in-flow has a
cell map because the cellmap refers to the table as a single object, not to each table frame.
* Likewise, continuing table frames do not call BalanceColumnWidths or SetTableWidth
which are "global" operations. Responsibility for these lies with the first-in-flow.
git-svn-id: svn://10.0.0.236/trunk@8020 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 16:16:43 +00:00
troy%netscape.com
00c45ce33c
Added NS_RELEASE in ProcessTEXTAREATag(). This fixes a problem with
...
text area content objects being leaked
git-svn-id: svn://10.0.0.236/trunk@8018 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 05:21:43 +00:00
troy%netscape.com
b459abce80
Added NS_RELEASE of list box widget interface pointer
...
git-svn-id: svn://10.0.0.236/trunk@8017 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 04:45:30 +00:00
troy%netscape.com
247047d6f2
Added NS_IF_RELEASE(mAttributes) to destructor
...
git-svn-id: svn://10.0.0.236/trunk@8015 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 03:32:39 +00:00
valeski%netscape.com
3deae00620
310133 - Injected code into HTMLContentSink::ProcessMETATag() to check for an "http-equiv" header (specifically the Refresh header). If found, an nsIHTTPUrl interface is retrieved so the "http-equiv" header can be added to the url struct.
...
git-svn-id: svn://10.0.0.236/trunk@7955 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:09:10 +00:00
joki%netscape.com
9248af60f9
Adding url and lineno to script evaluation
...
git-svn-id: svn://10.0.0.236/trunk@7890 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 23:37:50 +00:00
joki%netscape.com
e3c22b329f
Fix script src equals problem when src contained in quotes.
...
git-svn-id: svn://10.0.0.236/trunk@7885 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 22:28:50 +00:00
karnaze%netscape.com
4b3c007400
fixed destructor problems causing www.goto.com to crash when hitting a link
...
git-svn-id: svn://10.0.0.236/trunk@7882 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:50:11 +00:00
rods%netscape.com
2fae720c82
Change the calculation of how big the dropdown list should be. The max size
...
is now 20.
git-svn-id: svn://10.0.0.236/trunk@7861 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 20:05:25 +00:00
peterl%netscape.com
0b78318def
made parse color compress whitespace first
...
git-svn-id: svn://10.0.0.236/trunk@7845 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:28:55 +00:00
kipp%netscape.com
50897d17a2
Use new forwarding macros
...
git-svn-id: svn://10.0.0.236/trunk@7840 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:00:04 +00:00
vidur%netscape.com
f13227df6b
Correctly deal with BODY tag BACKGROUND attribute that is an empty string.
...
git-svn-id: svn://10.0.0.236/trunk@7837 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 17:51:31 +00:00
troy%netscape.com
7846ca35d8
Fixed leak of an HTML Meta content object
...
git-svn-id: svn://10.0.0.236/trunk@7813 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 05:27:21 +00:00
troy%netscape.com
828d5f7aa0
Made sure event state manager was always released
...
git-svn-id: svn://10.0.0.236/trunk@7811 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 05:09:07 +00:00
troy%netscape.com
96b2f94853
Eliminated circular reference between table row and table cell
...
git-svn-id: svn://10.0.0.236/trunk@7809 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 04:45:17 +00:00
troy%netscape.com
aa64a059e4
Added release of row group context object
...
git-svn-id: svn://10.0.0.236/trunk@7808 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 04:09:43 +00:00
karnaze%netscape.com
1dc52f388d
ref counting, destruction fixes
...
git-svn-id: svn://10.0.0.236/trunk@7802 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 02:04:41 +00:00
troy%netscape.com
6b980541fe
Fixed a leak of the HTML title
...
git-svn-id: svn://10.0.0.236/trunk@7801 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 01:36:25 +00:00
troy%netscape.com
abd69964ac
Added NS_RELEASE in FlushText() of interface returned from QueryInterface()
...
git-svn-id: svn://10.0.0.236/trunk@7784 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 22:44:28 +00:00
karnaze%netscape.com
3e00e74d71
removed references to nsIWebFrame
...
git-svn-id: svn://10.0.0.236/trunk@7773 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 21:13:37 +00:00
karnaze%netscape.com
1a7586d04a
put back previous sizing of text fields due to changes in fixed width font
...
git-svn-id: svn://10.0.0.236/trunk@7749 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:07:25 +00:00
karnaze%netscape.com
cef6bb6be9
removed nsIWebFrame
...
git-svn-id: svn://10.0.0.236/trunk@7748 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 18:52:35 +00:00
buster%netscape.com
06d077240f
first cut at implementing %-width columns inside of auto-width tables.
...
This is about 50% done, which covers about 90% of the cases.
git-svn-id: svn://10.0.0.236/trunk@7747 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 18:42:10 +00:00
kipp%netscape.com
b8c3881140
Work around frame-appended reflows that don't grow the child of the body
...
git-svn-id: svn://10.0.0.236/trunk@7744 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 17:38:46 +00:00
karnaze%netscape.com
83d81a5ec8
added missing NS_RELEASE statements
...
git-svn-id: svn://10.0.0.236/trunk@7743 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 16:52:05 +00:00
kipp%netscape.com
2b2afba13d
Elminated top/bottom margins around center tags
...
git-svn-id: svn://10.0.0.236/trunk@7741 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 15:32:12 +00:00
kipp%netscape.com
927fe7a55a
Make sure text at the end of the document is reflowed properly
...
git-svn-id: svn://10.0.0.236/trunk@7714 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 00:19:11 +00:00
peterl%netscape.com
72666bde8e
connected LINKed style sheets
...
git-svn-id: svn://10.0.0.236/trunk@7703 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:02:39 +00:00
peterl%netscape.com
11ff304260
connect marginwidth & marginheight in body tag
...
git-svn-id: svn://10.0.0.236/trunk@7691 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:50:32 +00:00
rods%netscape.com
a1b9598742
Fixed edge case for selection, selection at starting of line and moving to new content.
...
git-svn-id: svn://10.0.0.236/trunk@7664 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:46:34 +00:00
kipp%netscape.com
f7457a3f72
Fixed documents w/o titles bug #313016
...
git-svn-id: svn://10.0.0.236/trunk@7662 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:39:48 +00:00
karnaze%netscape.com
e4a8306fd3
fixed "return" submission on a single text field
...
git-svn-id: svn://10.0.0.236/trunk@7660 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:26:20 +00:00
karnaze%netscape.com
770938c13f
adjusted sizing for text controls; default control is text; assertion cleanup
...
git-svn-id: svn://10.0.0.236/trunk@7652 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 04:28:17 +00:00