Commit Graph

991 Commits

Author SHA1 Message Date
buster%netscape.com
9f0bc3a6db impl for DOM table.InsertRow 1998-11-18 06:06:37 +00:00
joki%netscape.com
77fd9c2652 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
peterl%netscape.com
fa2ffaf5bd cursor style cleanup 1998-11-18 02:23:39 +00:00
peterl%netscape.com
265c4ca8a7 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
peterl%netscape.com
e7b84c9f31 use proper pseudo tag for text style contexts 1998-11-18 02:11:27 +00:00
peterl%netscape.com
e26b45e286 added text pseudo tag 1998-11-18 02:09:53 +00:00
buster%netscape.com
387c75adf8 impl for DOM methods table.create(THead|TFoot|Caption) and deleteCaption 1998-11-17 23:09:59 +00:00
buster%netscape.com
63d84c5b52 new module 1998-11-17 22:20:59 +00:00
buster%netscape.com
148fd4ca84 renamed TableElementCollection to GenericElementCollection, and factored it into
it's own module for reuse.
1998-11-17 21:40:38 +00:00
buster%netscape.com
d14f0035d3 implementation of rows() and tBodies() 1998-11-17 16:32:29 +00:00
kipp%netscape.com
2098c2a448 Made SetTitle call ReduceEntities for bug #1398 1998-11-17 16:29:25 +00:00
vidur%netscape.com
026c273104 Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables. 1998-11-17 02:14:38 +00:00
buster%netscape.com
573ce4b643 work in progress for full DOM support for tables 1998-11-16 23:31:24 +00:00
troy%netscape.com
4a3de77c51 Made sure NS_BODY_THE_BODY flag is set for the body wrapper frame we
create for XML documents
1998-11-16 21:48:13 +00:00
buster%netscape.com
e46627bcf6 added storage in styleTable for a column's width contribution from cells that
have colspan>1.
1998-11-16 06:47:24 +00:00
vidur%netscape.com
a56f770bde First pass to allow HTML forms to be embedded inside XML documents. 1998-11-16 06:16:17 +00:00
kipp%netscape.com
aadaf47fc1 Added some more null-pointer checking to DOM methods 1998-11-14 22:51:43 +00:00
michaelp%netscape.com
7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
vidur%netscape.com
f0e94f9767 Added Xlink support 1998-11-14 00:22:10 +00:00
vidur%netscape.com
d5fc2aaaea Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface. 1998-11-14 00:21:19 +00:00
karnaze%netscape.com
1eafba94d2 bug 1374 (hometown.aol.com crash on resize) 1998-11-13 23:44:50 +00:00
vidur%netscape.com
d011a88573 Generic HTML collection base class 1998-11-13 22:30:23 +00:00
rickg%netscape.com
2f234d74a2 allow view-source on XML 1998-11-13 04:36:46 +00:00
troy%netscape.com
555b09f7bd Added a scroll frame for print preview 1998-11-13 04:22:23 +00:00
troy%netscape.com
61080e7a03 Cleaned up ConstructXMLRootFrame() and added some XXX comments 1998-11-13 03:43:15 +00:00
vidur%netscape.com
8f7d93e602 XML example with scripting 1998-11-12 23:57:54 +00:00
vidur%netscape.com
dbf2544c2b Added script handling to XML content sink. Made sure frame construction by tag wasn't done for XML. 1998-11-12 23:55:47 +00:00
kipp%netscape.com
799be9555b Actually advance the dest pointer so a copy occurs (doh!) 1998-11-12 23:33:12 +00:00
troy%netscape.com
532ccd2885 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element
1998-11-12 23:03:35 +00:00
joki%netscape.com
29554883d9 DOM Support: nsHTMLDocument body property 1998-11-12 22:25:51 +00:00
buster%netscape.com
f076fcd5be rowgroup pseudo-frames for rows inserted directly into a table 1998-11-12 20:45:28 +00:00
buster%netscape.com
f4b68564d6 col and colgroup attribute handling
colgroup pseudo frame for cols inserted directly into a table.  More like this to come...
1998-11-12 18:37:28 +00:00
kipp%netscape.com
7314e95171 init the html atoms too...(temporary) 1998-11-12 18:16:25 +00:00
vidur%netscape.com
4bc4f6896a Modified stylesheet 1998-11-12 17:17:48 +00:00
vidur%netscape.com
f137d57503 new 1998-11-12 16:36:02 +00:00
vidur%netscape.com
f1f2518804 Factored GetAttributStyleSheet method into separate nsHTMLContentContainer interface that can be implemented by both HTML and XML document classes. 1998-11-12 07:54:12 +00:00
vidur%netscape.com
c896ffad62 Got rid of bogus dependency on XMLContent 1998-11-12 07:06:47 +00:00
vidur%netscape.com
8723f8326b Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces. 1998-11-11 22:06:16 +00:00
rickg%netscape.com
d3b71028ee enabled view-source 1998-11-11 20:31:45 +00:00
buster%netscape.com
ce19ab8f3c support for frame and rules attribute 1998-11-11 19:56:02 +00:00
buster%netscape.com
1666eee663 fix for default cell padding and cell spacing 1998-11-11 19:54:23 +00:00
troy%netscape.com
f9a029ea12 Fixed memory leak 1998-11-11 16:50:51 +00:00
rickg%netscape.com
c737f0ffa8 first pass support for view-source 1998-11-11 11:55:32 +00:00
troy%netscape.com
690b52766a Fixed a memory leak of a content object 1998-11-11 06:37:30 +00:00
troy%netscape.com
3c6f99e1d7 Eliminated the hack where the scroll frame was creating a BODY wrapper for
the scrolled frame. Now the frame construction code creates the wrapper
frame
1998-11-11 04:43:13 +00:00
troy%netscape.com
527ee073f8 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
rickg%netscape.com
a572a000de changed contentsink API to support XML 1998-11-10 04:13:59 +00:00
kipp%netscape.com
66157a9852 Create a block frame for run-in and compact frames 1998-11-09 23:35:44 +00:00
karnaze%netscape.com
aec75f892e form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
troy%netscape.com
081c78e696 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
vidur%netscape.com
c23c7bfe96 Fix to GetFirstChild/GetLastChild from Michael Leventhal (mle@citec.fi) 1998-11-09 17:51:18 +00:00
kipp%netscape.com
0332290e01 Repaired marginwidth/marginheight handling code 1998-11-09 17:51:05 +00:00
kipp%netscape.com
4cfeba185c Some spot error handling improvements to fix a crash in http://checkmate/raptor/js98/test3.html 1998-11-09 16:21:18 +00:00
troy%netscape.com
bb2f772b6d Changed implementation of DefaultValue to use the value of the "value"
attribute
1998-11-07 17:46:12 +00:00
troy%netscape.com
386299e3aa Added code to StringToAttribute() to handle "border" attribute 1998-11-07 05:27:39 +00:00
troy%netscape.com
cc256d154b Fixed ConstructFrame() so it creates the scroll frame first. This ensures
the style context hierarchy is correct
1998-11-06 17:57:24 +00:00
peterl%netscape.com
44c72dc670 fixed text-decorations some more 1998-11-06 01:06:26 +00:00
peterl%netscape.com
e992193567 sync to declaration api change 1998-11-06 00:59:03 +00:00
peterl%netscape.com
44ce3054b9 added table-layout
added mix/max width/height
made text-decoration not be cumulative
1998-11-06 00:58:23 +00:00
peterl%netscape.com
b0d65f24f9 removed char* apis
fixed ! important property ordering
fixed CSSOM access to ! important properties
1998-11-06 00:56:28 +00:00
peterl%netscape.com
c082c22d32 removed char* method types 1998-11-06 00:52:57 +00:00
peterl%netscape.com
7b042ff290 sync to declaration api change 1998-11-06 00:52:30 +00:00
peterl%netscape.com
a76e7fffdd added min/max width/height
made table inheritance block be conditional on compatibility mode
1998-11-06 00:49:04 +00:00
troy%netscape.com
04c879d6fb Changed frame construction code to create a simple page sequence frame
when paginated
1998-11-05 06:13:55 +00:00
buster%netscape.com
a84d47ada2 nsHTMLReflowCommand now knows what attribute triggered a StyleChanged notification 1998-11-04 19:34:34 +00:00
peterl%netscape.com
ed14dc36b1 made parent context no longer be optional on re-resolve style context method 1998-11-03 21:29:14 +00:00
peterl%netscape.com
cedec7bc27 sync to style resolution api changes 1998-11-03 20:33:43 +00:00
peterl%netscape.com
a753f1285d sync to style resolution api changes
moved style context re-resolving to frame land
1998-11-03 20:33:23 +00:00
peterl%netscape.com
0eb342abbc changed inheritance of colors
hacked inheritance of vert align for now
1998-11-03 20:31:21 +00:00
peterl%netscape.com
a539d1f903 removed context hashtable code
decoupled style context resolution from frames
1998-11-03 20:19:28 +00:00
peterl%netscape.com
15ebc84957 added pseudo tag support
removed backstop rule count
removed reparent
1998-11-03 20:18:40 +00:00
peterl%netscape.com
13bdbc9c30 decoupled style resolution api from frame system 1998-11-03 20:16:23 +00:00
kipp%netscape.com
f221b92e8c Whompage to remove unused extra arg to the NS_IMPL_*_ATTR macros 1998-11-03 01:08:02 +00:00
joki%netscape.com
7a58f918de Adding submit event type 1998-11-02 23:05:46 +00:00
joki%netscape.com
8c8f1f249e Remove extra comma from end of nsDOMEvent enum 1998-11-02 21:21:19 +00:00
troy%netscape.com
fe4e76d9d9 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
kipp%netscape.com
3216b924ef Support hspace/vspace properly 1998-10-31 22:45:39 +00:00
troy%netscape.com
b6d7f0aa2f Added release of content object in SetDocumentInChildrenOf. This fixes a
memory leak
1998-10-31 04:00:25 +00:00
buster%netscape.com
6f31889714 factored AttributeChanged so when deciding what to do in response to a change,
common attributes are checked first, then content-specific handlers are asked
1998-10-30 23:06:14 +00:00
karnaze%netscape.com
30d32c04dc preliminary support to keep text, radio, checkbox dom access in sync with widgets 1998-10-30 20:41:01 +00:00
buster%netscape.com
03cad6390d some extremely preliminary work for styleChanged incremental reflow 1998-10-30 07:57:44 +00:00
troy%netscape.com
f9c8d7ff13 Changed to ignore SCRIPT tags that aren't JavaScript language 1998-10-30 03:36:35 +00:00
troy%netscape.com
c16076d5ca Changed to use a scroll frame for the BODY 1998-10-29 23:25:02 +00:00
cls%seawood.org
411ab80ce3 New autoconf files for nglayout 1998-10-28 03:53:57 +00:00
kipp%netscape.com
1fca69289e Pass in opactity to view manager in case it changed 1998-10-28 02:05:05 +00:00
kipp%netscape.com
1785db3870 Implement opacity methods 1998-10-28 02:04:27 +00:00
kipp%netscape.com
44596edbf4 Fixed oopsie in the hint storage check 1998-10-28 02:04:06 +00:00
peterl%netscape.com
859f1bee32 added the first Nav Quirk, when on, we now interpret numbers without units as pixel units 1998-10-28 01:12:38 +00:00
peterl%netscape.com
4c01f19982 removed depth style remap (context does it for us now) 1998-10-27 03:03:49 +00:00
peterl%netscape.com
1f6f1f1426 added reparent method 1998-10-27 03:03:02 +00:00
vidur%netscape.com
68fbf6a357 Added additional parameter to nsIContent::SetDocument. The document now tells content to lose its weak reference before the document goes away. Elements and text now add their script objects as roots so they don't get collected prematurely. 1998-10-26 23:26:01 +00:00
peterl%netscape.com
9e59e54ad2 added CSS2 property handling 1998-10-26 23:22:40 +00:00
peterl%netscape.com
59c1a6c9c5 brought existing property handing up to spec for CSS2 1998-10-26 23:22:19 +00:00
peterl%netscape.com
821744e23b added aural style hint 1998-10-26 23:21:19 +00:00
peterl%netscape.com
d110125cab moved !important handling into parser 1998-10-26 23:20:45 +00:00
peterl%netscape.com
2d703daf87 added new value types 1998-10-26 23:19:59 +00:00
peterl%netscape.com
66082c24f8 made helper functions static 1998-10-26 23:19:28 +00:00
peterl%netscape.com
adfd98fcef added CSS2 properties 1998-10-26 23:16:27 +00:00
peterl%netscape.com
a21191639f added CSS2 keywords 1998-10-26 23:15:35 +00:00
kipp%netscape.com
b987962daf Added new atoms 1998-10-26 17:27:04 +00:00
troy%netscape.com
3441ff97d9 Changed some comments 1998-10-24 05:03:55 +00:00
rods%netscape.com
360dac6e09 Removed include "nsIHTMLCSSStyleSheet.h" 1998-10-23 20:40:26 +00:00
rods%netscape.com
e4de69dfd7 Removed several nsHTMK type tags from nsDocument.cpp 1998-10-23 20:23:02 +00:00
michaelp%netscape.com
5afda242db changes to support opacity. 1998-10-23 17:54:23 +00:00
troy%netscape.com
d5a29f7d19 Turned back on support for LAYER element 1998-10-23 04:20:08 +00:00
karnaze%netscape.com
2a0c2366bb implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls. 1998-10-22 23:00:37 +00:00
troy%netscape.com
9b9a796719 Added new pseudo class style :SCROLLED-CONTENT 1998-10-22 20:12:34 +00:00
buster%netscape.com
280ae703e0 preliminary code to resolve parent frame issues for table frames 1998-10-21 22:24:59 +00:00
rpotts%netscape.com
c8ca4c5060 Fixed bug #1159. Reference counting bug related to forms... 1998-10-21 09:26:33 +00:00
vidur%netscape.com
f9e3760137 Updated DOM interfaces to match final W3C recommendation. Modified IDL compiler to take IIDs 1998-10-20 17:07:23 +00:00
kipp%netscape.com
f13b83273b Revised API to use TextFragment's 1998-10-20 00:19:17 +00:00
valeski%netscape.com
34e7b6b15f Raptor only. Extending the META tag http-equiv handling code to handle arbitrary http-equivs. We were previously just handing the "Refresh" case. 1998-10-20 00:18:19 +00:00
kipp%netscape.com
206b0ecefe new 1998-10-20 00:17:17 +00:00
karnaze%netscape.com
98eb658b89 fixed bugs 1130, 1132, 1133 1998-10-19 20:37:40 +00:00
kipp%netscape.com
454582badf Fixed inheritance behavior of line-height ala peterl 1998-10-16 03:47:40 +00:00
kipp%netscape.com
ffeabc6d7d Removed unused include 1998-10-15 22:37:38 +00:00
kipp%netscape.com
c151b51242 Added new atom 1998-10-15 05:11:40 +00:00
kipp%netscape.com
32ea84d644 Temporary work around to setting hint better 1998-10-14 23:46:02 +00:00
buster%netscape.com
e28895d594 fixed queryInterface to return *DOM interface 1998-10-14 16:30:24 +00:00
karnaze%netscape.com
c82d985b8a fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress. 1998-10-13 21:31:26 +00:00
kipp%netscape.com
75cc3c0b39 Disabled the code 1998-10-13 20:43:05 +00:00
peterl%netscape.com
7b064882de expanded font size table 1998-10-13 19:17:25 +00:00
peterl%netscape.com
a904f8b43e cleanup 1998-10-13 19:14:19 +00:00
peterl%netscape.com
dc5a5464b3 shifted CSS absolute font sizes 1998-10-13 19:13:59 +00:00
peterl%netscape.com
c10e30346c corrected order of properties 1998-10-13 19:13:14 +00:00
peterl%netscape.com
32c0a6bc30 made type optional on linked style sheets 1998-10-13 19:11:42 +00:00
peterl%netscape.com
3e2cfb20c5 set correct border style 1998-10-13 19:10:25 +00:00
peterl%netscape.com
8c48296887 added recycler for rules array 1998-10-13 19:09:39 +00:00
peterl%netscape.com
eab54339c6 Added GetMargin/Padding/... to replace CalcMargin/Padding/...
Corrected border width initial value
1998-10-13 01:05:52 +00:00
troy%netscape.com
713db072d6 Work in progress on scroll frame code 1998-10-12 22:13:23 +00:00
kipp%netscape.com
a77548baff Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state 1998-10-12 17:00:32 +00:00
kipp%netscape.com
ea5a5735f5 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling 1998-10-12 14:48:02 +00:00
kipp%netscape.com
13e54f058a Work around another unitialized-memory-read bug where sometimes (not sure why!) aEventStatus would not get set ever 1998-10-09 22:59:41 +00:00
kipp%netscape.com
068caa63c9 Lame support for nsIDOMRenderingContext API 1998-10-09 22:57:36 +00:00
buster%netscape.com
2aa95d75a8 support nsTableOuterFrame incremental reflow 1998-10-09 19:59:45 +00:00
peterl%netscape.com
fe1ca7d45f zero out border when style == none
fixed padding cache bug
1998-10-09 17:28:24 +00:00
troy%netscape.com
d25a9a35a2 Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
kipp%netscape.com
b6fdb1227b Fixed top relative position bug #1024 1998-10-08 15:37:34 +00:00
karnaze%netscape.com
42797648cf fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +00:00
rpotts%netscape.com
7d88ecde74 Fixed crash due to null pointer... 1998-10-08 04:14:18 +00:00
peterl%netscape.com
f65a2a8850 added css2 properties 1998-10-08 01:34:58 +00:00
peterl%netscape.com
154eeceebf init hash code to make purify happy 1998-10-08 01:32:41 +00:00
peterl%netscape.com
e9cf015856 added CSS2 properties 1998-10-08 01:31:58 +00:00
peterl%netscape.com
b9cc95d754 sync to css declaration changes 1998-10-08 01:31:38 +00:00
peterl%netscape.com
a8c29650d6 moved from nsCSSDeclaration 1998-10-08 01:29:29 +00:00
peterl%netscape.com
a2308e718a use loose hex to rgb color conversion for color parsing 1998-10-08 01:28:18 +00:00
peterl%netscape.com
759f587f49 improve speed of finding children 1998-10-08 01:27:38 +00:00
vidur%netscape.com
a0254879da Reimplemented nsiDOMNSHTMLFormElement interface on form class 1998-10-06 21:41:47 +00:00
kipp%netscape.com
e3978b70e8 Support onPaint 1998-10-06 21:01:59 +00:00
kipp%netscape.com
d337168d8d Added a new atom 1998-10-06 21:01:08 +00:00
vidur%netscape.com
7cff1485c8 Implemented style sheet and style rule interfaces on CSS classes. Made public new entry point for CSSParser for adding new imports. 1998-10-06 01:39:33 +00:00
kipp%netscape.com
981c6a47a8 never create frames when display is none 1998-10-06 00:43:48 +00:00
troy%netscape.com
fa70c38667 Changed some code to use XPCOM ref counting related macros 1998-10-05 05:11:18 +00:00
troy%netscape.com
e37240541c Temp hack to fix Linux circular linkage problem 1998-10-02 04:32:11 +00:00
troy%netscape.com
7aceb4270d Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
joki%netscape.com
02fa10b9f2 Adding new js window methods/props, moving js string evaluation to UC strings. 1998-10-01 22:23:48 +00:00
rpotts%netscape.com
845b37a8bb Initialize the nsIURLGroup from the document base URL... 1998-10-01 21:45:20 +00:00
rpotts%netscape.com
32567e439c Added GetDocumentURLGroup() method 1998-10-01 21:43:49 +00:00
rpotts%netscape.com
91c6367986 Added GetDocumentURLGroup() methodnsIDocument.h 1998-10-01 21:43:02 +00:00
troy%netscape.com
ba3c7125c2 Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
peterl%netscape.com
20929d4c89 added get value as string 1998-09-30 01:08:59 +00:00
peterl%netscape.com
ec47856ca5 make text decoration always an enum 1998-09-30 01:08:44 +00:00
karnaze%netscape.com
1ff298f608 fixed case sensitive include for unix 1998-09-30 00:55:03 +00:00
peterl%netscape.com
1ad78fe181 added attribute & content changed code 1998-09-29 23:51:28 +00:00
peterl%netscape.com
3bc6123a01 added hint table
moved non-generated code to nsCSSProps2.cpp
1998-09-29 23:50:56 +00:00
peterl%netscape.com
191c84a963 added change hint to parse declaration 1998-09-29 23:50:09 +00:00
peterl%netscape.com
d221719350 added hint to parse delcaration 1998-09-29 23:49:19 +00:00
peterl%netscape.com
f822141a76 added hint to attribute change notification 1998-09-29 23:48:38 +00:00
peterl%netscape.com
257630f5c7 added content & attribute change to style frame construction
cleaned up api
1998-09-29 23:47:03 +00:00
peterl%netscape.com
f43ae5f2c8 added change hint to attribute change api 1998-09-29 23:43:39 +00:00
peterl%netscape.com
2ee88cc63a added content changed & attribute changed to style frame construction api.
cleaned up api.
added attribute change hint.
1998-09-29 23:41:59 +00:00
karnaze%netscape.com
7ee57f6697 initial fieldset, legend content classes. minor cleanup on form control content. 1998-09-29 23:22:42 +00:00
kipp%netscape.com
67ed81afc4 Parse OL/UL type=A|a|I|i properly 1998-09-29 22:34:30 +00:00
kipp%netscape.com
261b8bd181 Changed factory method to parameterize the shrink wrapping behavior 1998-09-29 03:44:25 +00:00
vidur%netscape.com
446dec40b6 Fixed image.src=. Forwarded AttributeChanged notifications from nsPlaceholderFrame to its anchored item. Got rid of redundant calls to AttributeChanged. 1998-09-28 21:22:31 +00:00
kipp%netscape.com
7f13524496 Only set margins if auto/undefined margins are present 1998-09-28 18:51:23 +00:00
michaelp%netscape.com
528cf54cd0 object tag no longer processes it's children (i put troy's change from thursday
in a comment until the parser is sorted out).
1998-09-27 22:44:26 +00:00
michaelp%netscape.com
5c45509d1b added "param" atom. 1998-09-27 22:41:01 +00:00
vidur%netscape.com
d97097b600 More leak fixes 1998-09-26 00:44:40 +00:00
kipp%netscape.com
dc09f46996 Fixed the value of the background-image property when it's not set in the composite background property 1998-09-25 23:35:55 +00:00
kipp%netscape.com
703d1f18a6 Backed out last change since it was too aggressive 1998-09-25 22:53:48 +00:00
troy%netscape.com
2bd6a1a377 Moved ContentReplaced() handler code to style system 1998-09-25 22:47:00 +00:00
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
kipp%netscape.com
cae3221de5 Use nsITextContent to initialize text node 1998-09-06 00:20:59 +00:00
kipp%netscape.com
6f9dedccda Cleaned up some whitespace 1998-09-06 00:19:49 +00:00
kipp%netscape.com
833260255c Expose NS_QuoteForHTML; remove duplicate frame ctor method decls 1998-09-06 00:19:14 +00:00
kipp%netscape.com
620e6b4220 Added nsTextNode 1998-09-06 00:18:26 +00:00
kipp%netscape.com
a375a0f8f7 Use allocated IID; update interface to be XPCOM'd and updated the methods 1998-09-06 00:15:10 +00:00
peterl%netscape.com
0fec5be8c0 changed the way map attributes into is connected 1998-09-05 04:00:06 +00:00
peterl%netscape.com
1a36a503a7 tweaked output of percent values 1998-09-05 03:59:44 +00:00
peterl%netscape.com
3a5dd0b74f removed content from style mapping api 1998-09-05 03:52:30 +00:00
peterl%netscape.com
10c7185fad removed content from style map api 1998-09-05 03:51:56 +00:00
vidur%netscape.com
ab080b4586 New content code adjusts to getting script objects through a factory interface 1998-09-04 23:03:16 +00:00
kipp%netscape.com
3ff0090bfa Fixed bug in handling of textarea that caused them to terminate documents 1998-09-04 16:33:40 +00:00
rods%netscape.com
98d1b215ed Fixed up Find to include Replace, replace will be moved to it's
own place later.
1998-09-04 15:41:20 +00:00
kipp%netscape.com
c1c5420452 Use new wbr element 1998-09-04 01:03:20 +00:00
kipp%netscape.com
d9cfaa751d Added wbr 1998-09-04 01:02:54 +00:00
kipp%netscape.com
cfc8e0d61a Added WBR 1998-09-04 01:02:30 +00:00
kipp%netscape.com
cf44450a9d new 1998-09-04 01:02:20 +00:00
kipp%netscape.com
41d4b71b0f Create a spacer frame for spacer parts 1998-09-04 00:55:47 +00:00
kipp%netscape.com
22db4ddc7b Added new atoms 1998-09-04 00:54:45 +00:00
kipp%netscape.com
9bf9f83150 Create spacer element instead of obsolete spacer part 1998-09-04 00:52:49 +00:00
kipp%netscape.com
7f7b9a4b5d New file 1998-09-04 00:52:34 +00:00
kipp%netscape.com
388e2dfab9 Use new content class instead of the old obsolete one 1998-09-04 00:20:14 +00:00
kipp%netscape.com
a2b07fa444 Fold in some code from nsHTMLImage.cpp 1998-09-04 00:19:48 +00:00
kipp%netscape.com
3a02ee8d0b Create image frames for images 1998-09-04 00:19:32 +00:00
kipp%netscape.com
54f5c8d4e0 new 1998-09-03 22:23:41 +00:00
kipp%netscape.com
35e29f264c Use new content objects wherever possible 1998-09-03 22:23:09 +00:00
kipp%netscape.com
c5202a586a Implement StringToAttribute/AttributeToString/MapAttributesInto; fix up name of embedded object 1998-09-03 22:21:32 +00:00
rods%netscape.com
9422257982 Fixed Find (still need to do more clean up) 1998-09-03 20:09:33 +00:00
joki%netscape.com
3d77bc69e3 Standardize order during content creation to be setDoc, addAttr, appendChild 1998-09-03 01:23:12 +00:00
joki%netscape.com
12e499e3ce Adding event.cancelBubble 1998-09-03 01:20:29 +00:00
kipp%netscape.com
077d36c289 Added new files to the build 1998-09-03 01:04:04 +00:00
kipp%netscape.com
a61a1164f7 new 1998-09-03 01:03:33 +00:00
kipp%netscape.com
d671ce6c17 Fixed SetAttribute where the leaf classes StringToAttribute wasn't being called 1998-09-03 00:03:58 +00:00
kipp%netscape.com
4461ba7472 Use new element ctors 1998-09-02 23:53:49 +00:00
kipp%netscape.com
8adda6a572 Spanked 1998-09-02 23:53:16 +00:00
kipp%netscape.com
6770dc586e Added new atoms 1998-09-02 23:52:24 +00:00
kipp%netscape.com
9f8482d6ff Added new atoms 1998-09-02 18:40:08 +00:00
peterl%netscape.com
2c3031a807 COMified interface
made first attribute local
added support for attr uniquing
1998-09-02 02:10:44 +00:00
peterl%netscape.com
1efe47933e COMified style rule interface 1998-09-02 02:09:43 +00:00
peterl%netscape.com
ff11f4fc1d added DTD mode 1998-09-02 02:07:42 +00:00
peterl%netscape.com
7db7e48608 reversed style sheet order in the set
added DTD mode
1998-09-02 02:06:39 +00:00
peterl%netscape.com
dc32acedf3 COMified some interfaces 1998-09-02 02:03:24 +00:00
peterl%netscape.com
c69f8a9be8 comment about style sheet ordering 1998-09-02 02:02:30 +00:00
peterl%netscape.com
cba10565bc reversed style sheet ordering in the set 1998-09-02 02:02:14 +00:00
peterl%netscape.com
1460522396 comments on sheet/rule ordering 1998-09-02 02:00:24 +00:00
peterl%netscape.com
ef15112377 COMified 1998-09-02 02:00:05 +00:00
kipp%netscape.com
7a44d1de70 Added new atoms 1998-09-02 01:08:32 +00:00
kipp%netscape.com
54a4aa65d1 Added new source to the build 1998-09-02 01:08:15 +00:00
kipp%netscape.com
2bf99eb8e7 Added new source to build 1998-09-01 19:13:02 +00:00
kipp%netscape.com
13839f8d73 Added new methods 1998-09-01 19:10:14 +00:00
kipp%netscape.com
11cfcc38c6 Implement NS_CreateHTMLElement using same code that content sink uses; create various and sundry new content objects 1998-09-01 01:37:17 +00:00
kipp%netscape.com
da9fba63a4 Added new source files 1998-09-01 01:35:34 +00:00
kipp%netscape.com
845410630a Added missing atoms 1998-09-01 01:34:32 +00:00
kipp%netscape.com
42aeba2d11 added new atoms 1998-09-01 01:32:58 +00:00
warren%netscape.com
b89e7efaca Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
warren%netscape.com
4f1b718b4e Added closure argument to nsHashtable::Enumerate. 1998-09-01 00:16:47 +00:00
kipp%netscape.com
34b4a81f99 Make sure we don't run off the end of the string when translating entities in attribute values 1998-08-31 22:00:04 +00:00
rods%netscape.com
f03be582e3 Fixed several crash bugs in Find 1998-08-31 21:56:57 +00:00
kipp%netscape.com
3b1fc0b12f Use NS_NewHTMLBR to create BR content objects 1998-08-31 18:40:39 +00:00
kipp%netscape.com
0fe2a4acc2 Added new source file 1998-08-31 18:38:37 +00:00
kipp%netscape.com
bd83087288 Added entity reduction for attributes; fixed a bug with incremental loading that would cause some content to seemingly disappear 1998-08-31 17:51:32 +00:00
kipp%netscape.com
c983bef350 Fixed porting bug when porting to xpcom'd nsIContent API 1998-08-31 16:09:06 +00:00
troy%netscape.com
ad9a20da0b Changes nsIView and nsIScrollableView interfaces to conform to
XPCOM conventions
1998-08-30 19:16:11 +00:00
kipp%netscape.com
e326124bd3 Fixed bug introduced during nsIContent porting 1998-08-29 20:44:42 +00:00
kipp%netscape.com
c6290fa577 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
kipp%netscape.com
a832ecd31c Create anchors using NS_NewHTMLAnchor 1998-08-29 03:17:02 +00:00
kipp%netscape.com
d132db9cb6 Added new source 1998-08-29 03:13:56 +00:00
kipp%netscape.com
55c93d4473 Added new atoms 1998-08-29 03:13:03 +00:00
troy%netscape.com
e524804caa Changed interface nsIFontMetrics to use the XPCOM conventions for returning
a nsresult
1998-08-29 02:34:34 +00:00