Commit Graph

1229 Commits

Author SHA1 Message Date
peterl%netscape.com
16dd98d7c6 added clone & insert child support
added drag-n-drop pseudo support
1999-05-18 23:14:29 +00:00
peterl%netscape.com
509b511681 fixed escape parsing 1999-05-18 23:13:27 +00:00
peterl%netscape.com
8c7207edd4 added css loader for child sheet
added drag pseudo classes
fixed background parsing bug
1999-05-18 23:12:17 +00:00
peterl%netscape.com
ee38d2fcc4 added insert child sheet & clone methods 1999-05-18 23:10:09 +00:00
peterl%netscape.com
a352098c9a added set child loader 1999-05-18 23:09:47 +00:00
peterl%netscape.com
a3acf5d792 added drag pseudo classes 1999-05-18 23:09:21 +00:00
peterl%netscape.com
a1f54abb23 added insert style sheet 1999-05-18 23:08:14 +00:00
peterl%netscape.com
19a8b98b3a added css loader accessor 1999-05-18 23:07:53 +00:00
peterl%netscape.com
6c1f985d9f added css loader support
added insert style sheet support
1999-05-18 23:06:31 +00:00
peterl%netscape.com
e267a57f71 moved style sheet loading into css loader 1999-05-18 23:05:43 +00:00
peterl%netscape.com
9c2a06fc88 use css loader to get css parser for style attribute 1999-05-18 23:04:44 +00:00
karnaze%netscape.com
ebeb68d601 support for css padding in table cells 1999-05-18 05:18:16 +00:00
vidur%netscape.com
670a743cda Partial fix for bug 6554. document.writing the body from a script in the head now works. 1999-05-18 02:08:04 +00:00
vidur%netscape.com
f59a24987b Implemented document.layers and nsIDOMHTMLLayerElement interface. 1999-05-17 21:17:48 +00:00
beard%netscape.com
d2c8b15332 fixed ref count leak 1999-05-14 20:43:27 +00:00
kmcclusk%netscape.com
664a8f2a93 bug #5993. Removed references to nsIWidget in form HTML content elements. the form elements
now go through the nsFormControlFrame interface instead. This removes the dependency between
form element content and nsIWidget.
1999-05-13 23:45:40 +00:00
neeti%netscape.com
41dc3a3222 Fixed SetEnableRendering() in nsDocumentViewer.cpp
Initialized mEnableRendering in constructors of nsDocumentViewer.cpp and nsPlugin.cpp to a default value of PR_TRU
Do EnableRefresh only if mEnableRendering is set to true in nsHTMLContentSink.cpp,nsXMLContentSink.cpp,
nsXMLContentSink.h
1999-05-13 20:27:47 +00:00
warren%netscape.com
87b26617d5 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
sspitzer%netscape.com
39efa1c7f8 make destructors virtual 1999-05-13 02:11:25 +00:00
evaughan%netscape.com
bf31c42dde Fixed pseudoclass hack to actually use active, hover, focus pseudoclasses. 1999-05-13 01:35:16 +00:00
alecf%netscape.com
334b3a5e33 Count() is no longer const 1999-05-12 02:55:54 +00:00
vidur%netscape.com
26a71e3928 Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface. 1999-05-11 20:22:35 +00:00
vidur%netscape.com
371d69ea33 nodeName for HTML elements are uppercase as well. 1999-05-11 20:21:45 +00:00
karnaze%netscape.com
25e7ff8cde added vcard_name html attribute. Added GetVcardName in nsFormFrame. 1999-05-08 19:30:57 +00:00
vidur%netscape.com
70bc9a9d5c Added precaching of images for script constructed images. 1999-05-07 00:08:21 +00:00
kipp%netscape.com
c66cd43ff3 Implement nsIHTMLElementFactory 1999-05-06 19:26:43 +00:00
nisheeth%netscape.com
b0200eb326 Pass in the document object as a key to the parser. 1999-05-06 01:50:26 +00:00
kipp%netscape.com
1d26bd7708 new 1999-05-05 20:42:51 +00:00
vidur%netscape.com
4849bf6f06 Fixed non-ANSII compliant code. 1999-05-04 20:53:44 +00:00
vidur%netscape.com
bb8f8a4773 Added nsISelectElement interface. Added support for nsIJSNativeInitializer interface for images and options. Fixed SELECT and OPTION relationship. Added support for the Option constructor. 1999-05-04 20:53:26 +00:00
vidur%netscape.com
1546549276 Added option to HTMLAtoms 1999-05-04 20:52:26 +00:00
dp%netscape.com
262d0f491f XPCOM: Addref() and Release() usage fixed. 1999-05-04 18:38:21 +00:00
kostello%netscape.com
69a841f3b2 Moidifed to match the API change in nsHTMLContentSinkStream. 1999-05-03 18:42:53 +00:00
pinkerton%netscape.com
7638e305fb added GetIID() method. 1999-04-30 08:59:11 +00:00
peterl%netscape.com
2203862640 fixed background propogation code to replace previously propogated background info 1999-04-28 01:51:38 +00:00
kipp%netscape.com
b99109494b Activate the first-letter special rule; fixed a memory leak 1999-04-28 01:16:45 +00:00
kipp%netscape.com
c583a4158d REmoved dead ART code 1999-04-28 00:21:13 +00:00
pollmann%netscape.com
e3a0514c1f Crash fix: Kill an extra NS_RELEASE in GetSelectedIndex 1999-04-27 22:17:57 +00:00
kipp%netscape.com
39c56cdb27 Removed compiler warnings 1999-04-27 22:14:17 +00:00
kipp%netscape.com
10dae08190 Removed lineFrame; added mozLetterFrame 1999-04-27 22:12:00 +00:00
ftang%netscape.com
2e97bf7dcc change S/GetDocumentCharacterSet method for nsIDocument interface. 1999-04-27 21:49:25 +00:00
pollmann%netscape.com
d1d123adba Fix Bug 3878: Get the form element from our containing select element.
Also, remove a spurioius NS_RELEASE that was causing crashes in GetSelected()
1999-04-27 19:58:15 +00:00
ftang%netscape.com
b86827f54b add support for default encoding menu 1999-04-26 17:56:37 +00:00
harishd%netscape.com
6e22de3af6 Added an extra parameter(PRBool) - aNotify, to AddAttributes().
This parameter has been defaulted to PR_FALSE.
1999-04-25 22:18:49 +00:00
rickg%netscape.com
13ca296be6 update to sync with nsString2 1999-04-22 05:49:39 +00:00
karnaze%netscape.com
74eb256f75 dir attribute on <table> gets converted to css direction 1999-04-22 03:50:39 +00:00
rickg%netscape.com
1a3777a0b7 updates to sync with nsString2 api 1999-04-21 23:48:41 +00:00
rickg%netscape.com
8e0367b04c updates to sync with nsString2 api 1999-04-21 23:43:11 +00:00
troy%netscape.com
8a4906a2ff Changed MapStyleInto() to also reset mBackgroundAttachment when resetting
the BODY's background properties
1999-04-21 21:39:47 +00:00
bruce%cybersight.com
58575369dd Fix for ANSI C++ compliance: friend foo -> friend class foo 1999-04-21 04:16:46 +00:00
troy%netscape.com
1570eb63cb Moved blockFrame and inlineFrame atoms to nsLayoutAtoms 1999-04-20 18:22:47 +00:00
troy%netscape.com
0f73d45160 Change to atoms 1999-04-20 18:22:28 +00:00
peterl%netscape.com
f7c79764b1 turned off style rule hash debugging code 1999-04-20 14:22:37 +00:00
kipp%netscape.com
1ada64d1cd Support first-line style 1999-04-20 00:28:40 +00:00
kipp%netscape.com
39f3954168 Added lineFrame 1999-04-20 00:26:09 +00:00
peterl%netscape.com
c503d0ed68 added tests for state dependent style 1999-04-20 00:05:54 +00:00
peterl%netscape.com
fbde443a95 split font style mapping from regular style mapping 1999-04-15 21:23:05 +00:00
peterl%netscape.com
aa95291e32 fixed pseudo element parsing 1999-04-15 21:22:41 +00:00
harishd%netscape.com
648507cfd7 Modified methods BeginContext() and EndContext()
to handle illega-contents in tables
1999-04-15 20:18:34 +00:00
vidur%netscape.com
78f743c391 Fixes for bugs 4783 and 2243. Content can now be added via the DOM during document loading. document.written content can also cause the parser to block. 1999-04-13 22:22:51 +00:00
kmcclusk%netscape.com
a2ffe366a4 Enabled frame-based comboboxes when widget rendering mode is gfx.
Major changes to nsComboboxControlFrame:
Removed commented out code + nsIPluggableEventListener references.
Implemented nsComboboxControlFrame::GetNamesValues
Implemented nsComboboxControlFrame::SetProperty GetProperty methods
Fixed references to previously freed memory in nsComboboxControlFrame::ReResolveStyleContext
Modified ua.css style rules for dropdown-visible, drodown-hidden to have -moz- prefix.
Added -moz-dropdown-btn-out and -moz-dropdown-btn-pressed, -moz-dropdown-list rules.
Modified nsListControlFrame.cpp to calculate the width of the dropdown list for combo boxes correctly
Added nsListControlFrame::GetProperty and SetProperty methods.
Modified nsCSSFrameConstructor::ConstructSelectFrame to setup combobox.
1999-04-12 22:14:31 +00:00
joki%netscape.com
b6f2484b5b New api's into nsEventStateManager for content state change (hover,focus,active) 1999-04-12 21:24:07 +00:00
kipp%netscape.com
26c9966824 Allow negative values for clip rects as per css spec 1999-04-10 17:33:09 +00:00
karnaze%netscape.com
5c121e8bd6 bug 4643, webshells reset scrolling value to prior value on reloading doc 1999-04-09 21:09:00 +00:00
pollmann%netscape.com
21780034e4 Bugs 4714 4533 4387. A: Chofmann R: Harishd 1999-04-08 23:47:49 +00:00
toshok%hungry.com
d751fd2af0 enable OJI on unix. 1999-04-07 05:14:40 +00:00
rickg%netscape.com
c4b62ed8c6 tiny tweaks to keep in sync with new nsString 1999-04-06 00:29:40 +00:00
harishd%netscape.com
4e746a4f6d Added code in OpenBody() to handle multiple bodies.
Commenting out the precondition.
1999-04-05 20:53:54 +00:00
kipp%netscape.com
bf25700fa4 Added some debug code that allows finer grained append reflow during document loading for debugging incremental reflow 1999-04-03 19:00:23 +00:00
peterl%netscape.com
f0b7fcff54 added -moz-border-radius 1999-04-03 03:15:01 +00:00
sfraser%netscape.com
df87ac03bf Added precondition when no content viewer. 1999-04-03 01:46:21 +00:00
peterl%netscape.com
d5e687f7f6 backing out prevoius changes (unix didn't like it) 1999-04-02 19:57:07 +00:00
peterl%netscape.com
ad625281d0 initialize bitfields through a union to keep purify happy 1999-04-02 18:51:28 +00:00
peterl%netscape.com
ff014c1442 connected content properties to style context 1999-04-02 18:49:40 +00:00
sfraser%netscape.com
8a5fc246e3 Declare functions static to fix warnings. 1999-04-01 23:54:23 +00:00
vidur%netscape.com
d801e996bd Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods. 1999-03-31 20:49:25 +00:00
karnaze%netscape.com
430df9a7be bug 2620 - extra scroll bars on nested frameset documents. 1999-03-31 19:18:39 +00:00
karnaze%netscape.com
a47eea1bd4 bug 4382 - comments inside <option> 1999-03-31 05:59:06 +00:00
troy%netscape.com
96804aa0ef Added back Nav compatibility hack for illegal hex values being mapped
to 0
1999-03-31 05:12:36 +00:00
troy%netscape.com
55ab03b515 Fix for bug #4434 1999-03-31 04:13:24 +00:00
kipp%netscape.com
aa92be47b0 Support cols, wrap and width arguments 1999-03-31 04:13:04 +00:00
troy%netscape.com
024837cf0a Added case for ILAYER 1999-03-30 15:20:14 +00:00
troy%netscape.com
247450a00f Added beforePseudo and afterPseudo 1999-03-30 00:48:57 +00:00
troy%netscape.com
f2c7daae70 Moved beforePseudo and afterpseudo to nsCSSAtoms 1999-03-30 00:47:42 +00:00
amusil%netscape.com
389230902c Changes to hook up LiveConnect on Windows 1999-03-29 22:18:05 +00:00
troy%netscape.com
595d17ecf3 Added beforePseudo and afterPseudo atoms 1999-03-29 03:30:34 +00:00
joki%netscape.com
1c2882e5e6 Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements) 1999-03-28 22:22:54 +00:00
troy%netscape.com
f97dae2e5d Patch from Bruce Mitchener that removes some dead code 1999-03-28 18:26:09 +00:00
peterl%netscape.com
89cd6f6017 added support for outline
border color fixes
1999-03-28 04:31:57 +00:00
peterl%netscape.com
b7974865e3 fixed tokenization bug (treating "+.foo" as a number) 1999-03-28 04:31:12 +00:00
peterl%netscape.com
52d76ba2be fixed bug in parsing backgrounds 1999-03-28 04:29:57 +00:00
kipp%netscape.com
8abd414912 Provide zero margins for other sides 1999-03-26 00:41:59 +00:00
briano%netscape.com
2f105ae044 Handle NO_STATIC_LIB being set, when all this file does is create a static library. 1999-03-25 21:10:22 +00:00
peterl%netscape.com
b37e4f0df7 added percent handling for opacity property 1999-03-25 06:43:07 +00:00
peterl%netscape.com
c93029d956 fix whitespace handling on attribute selectors 1999-03-25 06:42:42 +00:00
peterl%netscape.com
faf2cdb453 add base tag info on the rest of the table elements too 1999-03-25 06:40:06 +00:00
peterl%netscape.com
e8b46b96be cleaned up attribute style hints to reflect the real info 1999-03-25 06:39:12 +00:00
kipp%netscape.com
bb9e98378a Use compatability table for div align mappings 1999-03-25 03:48:06 +00:00
kipp%netscape.com
ff45e93a5c Removed some dead code 1999-03-25 03:47:46 +00:00
beard%netscape.com
bccc7dd505 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. 1999-03-21 20:48:49 +00:00
kipp%netscape.com
9695ca7feb Table's, tr's, td's and th's now support navigators background attribute properly including backgrounds impacted by BASE tags - bug #2020 1999-03-20 15:42:21 +00:00
vidur%netscape.com
695fabe1b5 Implemented ID targetting for HTML in XML documents. Changed name of GetNameSpacePrefix to avoid clash. 1999-03-20 01:51:00 +00:00
kipp%netscape.com
3f70099584 Support html4 type attribute 1999-03-20 01:32:48 +00:00
kipp%netscape.com
ad0c53ce94 Handle background attribute better 1999-03-19 23:09:29 +00:00
kipp%netscape.com
45fde9019e Fixed bug #3597 - lower case alpha/roman bullets 1999-03-18 21:01:52 +00:00
pnunn%netscape.com
687b1f8de3 Fix for bugz#3858. View-images were decoding twice. M3, pnunn@netscape.com
Reviewed by kipp@netscape.com.
1999-03-17 00:13:31 +00:00
kostello%netscape.com
33b523aed4 Added implementation for nsIHTMLContentSink::DoFragment() 1999-03-15 05:11:43 +00:00
karnaze%netscape.com
2c2f89ba0c removed code to set margins on radio buttons and checkboxes. It is now done using attribute selectors in ua.css. 1999-03-14 17:39:58 +00:00
troy%netscape.com
c6c4afe1b6 Fixed MapDeclarationInto() so it correctly handles 'min-width', 'max-width',
'min-height', and 'max-height'
1999-03-11 20:29:02 +00:00
troy%netscape.com
e5223eb70a Patch from Bruce Mitchener (bruce@sybersight.com) that fixes incorrect
use of delete operator
1999-03-11 15:21:46 +00:00
nisheeth%netscape.com
acf5451120 - changing ua.css to add style rules for the 'parsererror' and 'sourcetext' elements.
- added eHTMLTag_parsererror, eHTMLTag_sourcetext to the set of HTML tags.
- These tags are used within XML documents to show errors from expat.
1999-03-11 05:26:53 +00:00
vidur%netscape.com
634e324575 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 1999-03-10 01:17:49 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
troy%netscape.com
a1ca1b831c In RulesMatching(), changed NS_RELEASE to NS_IF_RELEASE for the link handler.
This fixes a crash when doing a print preview
1999-03-06 17:20:27 +00:00
nisheeth%netscape.com
a8aa6a7b87 Changed nsIContentSink->NotifyError() to accept an nsParserError argument. This change is needed for propagating errors from the new expat parser. 1999-03-06 02:01:11 +00:00
kipp%netscape.com
d7bf08c6f6 Support more css style for hr's; map align to auto margins 1999-03-05 04:20:07 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
pollmann%netscape.com
5204ba1e7a Give nsTextControlFrame a notification when readonly on a TextArea is changed. 1999-03-03 03:05:31 +00:00
pollmann%netscape.com
e91bfd4a29 Fix bug #3375 and #3368: Allow hidden inputs and password inputs to store values. 1999-03-03 02:54:25 +00:00
kmcclusk%netscape.com
82dac76411 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
1999-03-02 22:43:26 +00:00
joki%netscape.com
0baca6512f Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
cls%seawood.org
0bbc0ba3a1 Fixed problem with ondblclick being released w/o being allocated. Appeared to be a copy-n-paste oversight. 1999-03-02 10:20:52 +00:00
pollmann%netscape.com
8f30448ae5 Cleanup: Use the GetPrimary Frame in nsGenericHTMLElement. Enable fetching selectedIndex before frame creation (using DefaultSelected instead of Selected) Bug #3340 1999-03-02 03:31:17 +00:00
pollmann%netscape.com
00a111b13e Enable GetSelected for options inside of option groups. (Fix GetPrimaryFrame) 1999-03-02 03:26:29 +00:00
pollmann%netscape.com
4a3e05e302 Cleanup: return NS_NOINTERFACE not NS_OK if getting the primary frame fails. 1999-03-02 03:22:45 +00:00
vidur%netscape.com
cb48e4047a 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. 1999-03-01 16:57:35 +00:00
peterl%netscape.com
8c7771ba8f fixed active link rule support 1999-02-27 07:18:21 +00:00
peterl%netscape.com
ee60b04ab0 added support for dynamic pseudo classes
added support for child & sibling selectors
1999-02-27 07:17:52 +00:00
peterl%netscape.com
75a76e322e added child & sibling selector support 1999-02-27 07:16:57 +00:00
peterl%netscape.com
8e0f3b58c4 added child & sibling selectors 1999-02-27 07:15:59 +00:00
peterl%netscape.com
65be83c9dd added CSS3 UI pseudo classes 1999-02-27 07:14:13 +00:00
peterl%netscape.com
6ded9b5abe set document before adding attributes 1999-02-27 07:13:48 +00:00
hyatt%netscape.com
70a4c0ce9d Modified HTML content's QueryInterface macro to supported nsIStyledContent. 1999-02-27 01:36:41 +00:00
hyatt%netscape.com
375ee1d8f5 Changed GetID, HasClass, and GetClasses so that they are invoked on styledContent
instead of htmlContent.
1999-02-27 01:35:51 +00:00
hyatt%netscape.com
e29262df04 Changed GetInlineStyleRule so that it is invoked on styledContent instead
of htmlContent.
1999-02-27 01:35:25 +00:00
hyatt%netscape.com
06368ef067 Changed GetContentStyleRule so that it is invoked on styledContent instead
of htmlContent.
1999-02-27 01:34:55 +00:00
hyatt%netscape.com
927493e52a Removing the CLASS, ID, and STYLE-specific methods. They are now in
nsIStyledContent (from which nsIHTMLContent now derives).
1999-02-27 01:32:49 +00:00
kipp%netscape.com
960bc34221 fixed up operator new usage 1999-02-26 20:02:06 +00:00
kipp%netscape.com
760dc4af42 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp%netscape.com
a757e2efbe Cleaned up operator new and delete 1999-02-26 17:13:10 +00:00
kipp%netscape.com
cc779556f7 Removed dependency on static constructors 1999-02-26 17:12:16 +00:00
kipp%netscape.com
8e83b73c68 Fixed up operator new and delete 1999-02-26 17:09:35 +00:00
vidur%netscape.com
b15aacfeb3 Made style reresolution propogate down to the bullet frames for list items. Added list related attribute tests. 1999-02-25 19:14:35 +00:00
vidur%netscape.com
93609d0604 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). 1999-02-23 19:18:12 +00:00
mcafee%netscape.com
65b910addc Solaris needs newline at end of file. 1999-02-19 02:43:26 +00:00
scc%netscape.com
5f8d7aa381 updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef| 1999-02-18 23:55:10 +00:00
kmcclusk%netscape.com
8dcf8365b9 changed pseudo styles file-button, file-text to -moz-file-button -moz-file-text in ua.css
Adjusted nsHTMLAtoms to match.
1999-02-18 22:36:59 +00:00
kipp%netscape.com
94912a8da7 Renamed bullet pseudo style 1999-02-18 22:20:19 +00:00
kmcclusk%netscape.com
0006f5de38 Fixed call to ProbePseudoStyleContext in nsButtonControlFrame so it will compile
when NS_GFX_RENDER_FORM_ELEMENTS is defined.
Added checks to nsFileControlFrame::Reflow to make sure the pseudo styles actually
could be loaded. If they can't be loaded it uses the file upload elements style.
Changed file-buttonstyle to file-button and file-textstyle to file-text in ua.css
1999-02-18 22:07:23 +00:00
cyeh%netscape.com
af4818f5e3 Remove mozilla/layout/config and use mozilla/config instead. 1999-02-18 18:16:21 +00:00
kipp%netscape.com
674d43c0b3 Fixed up alignment mappings 1999-02-18 03:28:55 +00:00
kmcclusk%netscape.com
9d22e42a58 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.
1999-02-18 00:13:39 +00:00
vidur%netscape.com
8ac544b55c Implemented the correct content model for the TITLE element and allowed for dynamic change. 1999-02-17 23:56:55 +00:00
rickg%netscape.com
359e6e5567 fixed a wad of little bugs and added regression test 1999-02-16 07:38:27 +00:00
troy%netscape.com
912d59f314 Added code to set/get the view manager's root scrollable view 1999-02-16 04:41:15 +00:00
nisheeth%netscape.com
9dda2f1b02 Added style hints for DOM attribute changes to the FONT and BASEFONT content objects. 1999-02-15 23:48:09 +00:00
nisheeth%netscape.com
c447c1ece3 - Changed name of getter function for style hints to GetStyleHintForAttributeChange().
- Plugged in style hint for changes to the <HR NOSHADE> attribute.
1999-02-15 06:42:44 +00:00
troy%netscape.com
1291adaf56 Added a cast 1999-02-14 06:13:06 +00:00
troy%netscape.com
21440e671d Added some casts to get things to compile 1999-02-14 06:12:29 +00:00
troy%netscape.com
07ce269f24 Added cast to get it to compile 1999-02-14 06:10:51 +00:00
kipp%netscape.com
628ca67c46 Use dont_AddRef on calls that increment the addref 1999-02-12 20:13:47 +00:00
troy%netscape.com
0debd6f0d1 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
peterl%netscape.com
7f04fb00e6 changed all html atoms to lower case 1999-02-12 06:19:07 +00:00
akkana%netscape.com
7982a421d6 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +00:00
troy%netscape.com
57b43ab716 Partial fix for bug #644. We still re-load the document un-necessarily, but
at least now we move to the anchor
1999-02-11 23:08:04 +00:00
peterl%netscape.com
39d604d691 made class values case sensitive 1999-02-11 06:43:14 +00:00
peterl%netscape.com
7abf9dcf70 handle case sensitivity in attribute selector values here 1999-02-11 06:42:49 +00:00
peterl%netscape.com
e3cc02769e fixed bug while tokenizing ints at end of input stream 1999-02-11 06:42:02 +00:00
peterl%netscape.com
587f4aa26e made class selectors case sensitive
moved case-insensitive support for attribute values to style sheet
1999-02-11 06:41:21 +00:00
kmcclusk%netscape.com
3d131e6a4a 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.
1999-02-11 01:13:28 +00:00
peterl%netscape.com
e3f642f33c Improved handling of bad properties 1999-02-10 08:37:52 +00:00
peterl%netscape.com
810f2f5c75 added append struct value 1999-02-10 08:37:28 +00:00
peterl%netscape.com
de371f0fe6 added missing ToString case 1999-02-10 08:36:37 +00:00
troy%netscape.com
9d570499cf Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
peterl%netscape.com
8f99d6776f selector text notes 1999-02-07 21:48:45 +00:00
peterl%netscape.com
7d519ac6c1 added capturing selector source text (to preserve namespace prefixes) 1999-02-07 21:48:27 +00:00
peterl%netscape.com
02a4a1f333 Added token append to string
Improved handling of bad strings
Improved handling of escapes
1999-02-07 21:47:48 +00:00
vidur%netscape.com
c9d93eccf2 Hooked up style hint for id, class and dir 1999-02-05 19:55:56 +00:00
peterl%netscape.com
a95a9904a5 moved frame construction code to its own class 1999-02-05 03:57:49 +00:00
vidur%netscape.com
e0542e23e1 implemented nsHTMLDocument::GetElementsByName 1999-02-04 23:23:07 +00:00
troy%netscape.com
bcc69e2898 Work-in-progress for replaced elements that can't be rendered 1999-02-04 17:03:46 +00:00
kipp%netscape.com
dfca76d3e6 Use nsIHTMLContent attribute api's to avoid attribute changed notification during document loads 1999-02-04 16:28:16 +00:00
kipp%netscape.com
2e48b11493 Avoid crashing when no frame is found during attribute change notifications 1999-02-04 16:27:38 +00:00
vidur%netscape.com
306612234f Implemented miscellaneous document properties 1999-02-04 02:58:02 +00:00
vidur%netscape.com
e1a29fba6d Implemented nsHTMLDocument::SetBody 1999-02-04 02:16:11 +00:00
evaughan%netscape.com
403cc14a84 Added the XUL progress meter widget. 1999-02-04 01:34:15 +00:00
nisheeth%netscape.com
9fa2f8e3ab Added ReconstructFramesOnAttributeChange() to the HTML stylesheet
that gets called when a content object's attribute change requires
its frames to get recreated.
1999-02-04 00:53:08 +00:00
hyatt%netscape.com
472593b2db Changed the tree frame construction code. 1999-02-04 00:28:05 +00:00
vidur%netscape.com
b91611a7b2 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 1999-02-03 19:38:16 +00:00
peterl%netscape.com
6e34e5ef7c improvements to parsing @import, HTML comments and identifiers 1999-02-03 02:59:51 +00:00
kipp%netscape.com
6e9110cb4c Changed value of mozAnonymousBlock atom to match ua.css until a css working group issue is resolved 1999-02-02 17:31:36 +00:00
waterson%netscape.com
f360ad8792 Moved nsXULAtoms::AddrefAtoms() and ReleaseAtoms() to the style sheet's ctor and dtor, as per Peter Linss suggestion. 1999-02-02 05:39:57 +00:00
troy%netscape.com
ad3a2965f8 Implemented fixed position tables 1999-02-02 04:28:55 +00:00
peterl%netscape.com
763f6a8dde made visible an int instead of bool 1999-02-02 03:24:23 +00:00
waterson%netscape.com
0b542b62ed Force an nsXULAtoms::AddrefAtoms to ensure that the XUL atoms and namespace are created in the layout DLL before trying to refer to them. (a=hyatt%netscape.com) 1999-02-01 23:06:49 +00:00
kmcclusk%netscape.com
78015f31f6 Moved GetPrimaryFrame to nsGenericHTMLElement.
Modifed nsHTMLTextAreaElement to go through it's frame to set and get values
1999-02-01 18:44:59 +00:00
troy%netscape.com
0f2e27b0d9 Fixed it so scrollable BLOCK elements can be fixed positioned 1999-02-01 18:09:57 +00:00
kipp%netscape.com
42312a552c Fixed pseudo style atom value 1999-02-01 17:34:31 +00:00
rickg%netscape.com
06970832e3 mondo improvements to DTD 1999-02-01 04:24:37 +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
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
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
troy%netscape.com
01313168f3 Fixed memory leak of MAP content object in OpenMap() 1999-01-29 06:13:55 +00:00
troy%netscape.com
94cf1a6dcd Fixed memory leak of AREA content object in ProcessAREATag() 1999-01-29 05:37:45 +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
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
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
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
ff371f2925 Added work-in-progress for 'fixed' positioning 1999-01-27 05:37:55 +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
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
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
kmcclusk%netscape.com
e342fc0ca1 Added GetPrimaryFrame utility method. 1999-01-26 23:43:52 +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
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
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
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
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
1d4db24d11 added HTTP header atoms 1999-01-23 07:02:56 +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
harishd%netscape.com
c53ae7e35c StyleContext info. is passed on into PaintBorder() 1999-01-22 22:30:02 +00:00
kmcclusk%netscape.com
eb492feecc Removed code which set the defaultchecked from the checked attribute. 1999-01-22 22:14:58 +00:00
rods%netscape.com
34e9cde15c Factored out the Initialization code for the ScrollFrame into a separate method
Added code to hide and show view when applied to the whole tree
Added a method for Creating the proper frames for the SELECT tag
1999-01-22 15:27:54 +00:00
rods%netscape.com
b7e36c8bcd Added some additional attoms for the Combobox Frame Control 1999-01-22 15:25:12 +00:00
pinkerton%netscape.com
9229101e5c hooking toolbars and toolbox back up. Sigh. 1999-01-22 04:04:12 +00:00
hyatt%netscape.com
52ef97fc7c Added support for tree frame instantiation. 1999-01-22 03:31:56 +00:00
pinkerton%netscape.com
c563c226a1 ack, unhook toolbars until i can solve the export problem on win. 1999-01-22 01:53:05 +00:00
pinkerton%netscape.com
e959db5706 hookup toolbars and toolbox so they are instantiated when xul sees those tags. 1999-01-22 01:42:44 +00:00
kostello%netscape.com
20ddd08b9c Updated XIF code to match the new selection work. 1999-01-21 21:45:17 +00:00
hyatt%netscape.com
32b7e34970 Adding support for the widget tag to XUL. 1999-01-21 09:26:01 +00:00
danm%netscape.com
23f9c7d07f create XUL frames 1999-01-21 03:37:37 +00:00
karnaze%netscape.com
29d75b2c52 content sink uses nsWebShell::GetIsFrame to set scrolling on nsWebShell 1999-01-19 23:16:02 +00:00
vidur%netscape.com
8ff9eaa54b Completion of document as node - specifically, the childNodes array. Completion of nodeName, nodeValue and attributes properties for different types of nodes. 1999-01-19 23:07:33 +00:00
karnaze%netscape.com
d29710743f <form> inside <table> submits; marginwidth, marginheight in <frame> working; scrolling in <frame>, <iframe> working 1999-01-19 17:26:06 +00:00
vidur%netscape.com
f052b61c9d Started implementation of Node properties and methods for documents. 1999-01-19 16:58:45 +00:00
vidur%netscape.com
5fed996e8a Made unparented nodes outside the document return a new document fragment as parent. Inserting a node into a tree removes it from its previous position 1999-01-19 03:54:26 +00:00
vidur%netscape.com
c00b32a482 Implemented Element::GetElementsByTagName. Fixed bug 2327 - forms appearing multiple times in document.forms array. 1999-01-18 03:43:43 +00:00
karnaze%netscape.com
7b139f6c8e scrollable row groups 1999-01-17 23:35:56 +00:00
troy%netscape.com
5febae06f6 Fixed it so relatively positioned block frames act as containing blocks
for absolutely positioned child elements
1999-01-16 22:18:08 +00:00
kipp%netscape.com
7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
kipp%netscape.com
4243726f6a Switch to using nsFrameList for frame lists 1999-01-15 22:53:39 +00:00
joki%netscape.com
fd239d7a9b Fix bogus return value on GetImageMap 1999-01-15 22:26:30 +00:00
troy%netscape.com
80866615d9 Fixed it so that box offsets (left/right/top/bottom) can be negative numbers 1999-01-15 22:09:15 +00:00
vidur%netscape.com
9fe347aafc Wildcard handling of document.getElementsByTagName. Better handling of casing and namespaces for tagNames. 1999-01-15 19:18:30 +00:00
kipp%netscape.com
73cb7e9384 Fixed absolute positioning bug I introduced in my last checkin 1999-01-15 17:33:00 +00:00
peterl%netscape.com
b37a2f5b7a better base url support
added support for "none" style change hint
added assert for recycling of html attributes

Checkin during red tree approved by sar
1999-01-15 02:09:29 +00:00
peterl%netscape.com
c251f70e4b don't assert when not mapping anything without mapping function
Checkin during red tree approved by sar
1999-01-15 02:08:20 +00:00
peterl%netscape.com
5cc1370c12 better base url support
Checkin during red tree approved by sar
1999-01-15 02:07:46 +00:00
peterl%netscape.com
e4dc4ef541 better base url support
fixed assert in call to deprecated url method

Checkin during red tree approved by sar
1999-01-15 02:07:15 +00:00
peterl%netscape.com
c925f3459e better base URL support
better parsing of media types (per HTML4.0 spec)
enforce pseudo element sepectors at end of seletor list

Checkin during red tree approved by sar
1999-01-15 02:06:13 +00:00
peterl%netscape.com
081bfbad68 better computation of style hint
Checkin during red tree approved by sar
1999-01-15 02:04:51 +00:00
peterl%netscape.com
f9f88131ba better base url support
fixed parsing of media attribute

Checkin during red tree approved by sar
1999-01-15 02:02:48 +00:00
peterl%netscape.com
1ccd2192a7 better base url and target support
Checkin during red tree approved by sar
1999-01-15 02:01:36 +00:00
peterl%netscape.com
bd2008b38c better base URL support
set base url when parsing style attributes
better style attribute change notification

Checkin during red tree approved by sar
1999-01-15 01:59:42 +00:00
peterl%netscape.com
b0fe9100a0 made font color also set text decoration color
Checkin during red tree approved by sar
1999-01-15 01:58:41 +00:00
peterl%netscape.com
e86b440abd better base URL support
Checkin during red tree approved by sar
1999-01-15 01:57:58 +00:00
kipp%netscape.com
402aa6541a Stop using reflow commands for frame structure changes; instead invoke methods on the frames which then generate reflow commands as needed 1999-01-15 01:30:12 +00:00
vidur%netscape.com
895ce771ea Moved text and comment code out of HTML-specific directories. Completed CloneNode for elements. Completed factory methods for intersection of XML and HTML. 1999-01-14 23:14:02 +00:00
troy%netscape.com
036e6852f2 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
troy%netscape.com
cc9c6e9338 Fix for bug #2316. Added back some code I removed because I didn't think we
needed it, but without out it 'color' doesn't inherit properly
1999-01-14 05:14:11 +00:00
troy%netscape.com
5c75ea66f0 Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements
1999-01-13 06:37:31 +00:00
troy%netscape.com
4332a082d5 Re-commiting my fucking changes... 1999-01-13 00:44:48 +00:00
cltbld%netscape.com
89457008d5 backing out changes made against a red tree 1999-01-13 00:00:57 +00:00
vidur%netscape.com
145af966ed Fix for bug 1258. Content sink flushes tags when it sees a script, but makes sure that reflow doesn't happen until its safe again. 1999-01-12 23:49:13 +00:00
troy%netscape.com
b72a94c761 Fixed a memory leak 1999-01-12 23:17:49 +00:00
kipp%netscape.com
cd76455b98 Use new flag defines 1999-01-12 16:42:03 +00:00
vidur%netscape.com
274a4add3e Second pass of attributes as nodes. Improved namespace management - XML elements now hold on to their containing namespace. Fixed Get/SetDOMAttriute naming issue. Added new namespace parsing methods to nsIContent 1999-01-12 16:37:24 +00:00
troy%netscape.com
0ec574a5c1 Fix for bug #2285. Just reseting the mFlags isn't enough, because the PaintBackground()
member function ignores the flags and checks for a non-empty URL. This way is safer and
should work in all cases
1999-01-11 19:44:22 +00:00
troy%netscape.com
82966e298c Hooked up marginwidth and marginheight attributes to change the 'margin'
property instead of the 'padding' property
1999-01-09 04:31:51 +00:00
rickg%netscape.com
8f11084fc8 sync up with mods to the parser 1999-01-09 01:11:37 +00:00
kipp%netscape.com
ef74e3273a Implement GetAreas; cleanup some whitespace; removed some out of date comments 1999-01-09 00:17:07 +00:00