2538 Commits

Author SHA1 Message Date
kmcclusk%netscape.com
133311baf8 Call GetDefaultValue instead of GetCurrentValue in GetChecked when the aGetInitialValue
flag is set to TRUE.


git-svn-id: svn://10.0.0.236/trunk@18855 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:43:49 +00:00
kmcclusk%netscape.com
bf6927a2a4 Added check for null nsFormControlFrame in GetChecked. This should fix the Mac
when viewing www.netscape.com


git-svn-id: svn://10.0.0.236/trunk@18854 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:36:43 +00:00
harishd%netscape.com
7d19d006e0 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.


git-svn-id: svn://10.0.0.236/trunk@18849 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:31:47 +00:00
buster%netscape.com
4e86fbc278 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...


git-svn-id: svn://10.0.0.236/trunk@18806 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:29:24 +00:00
kmcclusk%netscape.com
30f6f5db1a Replaced defaultchecked with checked
git-svn-id: svn://10.0.0.236/trunk@18805 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:19:07 +00:00
kostello%netscape.com
91f739386d Fixed bug: dereferencing a null in nsMarkupDocument
Suppressed creation of STYLE leaf tag in the XIF encoding
until style sheet output is fixed.


git-svn-id: svn://10.0.0.236/trunk@18779 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 16:35:32 +00:00
hyatt%netscape.com
4b53bc9711 Making events still possible within tree cells.
git-svn-id: svn://10.0.0.236/trunk@18770 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 12:42:37 +00:00
hyatt%netscape.com
72e9f65dec Fixed a bug wherein tree frames weren't being added to the flow.
git-svn-id: svn://10.0.0.236/trunk@18764 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 10:10:02 +00:00
hyatt%netscape.com
2ae301f308 @%!%@!
git-svn-id: svn://10.0.0.236/trunk@18757 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 07:30:24 +00:00
hyatt%netscape.com
bfe575e019 Getting rid of a conflict that I had.
git-svn-id: svn://10.0.0.236/trunk@18756 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 07:23:58 +00:00
hyatt%netscape.com
eeb09800bb 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.)


git-svn-id: svn://10.0.0.236/trunk@18755 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 07:22:05 +00:00
troy%netscape.com
3e91c0d918 Changed Reflow() to take into account absolutely positioned child
frames when computing the desired size


git-svn-id: svn://10.0.0.236/trunk@18750 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:58:43 +00:00
troy%netscape.com
df2016e126 Added work-in-progress for 'fixed' positioning
git-svn-id: svn://10.0.0.236/trunk@18748 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:37:55 +00:00
rods%netscape.com
d46dbf1fea Added BUTTON.ROLLOVER and BUTTON.DIABLED pseudo-classes
git-svn-id: svn://10.0.0.236/trunk@18732 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:22:35 +00:00
rods%netscape.com
40a68b95fc 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


git-svn-id: svn://10.0.0.236/trunk@18728 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:13:44 +00:00
rods%netscape.com
b44e44cb62 Added rollover pseudo-class processing for mouse enter and exit
git-svn-id: svn://10.0.0.236/trunk@18725 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:09:12 +00:00
troy%netscape.com
8b3ad3c365 Changed nsAbsoluteItems to be a derived class of nsFrameItems
git-svn-id: svn://10.0.0.236/trunk@18718 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:53:54 +00:00
troy%netscape.com
fe96feb62a Hooked printing back up. It was a casuality of the viewport changes
git-svn-id: svn://10.0.0.236/trunk@18711 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:24:12 +00:00
pollmann%netscape.com
71a84022b9 Bug 1958: Submit value for checkboxes or "on" for checkboxes with no value.
git-svn-id: svn://10.0.0.236/trunk@18699 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:33:16 +00:00
kmcclusk%netscape.com
78f31b3921 Modified GetDefaultChecked and SetDefaultChecked to get and set the checked
attribute.


git-svn-id: svn://10.0.0.236/trunk@18689 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 01:35:30 +00:00
kmcclusk%netscape.com
bb135eae27 Implemented GetChecked and SetChecked for nsHTMLInputElement by going through
the nsCheckboxControlFrame and nsRadioControlFrame.cpp


git-svn-id: svn://10.0.0.236/trunk@18681 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:51:46 +00:00
pollmann%netscape.com
2e9ab16293 Bug 1958: Submit x, y coords for unnamed image elements. Submit coords only once.
git-svn-id: svn://10.0.0.236/trunk@18672 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:25:40 +00:00
kmcclusk%netscape.com
6550e9da04 Added GetPrimaryFrame utility method.
git-svn-id: svn://10.0.0.236/trunk@18651 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:43:52 +00:00
pollmann%netscape.com
1e53362e49 Bug 2279: Don't create widgets for hidden form elements.
git-svn-id: svn://10.0.0.236/trunk@18649 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 22:11:59 +00:00
troy%netscape.com
88177ce149 Fixed a problem in CalculateLeftRightMargin()
git-svn-id: svn://10.0.0.236/trunk@18620 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 16:34:08 +00:00
rpotts%netscape.com
8f0d397a2d The AttributeChanged(...) method of all form controls now call their base class AttributeChanged() method. Also implemented the disabled attribute in the base class...
git-svn-id: svn://10.0.0.236/trunk@18597 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 07:57:54 +00:00
troy%netscape.com
e23285c5da Fixed a problem in ConstructFrameByTag() where absolutely positioned elements
weren't handled properly


git-svn-id: svn://10.0.0.236/trunk@18588 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 06:00:30 +00:00
troy%netscape.com
99f8cc5c71 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


git-svn-id: svn://10.0.0.236/trunk@18587 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 05:46:04 +00:00
troy%netscape.com
44300b03b8 Fixed a problem with placeholder frame's clearing the child list and
causing the previous frames to disappear


git-svn-id: svn://10.0.0.236/trunk@18583 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 05:05:19 +00:00
troy%netscape.com
ca757713fa Removed "tab" chars
git-svn-id: svn://10.0.0.236/trunk@18563 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:47:01 +00:00
troy%netscape.com
6ecb547128 Hooked up print-preview to work again
git-svn-id: svn://10.0.0.236/trunk@18560 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:39:08 +00:00
rickg%netscape.com
ff454b59ec made javascript happier
git-svn-id: svn://10.0.0.236/trunk@18558 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:25:37 +00:00
hyatt%netscape.com
83b6123fe6 Added support for tree indentation.
git-svn-id: svn://10.0.0.236/trunk@18549 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:12:51 +00:00
mjudge%netscape.com
8856b10b58 turning off printf debug statements in debug to speed up resizing
git-svn-id: svn://10.0.0.236/trunk@18542 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 00:40:39 +00:00
troy%netscape.com
d0406126ba Changed scrolling so it happens on the viewport instead of the HTML
element


git-svn-id: svn://10.0.0.236/trunk@18539 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 00:05:21 +00:00
mjudge%netscape.com
cee15cff25 fixing build bustage for someone
git-svn-id: svn://10.0.0.236/trunk@18536 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:55:59 +00:00
mjudge%netscape.com
7073ad3df7 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.
git-svn-id: svn://10.0.0.236/trunk@18525 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:29:53 +00:00
mjudge%netscape.com
44f08a72d5 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
git-svn-id: svn://10.0.0.236/trunk@18523 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:28:23 +00:00
hyatt%netscape.com
34a5cfcdd8 Tweaks to enable XUL frame construction to prevent the construction based on
display type.


git-svn-id: svn://10.0.0.236/trunk@18517 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:07:17 +00:00
kmcclusk%netscape.com
509a2f333f Added SetProperty/GetProperty methods to nsIFormControlFrame. Added stub
implementations for all classes that derive from nsIFormControlFrame


git-svn-id: svn://10.0.0.236/trunk@18509 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:16:27 +00:00
hyatt%netscape.com
5031243e51 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.


git-svn-id: svn://10.0.0.236/trunk@18508 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:13:03 +00:00
amusil%netscape.com
5259c020ba *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@18474 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 10:10:29 +00:00
mjudge%netscape.com
c01fb9bfc1 adding same code to paintAscii as i did to paintUnicode
git-svn-id: svn://10.0.0.236/trunk@18463 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 01:53:40 +00:00
mjudge%netscape.com
58d3c27e3c 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?
git-svn-id: svn://10.0.0.236/trunk@18462 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 01:48:01 +00:00
troy%netscape.com
b276e5bb3a Initial check-in
git-svn-id: svn://10.0.0.236/trunk@18456 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-24 20:36:46 +00:00
peterl%netscape.com
633da8094f fixed a leak of an input stream
git-svn-id: svn://10.0.0.236/trunk@18448 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 19:28:09 +00:00
peterl%netscape.com
2d1ae38e3d allow reconstruct frames to work on all documents
git-svn-id: svn://10.0.0.236/trunk@18432 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:08:38 +00:00
peterl%netscape.com
8d45726e09 made media case insensitive (for now)
git-svn-id: svn://10.0.0.236/trunk@18431 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:08:11 +00:00
peterl%netscape.com
41850df73f added insert style sheet
git-svn-id: svn://10.0.0.236/trunk@18430 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:07:32 +00:00
peterl%netscape.com
77f64014a3 cleaned up style sheet ordering
support for selecting alternate style sheets


git-svn-id: svn://10.0.0.236/trunk@18429 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:07:09 +00:00