309 Commits

Author SHA1 Message Date
joki%netscape.com
6c59f19391 New api's into nsEventStateManager for content state change (hover,focus,active)
git-svn-id: svn://10.0.0.236/trunk@27211 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 21:24:07 +00:00
pollmann%netscape.com
0562064d12 Bugs 4714 4533 4387. A: Chofmann R: Harishd
git-svn-id: svn://10.0.0.236/trunk@26846 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:47:49 +00:00
toshok%hungry.com
b80f6350b3 enable OJI on unix.
git-svn-id: svn://10.0.0.236/trunk@26696 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:14:40 +00:00
vidur%netscape.com
fe0a023b26 Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods.
git-svn-id: svn://10.0.0.236/trunk@25744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:49:25 +00:00
karnaze%netscape.com
445fa80194 bug 4382 - comments inside <option>
git-svn-id: svn://10.0.0.236/trunk@25677 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 05:59:06 +00:00
troy%netscape.com
a8080d8ccb Added back Nav compatibility hack for illegal hex values being mapped
to 0


git-svn-id: svn://10.0.0.236/trunk@25672 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 05:12:36 +00:00
troy%netscape.com
21c4de642c Fix for bug #4434
git-svn-id: svn://10.0.0.236/trunk@25652 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:13:24 +00:00
kipp%netscape.com
c1e82cdc96 Support cols, wrap and width arguments
git-svn-id: svn://10.0.0.236/trunk@25651 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:13:04 +00:00
amusil%netscape.com
2068508eee Changes to hook up LiveConnect on Windows
git-svn-id: svn://10.0.0.236/trunk@25467 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:18:05 +00:00
joki%netscape.com
58d63da788 Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements)
git-svn-id: svn://10.0.0.236/trunk@25418 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 22:22:54 +00:00
kipp%netscape.com
44389095c5 Provide zero margins for other sides
git-svn-id: svn://10.0.0.236/trunk@25158 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:41:59 +00:00
briano%netscape.com
2c7493c6fa Handle NO_STATIC_LIB being set, when all this file does is create a static library.
git-svn-id: svn://10.0.0.236/trunk@25120 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 21:10:22 +00:00
peterl%netscape.com
3ddd7c1e6b cleaned up attribute style hints to reflect the real info
git-svn-id: svn://10.0.0.236/trunk@25087 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:39:12 +00:00
kipp%netscape.com
e457c12b03 Use compatability table for div align mappings
git-svn-id: svn://10.0.0.236/trunk@25048 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:48:06 +00:00
kipp%netscape.com
542ae0948a Removed some dead code
git-svn-id: svn://10.0.0.236/trunk@25047 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:47:46 +00:00
beard%netscape.com
740c8bf189 new implementation of GetScriptObject, returns a script object that is a wrapper for the Java applet object, whose prototype points to the standard DOM element object. This allows the applet's public fields to shadow the DOM properties. only turned on for XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@24630 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 20:48:49 +00:00
vidur%netscape.com
edfbccc3cb Implemented ID targetting for HTML in XML documents. Changed name of GetNameSpacePrefix to avoid clash.
git-svn-id: svn://10.0.0.236/trunk@24531 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:51:00 +00:00
kipp%netscape.com
9746304a9f Support html4 type attribute
git-svn-id: svn://10.0.0.236/trunk@24527 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:32:48 +00:00
kipp%netscape.com
32c660d9d5 Handle background attribute better
git-svn-id: svn://10.0.0.236/trunk@24494 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:09:29 +00:00
kipp%netscape.com
0f0692af69 Fixed bug #3597 - lower case alpha/roman bullets
git-svn-id: svn://10.0.0.236/trunk@24318 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:01:52 +00:00
karnaze%netscape.com
fe3b92e60b removed code to set margins on radio buttons and checkboxes. It is now done using attribute selectors in ua.css.
git-svn-id: svn://10.0.0.236/trunk@24115 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 17:39:58 +00:00
vidur%netscape.com
2cf6b40bda Added CreateElementWithNameSpace to proprietary document interface. Fixed GetTagName for HTML to uppercase tag names. Hooked up style rule addition and deletion to reconstruct frames. Fixed DOM generation problem
git-svn-id: svn://10.0.0.236/trunk@23441 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:17:49 +00:00
kipp%netscape.com
e72cc15886 Support more css style for hr's; map align to auto margins
git-svn-id: svn://10.0.0.236/trunk@22834 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:20:07 +00:00
pollmann%netscape.com
4642b85847 Give nsTextControlFrame a notification when readonly on a TextArea is changed.
git-svn-id: svn://10.0.0.236/trunk@22681 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 03:05:31 +00:00
pollmann%netscape.com
7692e0c4c1 Fix bug #3375 and #3368: Allow hidden inputs and password inputs to store values.
git-svn-id: svn://10.0.0.236/trunk@22680 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 02:54:25 +00:00
kmcclusk%netscape.com
4bd141876c gfx vs native widget rendering can now be specified in the viewer at run-time.
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN


git-svn-id: svn://10.0.0.236/trunk@22614 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:43:26 +00:00
joki%netscape.com
e62bbe65fe Adding new tab handling and focus support.
git-svn-id: svn://10.0.0.236/trunk@22599 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 19:19:24 +00:00
joki%netscape.com
6e83286f60 Adding new interface for focusable content
git-svn-id: svn://10.0.0.236/trunk@22597 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 19:05:54 +00:00
pollmann%netscape.com
2aa51a7e02 Cleanup: Use the GetPrimary Frame in nsGenericHTMLElement. Enable fetching selectedIndex before frame creation (using DefaultSelected instead of Selected) Bug #3340
git-svn-id: svn://10.0.0.236/trunk@22517 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:31:17 +00:00
pollmann%netscape.com
af6fe42eb6 Enable GetSelected for options inside of option groups. (Fix GetPrimaryFrame)
git-svn-id: svn://10.0.0.236/trunk@22516 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:26:29 +00:00
pollmann%netscape.com
95b65d4e20 Cleanup: return NS_NOINTERFACE not NS_OK if getting the primary frame fails.
git-svn-id: svn://10.0.0.236/trunk@22515 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:22:45 +00:00
vidur%netscape.com
83118f458a Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy.
git-svn-id: svn://10.0.0.236/trunk@22445 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:57:35 +00:00
hyatt%netscape.com
6d1d5f3315 Modified HTML content's QueryInterface macro to supported nsIStyledContent.
git-svn-id: svn://10.0.0.236/trunk@22274 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:36:41 +00:00
vidur%netscape.com
9270605250 Made style reresolution propogate down to the bullet frames for list items. Added list related attribute tests.
git-svn-id: svn://10.0.0.236/trunk@21947 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:14:35 +00:00
vidur%netscape.com
c1da744044 Added nsIStyleSheetLinkingElement interface and implemented it for LINK and STYLE elements. Got attribute modifications for lists and list items working (including correct renumbering of lists when attribute values change).
git-svn-id: svn://10.0.0.236/trunk@21624 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:18:12 +00:00
mcafee%netscape.com
1f7994d9de Solaris needs newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@21262 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:43:26 +00:00
cyeh%netscape.com
7d89e840e2 Remove mozilla/layout/config and use mozilla/config instead.
git-svn-id: svn://10.0.0.236/trunk@21159 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:16:21 +00:00
kipp%netscape.com
fa4db70f26 Fixed up alignment mappings
git-svn-id: svn://10.0.0.236/trunk@21108 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:28:55 +00:00
kmcclusk%netscape.com
e999bd483b Added pseudo styles for file input element buttons and text fields to control their
appearance during printing.
Now returns value of file upload element in nsHTMLInputElement::GetValue.
Added :file-textstyle and :file-buttonstyle pseudo style's to ua.css.
Modified nsButtonControlFrame::PaintButton to accept a rectangle describing the
position and size of the button to paint.
Modified nsFileControlFrame::Paint to resolve :file-buttonstyle and :file-textstyle to
paint the file upload's button and text field using settings in ua.css
Added nsFileControlFrame::HasWidget utility method.
Added nsFormControlHelper::GetInputElementValue to get the current value of an input element
from the DOM.
Modified nsTextControlFrame::GetProperty to use nsFormControlHelper::GetInputElementValue
Modified nsTextControlFrame::PaintTextControl to accept a rectangle describing the position
and size of the text control to paint.
Modified nsTextControl::PaintTextControlBackground to include a rectangle describing the
position and size of the text control background to paint.


git-svn-id: svn://10.0.0.236/trunk@21055 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:13:39 +00:00
vidur%netscape.com
0556407675 Implemented the correct content model for the TITLE element and allowed for dynamic change.
git-svn-id: svn://10.0.0.236/trunk@21050 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:56:55 +00:00
nisheeth%netscape.com
cd8aba491a Added style hints for DOM attribute changes to the FONT and BASEFONT content objects.
git-svn-id: svn://10.0.0.236/trunk@20743 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 23:48:09 +00:00
nisheeth%netscape.com
e3f2944049 - Changed name of getter function for style hints to GetStyleHintForAttributeChange().
- Plugged in style hint for changes to the <HR NOSHADE> attribute.


git-svn-id: svn://10.0.0.236/trunk@20724 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 06:42:44 +00:00
troy%netscape.com
176116b148 Fixed some errors related to switch to using nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@20585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:41:26 +00:00
kipp%netscape.com
9b917419dc COMized nsIPresShell and nsIPresContext
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00
peterl%netscape.com
38427deaa9 changed all html atoms to lower case
git-svn-id: svn://10.0.0.236/trunk@20542 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 06:19:07 +00:00
kmcclusk%netscape.com
4f668b7081 Fixed border rendering during printing for Select and text, and text areas.
Implemented SetProperty/GetProperty methods for FileControlFrame
Added nsGenericHTMLElement::GetPrimaryFrame check for nsnull for doc return type.
nsHTMLInputElement.cpp replace NS_OK == with  NS_SUCCEEDED in GetValue and SetValue
Added GetName and GetValue utility methods to nsFormControlHelper
modified nsButtonControlFrame::PaintButton to take the label to paint as an extra parameter.
This allows it to be callable from the nsFileControlFrame code to render the button.


git-svn-id: svn://10.0.0.236/trunk@20325 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:13:28 +00:00
vidur%netscape.com
37fc0ea58e Hooked up style hint for id, class and dir
git-svn-id: svn://10.0.0.236/trunk@19868 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 19:55:56 +00:00
vidur%netscape.com
1349b5dad4 Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work
git-svn-id: svn://10.0.0.236/trunk@19537 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:38:16 +00:00
kmcclusk%netscape.com
1b772da460 Moved GetPrimaryFrame to nsGenericHTMLElement.
Modifed nsHTMLTextAreaElement to go through it's frame to set and get values


git-svn-id: svn://10.0.0.236/trunk@19185 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 18:44:59 +00:00
karnaze%netscape.com
6ff27d1704 Made table frame construction flexible enough to allow arbitrary content to be mapped
to arbitrary table related display types.


git-svn-id: svn://10.0.0.236/trunk@19080 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 15:52:19 +00:00