Commit Graph

559 Commits

Author SHA1 Message Date
kipp%netscape.com
931ab0fbb3 Made SkipRuleSet actually work 1998-09-25 18:17:48 +00:00
kipp%netscape.com
3885b8f0b0 Don't block incremental loading reflows because of mInMonolithicContainer (it was necessary early on, now it isn't) 1998-09-25 17:30:59 +00:00
kipp%netscape.com
96b8114547 Renamed FrameDeleted to FrameRemoved 1998-09-25 16:12:13 +00:00
troy%netscape.com
50795d8516 Moved ContentDeleted() document notification code to the style system which
generates the reflow command
1998-09-25 05:13:06 +00:00
peterl%netscape.com
3b8aee3337 handle HTML comment tags as whitespace 1998-09-25 01:50:51 +00:00
peterl%netscape.com
27b3193c87 fixed bug preventing properties from parsing if followed by whitespace.
ie: color : blue didn't work
1998-09-25 01:50:34 +00:00
peterl%netscape.com
7aaa6f0444 removed content apis from style context 1998-09-25 01:48:22 +00:00
vidur%netscape.com
b4fc446c94 Added new style interfaces. Implemented getStyle() on HTMLElement. Moved DOM fields into side struct for nsGenericHTMLElement. Implemented style declaration interface on proxy. Added new entry point to CSSParser and new methods to style declaration. 1998-09-25 00:51:45 +00:00
kipp%netscape.com
30286f0567 Fixed attribute atom typo 1998-09-25 00:01:08 +00:00
kipp%netscape.com
49f2e69fbe Disable a certain kind of caching to make incremental style changes work 1998-09-24 23:56:45 +00:00
kipp%netscape.com
eb45c70707 Expose remap method 1998-09-24 23:56:30 +00:00
kipp%netscape.com
7d68c73ef2 Implement revised nsIDocument/nsIDocumentObserver methods 1998-09-24 21:39:47 +00:00
kipp%netscape.com
d7965678bd changed frame remove methods 1998-09-24 21:39:29 +00:00
kipp%netscape.com
15a7d45319 XPCOM'ized the notification methods; changed frame remove methods; added AttributeChanged 1998-09-24 21:39:16 +00:00
kipp%netscape.com
a7c647f26c Eliminate SetAttr/UnsetAttr; use standard 3arg version now; leave the attribute impl macros alone for now; pass on attribute changes to the document when aNotify is PR_TRUE 1998-09-24 21:35:52 +00:00
kipp%netscape.com
8dd144f2a8 Updated UnsetAttribute to have a notification flag 1998-09-24 21:33:56 +00:00
kipp%netscape.com
2ae6430c3d Added bullet pseudo style attribute 1998-09-24 21:32:12 +00:00
troy%netscape.com
bc86038f2a Added call to ProcessChildren() for OBJECT tag 1998-09-24 20:35:59 +00:00
troy%netscape.com
06c2b4210f Removed a comment that is no longer applicable 1998-09-23 21:55:41 +00:00
buster%netscape.com
1fba5ac7dc all frame initialization and related logic has moved into the various table frames' Init() methods
from their respective InitalReflow() methods.
table-layout=fixed now completely skips pass1 reflow and doesn't require maxElementSize
information, saving a tremendous amount of time during initial reflow.
1998-09-23 21:48:26 +00:00
karnaze%netscape.com
fb883f1869 Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00
troy%netscape.com
c2b31326e5 Fixed an off by one problem in the ContentInserted() code 1998-09-23 04:25:49 +00:00
kipp%netscape.com
045654d701 Added a list method for outputing top/right/bottom/left objects like border/padding/margins 1998-09-23 02:36:07 +00:00
kipp%netscape.com
dfe4d42ca1 Fixed parsing of margins to allow for auto values 1998-09-23 02:35:10 +00:00
kipp%netscape.com
cd78e9f1fb Removed VerticallyAlignChildren (it's in nsInlineReflow now) 1998-09-23 02:34:43 +00:00
kipp%netscape.com
2687e9ae4c Improved list output for border/padding/margin 1998-09-23 02:34:21 +00:00
kipp%netscape.com
1b4505ed58 Added a reminder XXX 1998-09-23 02:33:04 +00:00
kipp%netscape.com
855bc5bdea Removed dead includes 1998-09-23 02:32:43 +00:00
buster%netscape.com
6b5085a487 set all the groundwork for FAST table layout based on CSS-2 table-layout property 1998-09-22 23:36:06 +00:00
peterl%netscape.com
b68e81bebd don't set attributes that are already set 1998-09-22 02:09:26 +00:00
peterl%netscape.com
718f4b9882 clamp border & padding width to 0 1998-09-22 02:08:45 +00:00
buster%netscape.com
259db0bd26 added "center" to table horizontal align attribute as a legal value, although the HTML4 spec
says "middle" for h-align and "center" for v-align.  But Nav4 and IE both accept "center" as
well as "middle", so now we do too.
1998-09-21 18:34:30 +00:00
buster%netscape.com
8c93860f3d captions now work properly with new frame layout strategy.
nsTableOuterFrame->mFirstChild==nsTableOuterFrame->mInnerTableFrame, always.
1998-09-20 04:50:08 +00:00
buster%netscape.com
0b05aed482 made sure that all attributes respect their minimum values as per HTML 4 spec.
fixed some comments.
1998-09-18 22:39:16 +00:00
troy%netscape.com
fcf1a1dcdb Changes to ContentInserted() handler 1998-09-18 21:28:21 +00:00
troy%netscape.com
6d20aa0438 Added AttributeChanged() member function for communicating attribute value
changes to the frame
1998-09-18 19:53:27 +00:00
troy%netscape.com
f80fdc69aa Removed CreateFrame() from nsIHTMLContent 1998-09-18 18:04:42 +00:00
troy%netscape.com
29e5156e14 Removed nsIContentDelegate.h 1998-09-18 17:34:48 +00:00
troy%netscape.com
28c7cf540c Removed content delegates 1998-09-18 17:18:37 +00:00
rpotts%netscape.com
1a83dade2e Fixed up usage of the NS_RELEASE2(...) macro. 1998-09-17 05:40:57 +00:00
troy%netscape.com
9adcf5d319 Cleaned up frame construction code 1998-09-17 04:07:58 +00:00
vidur%netscape.com
4e3024a5f9 Added constructors for DOM JS classes. nsIScriptObjectOwner::ResetScriptObject is now SetScriptObject. New factory for layout. New interface nsIDOMNativeObjectRegistry. 1998-09-17 01:53:52 +00:00
valeski%netscape.com
bab22077b8 ? network/module/nsNetFactory.cpp
Added nsNetFactory implementation. This allows users to retrieve nsINetService pointers from the service factory manager.

M dom/src/base/nsGlobalWindow.cpp
M gfx/src/nsImageNetContextSync.cpp
M layout/html/document/src/nsHTMLDocument.cpp
M network/module/nsURL.cpp
Replaced NS_NewINetService() calls with nsServiceManager::GetService() calls.

M network/module/Makefile
M network/module/makefile.win
Added nsNetFactory.cpp to the builds.

M network/module/nsINetService.h
Added a #define for the class id of the nsNetService.

M network/module/nsIStreamListener.h
Removed the NS_DEFINE_IID of kIStreamListenerIID from the header file. Each module that wants this will need to delcare it themselves.

M network/module/nsNetFile.cpp
Fixed memory leak.

M network/module/nsNetService.cpp
Globalized the gNetlibService variable so the NetFactory can access it.

M webshell/src/nsDocLoader.cpp
M webshell/src/nsPluginViewer.cpp
NS_DEFINE_IID of kIStreamListenerIID

M webshell/tests/viewer/nsSetupRegistry.cpp
Added the netlib library to the list of libraries in the registry and register the nsNetFactory with the appropriate iid and clsids.
1998-09-17 00:55:35 +00:00
peterl%netscape.com
31be38a404 connected xheight, fixed font realtive sizes,
fixed text-decoration
1998-09-17 00:19:47 +00:00
peterl%netscape.com
bf2b6c453c fixed bugs dealing with string color values 1998-09-17 00:18:57 +00:00
troy%netscape.com
0849b34474 Changed ContentAppended() to not walk up the frame hierarchy looking
for a frame that maps the parent content object that changed
1998-09-17 00:06:46 +00:00
troy%netscape.com
65269d3422 Frame construction changes for tables 1998-09-16 17:19:20 +00:00
joki%netscape.com
357c55b191 More support for capturing, minor adjustments to window.open behavior. 1998-09-15 21:31:58 +00:00
buster%netscape.com
0c4fcf7d17 added table content interfaces 1998-09-15 18:07:54 +00:00
buster%netscape.com
953b2efb58 nsStyleConsts.h added some HTML 4 consts for tables
nsHTMLAtoms.cpp,h             added some HTML 4 strings for tables
nsHTMLParts.h                 added constructors for new table content classes
nsGenericHTMLElement.cpp,h    added table frame creation, common table attribute parsing
nsHTMLTable*Element.cpp       these are the new table content classes
nsHTMLContentSink.cpp         enabled the new content and removed the old
nsHTMLStyleSheet.cpp          fixed the table style optimizations to work with new content
nsTable*Frame.cpp             these work with the new content
1998-09-15 17:58:24 +00:00
kipp%netscape.com
8f2807a027 Removed css/layout directory 1998-09-15 00:19:49 +00:00
vidur%netscape.com
d60e612731 Got rid of Construct method from nsIJSScriptObject interface. Added first-pass implementation of reflow case to nsGenericHTMLElement::SetAttr. 1998-09-14 23:02:32 +00:00
troy%netscape.com
805dafbcdf Added overloaded ConstructFrame() member function. Prep work for table
changes
1998-09-14 21:16:01 +00:00
rpotts%netscape.com
63abdfe9cb Fixed some reference counting problems introduced by the rev 1.20 check in... 1998-09-14 05:43:54 +00:00
troy%netscape.com
17fd2c695e Changes ProcessChildren() to return the child list and leave it to the caller
(ConstructFrame() member function) to call Init()
1998-09-12 23:51:57 +00:00
kipp%netscape.com
ec78a6e659 Work around crash bug with content delegate 1998-09-12 23:30:23 +00:00
kipp%netscape.com
f877659693 Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros 1998-09-12 19:33:48 +00:00
troy%netscape.com
4ad7bda623 Part of frame construction changes 1998-09-12 04:46:35 +00:00
peterl%netscape.com
61a4c6858a vend important rule when present 1998-09-12 02:46:59 +00:00
peterl%netscape.com
33bac6b83b fixed content ref count bugs in ContentAppended 1998-09-12 02:46:09 +00:00
peterl%netscape.com
7b8fd5e5b4 added debug code for ref counting 1998-09-12 02:45:26 +00:00
peterl%netscape.com
a51760d803 init ref count of important rule 1998-09-12 02:43:48 +00:00
peterl%netscape.com
749f0404c6 properly addref attr stylesheet before returning 1998-09-12 02:43:19 +00:00
peterl%netscape.com
d02547b4ea properly release doc & style sheet when setting attributes 1998-09-12 02:42:44 +00:00
vidur%netscape.com
67406f8fe7 Fixed document.writeln problem from http://www.legomindspring.com 1998-09-12 00:04:22 +00:00
troy%netscape.com
f35125901c Fixed leak of reflow command 1998-09-11 18:57:54 +00:00
kipp%netscape.com
1ea6fd9a4e inlined IsSynthetic implementation AND made it work 1998-09-11 05:38:25 +00:00
kipp%netscape.com
dcf6b5fd92 Use InitialReflow to layout the image document instead of ResizeReflow so that images layout properly 1998-09-11 04:20:30 +00:00
kipp%netscape.com
a375a19cac Check in of somewhat bogus handling of the notify values (which is going away!) 1998-09-11 04:16:18 +00:00
kipp%netscape.com
37fb2e7a12 Support length values for vertical-align 1998-09-11 04:15:03 +00:00
peterl%netscape.com
4701208437 added strength api to style rule 1998-09-11 02:07:58 +00:00
peterl%netscape.com
282eb4c3bb added important rule support 1998-09-11 02:07:46 +00:00
peterl%netscape.com
bfc7f2ffe1 added important rule support
factored declaration processing to a static method
1998-09-11 02:07:05 +00:00
peterl%netscape.com
ef34a211d1 sort style rules by strength 1998-09-11 02:05:30 +00:00
peterl%netscape.com
690e996b99 added strength 1998-09-11 02:05:07 +00:00
kipp%netscape.com
97c08325ed Revised various vertical alignment cases to use font introspection data instead of hard coding in values; corrected middle computation. 1998-09-10 23:43:12 +00:00
kipp%netscape.com
1408d551cd Fixed a bug with percent values being converted to strings 1998-09-10 23:42:18 +00:00
troy%netscape.com
b6e6eb1e83 Hooked back up IFRAME 1998-09-10 21:03:16 +00:00
troy%netscape.com
58260397be Fixed frameset crash 1998-09-10 20:37:19 +00:00
troy%netscape.com
effef91cf6 Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
vidur%netscape.com
8269741cd1 Got rid of extra release in Item() method of childNodes array of nsGenericHTMLContent 1998-09-10 17:51:30 +00:00
vidur%netscape.com
c9f606883d Fixes to get Rotate.html working 1998-09-10 17:11:46 +00:00
peterl%netscape.com
ab0ec41618 added to string support 1998-09-10 01:19:26 +00:00
peterl%netscape.com
68a67f588b removed assert on x-height unit 1998-09-10 01:18:27 +00:00
peterl%netscape.com
b0238f71b5 fixed filtering of valid ID selectors 1998-09-10 01:18:06 +00:00
peterl%netscape.com
ff3b13ac05 sync css declaration to xif with new api 1998-09-10 01:16:25 +00:00
peterl%netscape.com
edfb66c664 added to string support for style= attributes 1998-09-10 01:15:23 +00:00
karnaze%netscape.com
1c1a6dacaf converted frame/iframe/frameset to new layout/content separation 1998-09-09 23:30:30 +00:00
vidur%netscape.com
71ddfaa36d Added nsIJSScriptObject interface to nsGenericHTMLContent class and fixed element.childNodes 1998-09-09 21:02:42 +00:00
rods%netscape.com
e8ae61a40e Removed TraverseBlockContent static function 1998-09-09 17:42:21 +00:00
kipp%netscape.com
9761c43652 Support direct loading of image documents by using the GetImageFromStream method on the image group. 1998-09-09 16:19:30 +00:00
rods%netscape.com
4a4b4a34b2 XPCOM'ed the Selection and Search methods 1998-09-09 16:11:59 +00:00
joki%netscape.com
2fdc3c0534 Do not allow script errors to stop page parsing. 1998-09-09 01:19:52 +00:00
kipp%netscape.com
c370fc4b19 Create HTML-html-element not a root part 1998-09-08 22:38:17 +00:00
kipp%netscape.com
6f9831d646 Implement HandleDOMEvent properly; clean up whitespace 1998-09-08 22:37:46 +00:00
kipp%netscape.com
320b3c0b16 Use NS_NewBodyFrame and NS_NewHTMLFrame 1998-09-08 22:37:24 +00:00
kipp%netscape.com
e77e31bfa9 Added new atoms 1998-09-08 22:34:06 +00:00
kipp%netscape.com
9a502dcf07 Fixed bug caused during XPCOM'ing the nsIContent API 1998-09-08 22:32:32 +00:00
rods%netscape.com
1a4caf4bed Changed Find to use all nsIDOMxxx classes instead of nsIContent 1998-09-08 22:13:29 +00:00
kipp%netscape.com
b097632eb3 Create text using NS_NewTextNode API 1998-09-06 00:21:22 +00:00