Commit Graph

861 Commits

Author SHA1 Message Date
joki%netscape.com
946548a531 Fix cursor bug which caused cursor to be set once per child view on each mousemove 1998-12-03 03:07:16 +00:00
vidur%netscape.com
83b0609315 Fixed unitialized value problem. 1998-12-03 00:34:44 +00:00
joki%netscape.com
96b9e437c5 Fix mouseover/mouseout firing crash when hitting bad frame. 1998-12-02 02:14:58 +00:00
peterl%netscape.com
c1a6062752 added inline style sheet support for contained HTML 1998-12-02 00:39:10 +00:00
peterl%netscape.com
ba1a0ff568 changed media type to atom
moved body fixup rule to body element
1998-12-02 00:38:33 +00:00
peterl%netscape.com
b5f9c257f1 changed media type to atom 1998-12-02 00:38:14 +00:00
peterl%netscape.com
1d114307e1 added media support to child sheet iteration
changed medium type to atoms
1998-12-02 00:37:32 +00:00
peterl%netscape.com
fd53cd27e2 added media support to import 1998-12-02 00:36:37 +00:00
peterl%netscape.com
32453af5dc changed medium type to atom 1998-12-02 00:36:00 +00:00
peterl%netscape.com
d697c328a9 added inline style sheet accessor 1998-12-02 00:35:41 +00:00
peterl%netscape.com
4da4f20250 changed media to uppercase atoms 1998-12-02 00:35:03 +00:00
peterl%netscape.com
12fda54c43 added inline style rule accessor 1998-12-02 00:34:31 +00:00
peterl%netscape.com
70114e4809 moved body fixup rule into content 1998-12-02 00:34:06 +00:00
peterl%netscape.com
16457d2733 added inline style accessor 1998-12-02 00:33:12 +00:00
peterl%netscape.com
14a4bc76a8 added nsLayoutAtoms 1998-12-02 00:32:20 +00:00
peterl%netscape.com
efc9fc421e added media support 1998-12-02 00:30:42 +00:00
peterl%netscape.com
e224ac9762 new file 1998-12-02 00:29:29 +00:00
peterl%netscape.com
7e09a07d55 changed medium type to atom 1998-12-02 00:29:16 +00:00
waterson%netscape.com
ca441d8de1 First Checked In. 1998-12-02 00:20:07 +00:00
mjudge%netscape.com
2d103ec094 including proper thing 1998-12-01 19:18:52 +00:00
akkana%netscape.com
81961471ac Change Element to Node 1998-12-01 19:15:00 +00:00
mjudge%netscape.com
d4abd147c5 need to include the nsIDOMElement.h dont know why this worked on windows 1998-12-01 19:14:18 +00:00
vidur%netscape.com
1dadb447e1 Fixing build bustage 1998-11-30 08:47:27 +00:00
vidur%netscape.com
6b930eba56 Moved nsGenericElement to base directory. Added basic support for document fragments. 1998-11-30 07:59:11 +00:00
vidur%netscape.com
0057b5d23e Added nsDocumentFragment to build. Fixed bug 1256 - the content sink is flushed as soon as it encounters a script tag. 1998-11-28 23:51:06 +00:00
kipp%netscape.com
1b3c96e6a4 Port to revised pres-context API 1998-11-26 18:14:41 +00:00
peterl%netscape.com
c66950da5a made css style sheet public (for mac) 1998-11-26 05:17:03 +00:00
peterl%netscape.com
d66876022f removed processimport 1998-11-26 05:16:43 +00:00
peterl%netscape.com
90510e12e0 added media support to @import 1998-11-26 05:16:22 +00:00
peterl%netscape.com
5166993f42 deal with const issues on unix compilers 1998-11-26 04:53:49 +00:00
peterl%netscape.com
ef64bc512f fix unix build 1998-11-26 03:45:50 +00:00
rickg%netscape.com
d23278ec63 improvements to recursive parser calls 1998-11-26 02:56:40 +00:00
sar%netscape.com
e24eec122f backing out akkana's changes. this will fix build bustage on the mac 1998-11-26 02:30:44 +00:00
peterl%netscape.com
e3f218d5b4 style change notification support 1998-11-26 01:34:53 +00:00
peterl%netscape.com
c757654c3a handle whitespace in url() better 1998-11-26 01:30:51 +00:00
peterl%netscape.com
f8a4cc0c88 connected style sheet better (added content node & properties) 1998-11-26 01:29:10 +00:00
peterl%netscape.com
e2fb1e2c1e added change notification support 1998-11-26 01:24:52 +00:00
peterl%netscape.com
6c90c991c0 added style sheet properties 1998-11-26 01:24:32 +00:00
akkana%netscape.com
b47f47475b Implementation of the easy parts 1998-11-25 23:20:29 +00:00
kipp%netscape.com
c13a79ad48 Fixed IsScrollable to take an extra argument so that we would only create scroll-frames around blocks using the webshells criteria if it's the body frame (bug #1608) 1998-11-25 16:41:06 +00:00
vidur%netscape.com
2eb52100a7 New class nsDocumentFragment 1998-11-25 08:14:47 +00:00
jfrancis%netscape.com
76ebb54d49 removing the accidentally copied "AUTOGENERATED - Do Not Edit" warning 1998-11-25 01:34:59 +00:00
jfrancis%netscape.com
af33dd4fe6 cleanup 1998-11-25 01:21:42 +00:00
akkana%netscape.com
1c828df72c Add include line 1998-11-24 21:24:40 +00:00
akkana%netscape.com
3a2b2f6096 Implementation file for nsIDOMRange 1998-11-24 21:20:11 +00:00
joki%netscape.com
a8d57495c7 Implement document.URL access 1998-11-24 21:07:43 +00:00
karnaze%netscape.com
0a820f9aa3 fixed bug 1504 (memory leak of select elements) 1998-11-24 18:54:26 +00:00
joki%netscape.com
e0c8813886 ifdef out some broken code in SetActiveLink until I have time to fix it. 1998-11-24 08:13:55 +00:00
joki%netscape.com
e7f70ce9ce Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00
rickg%netscape.com
e0364847d4 fixed call to ToInteger() to respect the error code 1998-11-24 02:39:36 +00:00
karnaze%netscape.com
0e745ed3b7 <frame> now uses <base> for its src attribute 1998-11-24 02:01:45 +00:00
kipp%netscape.com
b8e87edf4b Use Pushback to put back the right character 1998-11-24 01:47:19 +00:00
kipp%netscape.com
c4b343a879 Made IFRAME a container (like it should have been) so that it can contain the content that isn't being rendered (because we support iframe's) 1998-11-24 00:11:54 +00:00
vidur%netscape.com
8d134679bc Allow application/x-javascript for type in SCRIPT tags 1998-11-23 23:06:57 +00:00
kipp%netscape.com
ac882d2ee0 Fixed up handling of form element attributes slightly to match navigators handling of ALIGN; this is compatible with nav/IE and with the HTML4 DTD (because ALIGN is deprecated) 1998-11-23 19:33:22 +00:00
kipp%netscape.com
987a73cf0a Added code in to not consume events if the anchor has no HREF attribute. This prevents <A NAME=...> containers from eating events 1998-11-23 17:45:00 +00:00
buster%netscape.com
ee5912363a removed the resolution of table pseudo-style until we can test it and
actually use it.  this was just a memory leak.
1998-11-21 00:53:03 +00:00
joki%netscape.com
b3039514cf Fixing a submit/reset event bug, frame destruction reentrancy bug, and an imagemap bug. 1998-11-21 00:19:36 +00:00
troy%netscape.com
4893fa0a92 Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo
1998-11-20 23:27:59 +00:00
buster%netscape.com
926252607e took out a dumb debug printf 1998-11-20 21:09:54 +00:00
buster%netscape.com
496fd7d73e put in a VERY temporary work-around for some crashes we're seeing as a
result of table style context's display type != TABLE
1998-11-20 21:08:06 +00:00
buster%netscape.com
ace67d6fb2 added tablePseudo 1998-11-20 21:05:31 +00:00
kipp%netscape.com
c73e99e135 Removed a compiler warning 1998-11-20 17:21:22 +00:00
buster%netscape.com
fedd9bbb6a removed obsolete include of nsTableFrame 1998-11-20 01:04:43 +00:00
buster%netscape.com
90252c33df handles "height" attribute 1998-11-20 01:03:45 +00:00
kipp%netscape.com
24571c1d42 Fix build bustage (hopefully) 1998-11-19 05:37:59 +00:00
joki%netscape.com
5700dacf30 Adding more backwards compat DOM support (event.which, pageX, and pageY) 1998-11-19 03:20:21 +00:00
joki%netscape.com
65520ba928 Modify event flow to avoid walking into trashed frames. 1998-11-19 00:43:36 +00:00
buster%netscape.com
3795eaac7c Proportional column width based on HTML attributes is now implemented. proportional "multilength" syntax ("1*")
now works on COL and COLGROUP.  Bug 1128.
1998-11-18 22:10:02 +00:00
buster%netscape.com
da354a499c impl of DOM table.deleteRow 1998-11-18 06:30:13 +00:00
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