kipp%netscape.com
c2a13558a4
Removed ReplaceFrame
1999-02-01 17:31:21 +00:00
kipp%netscape.com
0887e5eedf
Removed ReplaceFrame; tweaked frame updates impls
1999-02-01 17:31:10 +00:00
kipp%netscape.com
bcca9bcff4
Fixed up debug output
1999-02-01 17:29:58 +00:00
kipp%netscape.com
50b6da75a7
Implement anonymous block frame code; fixup base class InsertNewFrames to support multiple frame insertion
1999-02-01 17:29:37 +00:00
kipp%netscape.com
859dde6287
Renamed InsertNewFrame->s; defined nsAnonymousBlock class
1999-02-01 17:28:39 +00:00
kipp%netscape.com
7e4600613e
Rewritten to use an anon. block frame to manage block children
1999-02-01 17:27:56 +00:00
troy%netscape.com
acbe598a4f
Fixed logic that determines whether there's currently a visible vertical
...
scrollbar
1999-02-01 16:32:54 +00:00
rickg%netscape.com
06970832e3
mondo improvements to DTD
1999-02-01 04:24:37 +00:00
troy%netscape.com
ffda88e293
Removed some merge conflicts that someone must have accidentally checked in
1999-01-31 19:50:52 +00:00
troy%netscape.com
f987894585
Changed Reflow() to make sure the desired-size members of the reflow metrics
...
struct are set in the case where there is no child frame
1999-01-31 18:46:22 +00:00
troy%netscape.com
25be57b96c
Fix for bug# 2780: changed root-frame and scroll-frame code to take into
...
account mCombinedArea
1999-01-31 05:12:02 +00:00
troy%netscape.com
7c0d5680c3
Changed ReflowFixedFrame() to take the computed left and top margin into
...
account when placing the child
1999-01-31 05:09:29 +00:00
troy%netscape.com
051df63e8f
Added code to force an absolutely positioned child that ignored its
...
computed height to be the correct height
1999-01-30 18:12:38 +00:00
troy%netscape.com
5cd1cbadbf
Added code to make sure that a fixed child frame ends up with the correct height
...
evebn if it disregards the computed height value
1999-01-30 17:39:29 +00:00
karnaze%netscape.com
6256ccca5b
Made table frame construction flexible enough to allow arbitrary content to be mapped
...
to arbitrary table related display types.
1999-01-30 15:52:19 +00:00
peterl%netscape.com
87e2ee2cc6
fixed multi-link header delimiter (comma not semicolon)
...
fixed uninitialized blocking variable in header link code
fixed error return code for style sheet linking
1999-01-30 06:24:09 +00:00
peterl%netscape.com
7dac483dcd
fixed namespace
1999-01-30 06:22:39 +00:00
peterl%netscape.com
0f67d466fc
accept namespace none for attributes
1999-01-30 06:21:08 +00:00
troy%netscape.com
f2d3dd631e
Fixed leak of nsIHTMLDocument interface in GetImageMap()
1999-01-30 01:04:35 +00:00
pollmann%netscape.com
8baa289920
Bug 2716, 2792, 1190, 1750: Wired up selected, defaultSelected, and selectedIndex.
1999-01-30 01:02:28 +00:00
pollmann%netscape.com
fa5187e571
Bug 2788: Crash on leaving page where js references named options.
1999-01-30 00:53:53 +00:00
pollmann%netscape.com
86db74417d
Bug 2787: Crash on js accessing option index out of range.
1999-01-30 00:51:10 +00:00
pollmann%netscape.com
d6d23fe90a
Initializing res.
1999-01-30 00:41:41 +00:00
troy%netscape.com
bb2686580f
Changed TriggerLink() to release its reference to the nsILinkHandler interface,
...
and I changed HandleEvent() to make nsIURL interface returned by the call to
GetDocumentURL() is released
1999-01-30 00:34:06 +00:00
troy%netscape.com
3b19a38dd6
Removed an "extra" NS_RELEASE of "map" which was causing double-frees. Permission
...
from Sarah to check in while the tree's closed
1999-01-29 22:38:48 +00:00
akkana%netscape.com
eb4fd64caa
Implement a new interface, nsIDOMSelection, intended to become the
...
external interface for selection (to be IDL-ified later).
Fix some editor bugs:
- Advance the cursor on text insert (so text is inserted in the right order)
- Make DeleteSelection in the editor call the actual selection
- Make DeleteSelection update the frames' notion of the selection
1999-01-29 18:57:56 +00:00
buster%netscape.com
3f9d48c279
fixed a nasty bug where some incremental reflow cases of a table with collapsing borders would crash.
...
One example of the crash is changing the style of a cell via DOM.
Also fixed an error in the API of nsTableColFrame
1999-01-29 18:49:32 +00:00
troy%netscape.com
01313168f3
Fixed memory leak of MAP content object in OpenMap()
1999-01-29 06:13:55 +00:00
troy%netscape.com
acc552124f
Fixed memory leak of a nsRadioControlGroup object
1999-01-29 06:01:15 +00:00
troy%netscape.com
94cf1a6dcd
Fixed memory leak of AREA content object in ProcessAREATag()
1999-01-29 05:37:45 +00:00
troy%netscape.com
cd804349fe
Fixed a couple of memory leaks
1999-01-29 05:05:02 +00:00
troy%netscape.com
01b9469528
Fix for bug #2743 . Improved the logic which predicts whether a vertical scrollbar
...
is needed
1999-01-29 04:29:10 +00:00
joki%netscape.com
c14cc1cb25
Removing nsILinkHandler enum types from dependencies, fixing event handler bugs
1999-01-28 23:14:36 +00:00
kmcclusk%netscape.com
affac5fac7
Modified GetText to take extra paramater to indicate whether it should return
...
the current text value or the initial text value
1999-01-28 21:58:01 +00:00
kmcclusk%netscape.com
a71561f847
Added return type to fix build bustage
1999-01-28 19:29:15 +00:00
kmcclusk%netscape.com
aaa2d0a40d
Modified nsHTMLInputElement text fields to go through nsTextControlFrame
...
for SetValue and GetValue
1999-01-28 18:58:11 +00:00
troy%netscape.com
78d4cd7331
More work-in-progress for fixed positioning
1999-01-28 17:14:13 +00:00
michaelp%netscape.com
0084e8879d
modified for new DrawString()/GetWidth() APIs.
1999-01-28 05:03:58 +00:00
kmcclusk%netscape.com
5a79b5eb07
Call GetDefaultValue instead of GetCurrentValue in GetChecked when the aGetInitialValue
...
flag is set to TRUE.
1999-01-28 00:43:49 +00:00
kmcclusk%netscape.com
07d49a6960
Added check for null nsFormControlFrame in GetChecked. This should fix the Mac
...
when viewing www.netscape.com
1999-01-28 00:36:43 +00:00
harishd%netscape.com
82420c7328
Changing the variable aElementColor to aBorderColor in Painborder(),
...
PaintBorderEdge(), DrawSide(), and MakeBevelColor().
The computed colors for all the border style should be based on
the actual 'border-side-color' not the element's color after all.
1999-01-28 00:31:47 +00:00
buster%netscape.com
e7df15b90b
primarily comments and documentation
...
also removed nsTableFrame::QueryInterface() because it was just extraneous, and it made
an assumption about what class nsTableFrame derives from. Let the vtable do its work...
1999-01-27 19:29:24 +00:00
kmcclusk%netscape.com
87b47319d8
Replaced defaultchecked with checked
1999-01-27 19:19:07 +00:00
kostello%netscape.com
f4cb89a986
Fixed bug: dereferencing a null in nsMarkupDocument
...
Suppressed creation of STYLE leaf tag in the XIF encoding
until style sheet output is fixed.
1999-01-27 16:35:32 +00:00
hyatt%netscape.com
0aecfc3e54
Making events still possible within tree cells.
1999-01-27 12:42:37 +00:00
hyatt%netscape.com
829b7f8804
Fixed a bug wherein tree frames weren't being added to the flow.
1999-01-27 10:10:02 +00:00
hyatt%netscape.com
b7887fe8d6
@%!%@!
1999-01-27 07:30:24 +00:00
hyatt%netscape.com
91364acc34
Getting rid of a conflict that I had.
1999-01-27 07:23:58 +00:00
hyatt%netscape.com
b0f9e290a5
Tweaking XUL frame construction. Also adding in a temporary tweak to
...
keep a NOTYETIMPLEMENTED from firing when an attribute in XML is
changed. (Making it do a reflow rather than a reframe.)
1999-01-27 07:22:05 +00:00
troy%netscape.com
1741d8cae3
Changed Reflow() to take into account absolutely positioned child
...
frames when computing the desired size
1999-01-27 05:58:43 +00:00
troy%netscape.com
ff371f2925
Added work-in-progress for 'fixed' positioning
1999-01-27 05:37:55 +00:00
rods%netscape.com
45ef69a207
Added BUTTON.ROLLOVER and BUTTON.DIABLED pseudo-classes
1999-01-27 04:22:35 +00:00
rods%netscape.com
afa1a733ff
Commented out the MACRO for for settting and getting the disabled attribute
...
I implemented them fully so I code set the "disabled" pseudo-class properly
1999-01-27 04:13:44 +00:00
rods%netscape.com
f065094abf
Added rollover pseudo-class processing for mouse enter and exit
1999-01-27 04:09:12 +00:00
troy%netscape.com
b8a53effbd
Changed nsAbsoluteItems to be a derived class of nsFrameItems
1999-01-27 03:53:54 +00:00
troy%netscape.com
b63b2eb881
Hooked printing back up. It was a casuality of the viewport changes
1999-01-27 03:24:12 +00:00
pollmann%netscape.com
d088640ae9
Bug 1958: Submit value for checkboxes or "on" for checkboxes with no value.
1999-01-27 02:33:16 +00:00
kmcclusk%netscape.com
a92dfe581a
Modified GetDefaultChecked and SetDefaultChecked to get and set the checked
...
attribute.
1999-01-27 01:35:30 +00:00
kmcclusk%netscape.com
88326ce269
Implemented GetChecked and SetChecked for nsHTMLInputElement by going through
...
the nsCheckboxControlFrame and nsRadioControlFrame.cpp
1999-01-27 00:51:46 +00:00
pollmann%netscape.com
2e602c76d7
Bug 1958: Submit x, y coords for unnamed image elements. Submit coords only once.
1999-01-27 00:25:40 +00:00
kmcclusk%netscape.com
e342fc0ca1
Added GetPrimaryFrame utility method.
1999-01-26 23:43:52 +00:00
pollmann%netscape.com
34845beb96
Bug 2279: Don't create widgets for hidden form elements.
1999-01-26 22:11:59 +00:00
troy%netscape.com
2fb9c64835
Fixed a problem in CalculateLeftRightMargin()
1999-01-26 16:34:08 +00:00
rpotts%netscape.com
f1724f97b9
The AttributeChanged(...) method of all form controls now call their base class AttributeChanged() method. Also implemented the disabled attribute in the base class...
1999-01-26 07:57:54 +00:00
troy%netscape.com
fa93923bcf
Fixed a problem in ConstructFrameByTag() where absolutely positioned elements
...
weren't handled properly
1999-01-26 06:00:30 +00:00
troy%netscape.com
9ae6259485
Fixed some problem in ConstructFrameByDisplayType() where in now cases
...
(e.g. floaters and relatively positioned blocks) the newly constructed
frame wasn't getting added to aFrameItems
1999-01-26 05:46:04 +00:00
troy%netscape.com
85b271d4dd
Fixed a problem with placeholder frame's clearing the child list and
...
causing the previous frames to disappear
1999-01-26 05:05:19 +00:00
troy%netscape.com
2fa2920b29
Removed "tab" chars
1999-01-26 01:47:01 +00:00
troy%netscape.com
5198f513b4
Hooked up print-preview to work again
1999-01-26 01:39:08 +00:00
rickg%netscape.com
aed1baa2e5
made javascript happier
1999-01-26 01:25:37 +00:00
hyatt%netscape.com
2ce7b53770
Added support for tree indentation.
1999-01-26 01:12:51 +00:00
mjudge%netscape.com
bec224216c
turning off printf debug statements in debug to speed up resizing
1999-01-26 00:40:39 +00:00
troy%netscape.com
ff3d3b60b5
Changed scrolling so it happens on the viewport instead of the HTML
...
element
1999-01-26 00:05:21 +00:00
mjudge%netscape.com
1462f685fc
fixing build bustage for someone
1999-01-25 23:55:59 +00:00
mjudge%netscape.com
9bb5d8a906
changing paintunicodestring and paintasciistring to map from content coordinates to painttext coordinatres. in get position, i am now mapping from paint coordinates to content coordinates. also, the frames themselves now set the focus and anchor for a nsIFocusTracker passed in object.
1999-01-25 23:29:53 +00:00
mjudge%netscape.com
5ac012630e
adding parameters to setselectedcontent. This will keep down overhead of the nsIFrame implementation and still not allow outsiders to talk to their presshell. so please forgive this grown method. this extra parameter will maintain the anchor and focus point after reflow
1999-01-25 23:28:23 +00:00
hyatt%netscape.com
abd68f001f
Tweaks to enable XUL frame construction to prevent the construction based on
...
display type.
1999-01-25 23:07:17 +00:00
kmcclusk%netscape.com
4f72556760
Added SetProperty/GetProperty methods to nsIFormControlFrame. Added stub
...
implementations for all classes that derive from nsIFormControlFrame
1999-01-25 22:16:27 +00:00
hyatt%netscape.com
6d67538c8d
Altered the way frame construction works. ConstructFrame can now potentially
...
build up a list of sibling frame subtrees. This allows for the creation of
multiple frames from a single content node, and for easy merging of two different
lists of subtrees during frame construction.
1999-01-25 22:13:03 +00:00
amusil%netscape.com
43c91b3dff
*** empty log message ***
1999-01-25 10:10:29 +00:00
mjudge%netscape.com
110a084f10
adding same code to paintAscii as i did to paintUnicode
1999-01-25 01:53:40 +00:00
mjudge%netscape.com
55f9005e7a
ok I am changing nsPresShell to "do the right thing". The virtual methods to support nsIFocusTracker needed to use the MACROS the same as the rest of the methods. I also moved the growing inline methods to their own method declarations. pres shell also needs to send itself as a focus tracker to "reset selection" to allow a callback to reset the frames that will be the focus and anchor frames for the future. getting frames from content is easy, getting the exact frame with an offset as well is difficult. nsTextFrame does some funny things with whitespaces that was throwing off the selection code. one minute the beginning of a word is offset 1 then it grows to 2 if the whitespace on the previous line wraps. I also put limits on the selection drawing. the drawing was happening after reflow, but before reset selection. this made the selection drawing extend beyond the legal limits of the "textlength". P.S. since the paint unicode and paint ascii are so similar, is it better to make a helper func to do the common things? or maybe make another method just to save namespace?
1999-01-25 01:48:01 +00:00
troy%netscape.com
b3714ebc19
Initial check-in
1999-01-24 20:36:46 +00:00
peterl%netscape.com
37624b3834
fixed a leak of an input stream
1999-01-23 19:28:09 +00:00
peterl%netscape.com
3e1e2ce68d
allow reconstruct frames to work on all documents
1999-01-23 07:08:38 +00:00
peterl%netscape.com
870cd4ed7f
made media case insensitive (for now)
1999-01-23 07:08:11 +00:00
peterl%netscape.com
c23d28c907
added insert style sheet
1999-01-23 07:07:32 +00:00
peterl%netscape.com
bbbe75c6c2
cleaned up style sheet ordering
...
support for selecting alternate style sheets
1999-01-23 07:07:09 +00:00
peterl%netscape.com
ec711cef0c
added meta tag http-equiv support
...
fixed selection of default style sheets
made style sheet loading not block parser
added support for several http headers
1999-01-23 07:05:49 +00:00
peterl%netscape.com
c5492c1e93
only parse style attributes if doc style language is text/css
1999-01-23 07:04:28 +00:00
peterl%netscape.com
62bc285367
added helper methods for selecting & querying alternate style sheets
1999-01-23 07:03:46 +00:00
peterl%netscape.com
1d4db24d11
added HTTP header atoms
1999-01-23 07:02:56 +00:00
troy%netscape.com
b8e3d41dab
Part of the fix for bug #2502 . For the time being mark relative/absolute positioned
...
views as having transparent content
1999-01-23 05:47:55 +00:00
troy%netscape.com
0a2d359c38
Added check for unconstrained width/height of the containing block when
...
computing 'offsets'
1999-01-23 04:49:15 +00:00
troy%netscape.com
efc7c95a53
Added XXX comment indicating that the #if 0 code in Init() is causing
...
a memory leak...
1999-01-23 02:38:16 +00:00
akkana%netscape.com
56752ba2ed
2028: Get selection highlighting working on Linux
1999-01-23 00:00:46 +00:00
troy%netscape.com
ff22a7c1f6
Fixed ReflowTemp() so it's doing a legal incremental reflow, and changed
...
Reflow() so it does a minimally acceptable job of handling incremental reflow
commands...
1999-01-22 23:10:02 +00:00
troy%netscape.com
eab0e22fa7
Changed Reflow() to make sure we remove the reflow command for
...
incremental reflow commands passing through us
1999-01-22 23:08:42 +00:00
troy%netscape.com
626cdf9ca8
Changed ContentChanged() to generate a reflow command
1999-01-22 23:07:09 +00:00
vidur%netscape.com
ae6e5a8019
Comments added to content model. Comments and text content now have a special tagname
1999-01-22 22:48:00 +00:00