131 Commits

Author SHA1 Message Date
kipp%netscape.com
8e7b6b1767 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)
git-svn-id: svn://10.0.0.236/trunk@15304 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 16:41:06 +00:00
buster%netscape.com
4b922cdb2b removed the resolution of table pseudo-style until we can test it and
actually use it.  this was just a memory leak.


git-svn-id: svn://10.0.0.236/trunk@15086 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:53:03 +00:00
troy%netscape.com
021ed0f162 Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo


git-svn-id: svn://10.0.0.236/trunk@15068 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:27:59 +00:00
buster%netscape.com
f8aed9d5de took out a dumb debug printf
git-svn-id: svn://10.0.0.236/trunk@15048 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 21:09:54 +00:00
buster%netscape.com
3e6c71822b put in a VERY temporary work-around for some crashes we're seeing as a
result of table style context's display type != TABLE


git-svn-id: svn://10.0.0.236/trunk@15047 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 21:08:06 +00:00
buster%netscape.com
7b0e777c46 removed obsolete include of nsTableFrame
git-svn-id: svn://10.0.0.236/trunk@14977 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 01:04:43 +00:00
peterl%netscape.com
8f073ecf34 use proper pseudo tag for text style contexts
git-svn-id: svn://10.0.0.236/trunk@14844 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:11:27 +00:00
vidur%netscape.com
c67a7ad987 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.
git-svn-id: svn://10.0.0.236/trunk@14781 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 02:14:38 +00:00
troy%netscape.com
62a6e8e1fe Made sure NS_BODY_THE_BODY flag is set for the body wrapper frame we
create for XML documents


git-svn-id: svn://10.0.0.236/trunk@14754 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 21:48:13 +00:00
troy%netscape.com
e8b6cc2769 Added a scroll frame for print preview
git-svn-id: svn://10.0.0.236/trunk@14582 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 04:22:23 +00:00
troy%netscape.com
13ef91147a Cleaned up ConstructXMLRootFrame() and added some XXX comments
git-svn-id: svn://10.0.0.236/trunk@14581 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 03:43:15 +00:00
vidur%netscape.com
64cb975c74 Added script handling to XML content sink. Made sure frame construction by tag wasn't done for XML.
git-svn-id: svn://10.0.0.236/trunk@14554 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:55:47 +00:00
troy%netscape.com
48a7503df3 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element


git-svn-id: svn://10.0.0.236/trunk@14543 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:03:35 +00:00
buster%netscape.com
839e25fcb5 rowgroup pseudo-frames for rows inserted directly into a table
git-svn-id: svn://10.0.0.236/trunk@14520 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 20:45:28 +00:00
buster%netscape.com
eeaf9cbedd col and colgroup attribute handling
colgroup pseudo frame for cols inserted directly into a table.  More like this to come...


git-svn-id: svn://10.0.0.236/trunk@14512 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 18:37:28 +00:00
vidur%netscape.com
118281d675 Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces.
git-svn-id: svn://10.0.0.236/trunk@14467 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:06:16 +00:00
troy%netscape.com
5ddc2cc432 Fixed a memory leak of a content object
git-svn-id: svn://10.0.0.236/trunk@14418 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 06:37:30 +00:00
troy%netscape.com
cc9970fac0 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


git-svn-id: svn://10.0.0.236/trunk@14413 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 04:43:13 +00:00
troy%netscape.com
1c0da71da3 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list


git-svn-id: svn://10.0.0.236/trunk@14333 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 06:05:32 +00:00
kipp%netscape.com
b8945492a1 Create a block frame for run-in and compact frames
git-svn-id: svn://10.0.0.236/trunk@14314 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 23:35:44 +00:00
karnaze%netscape.com
c723661f91 form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.


git-svn-id: svn://10.0.0.236/trunk@14312 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 23:30:16 +00:00
troy%netscape.com
cdf69643a6 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.


git-svn-id: svn://10.0.0.236/trunk@14289 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 19:40:27 +00:00
troy%netscape.com
4301af14c3 Fixed ConstructFrame() so it creates the scroll frame first. This ensures
the style context hierarchy is correct


git-svn-id: svn://10.0.0.236/trunk@14206 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 17:57:24 +00:00
troy%netscape.com
bc3d710f3f Changed frame construction code to create a simple page sequence frame
when paginated


git-svn-id: svn://10.0.0.236/trunk@14135 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 06:13:55 +00:00
buster%netscape.com
869710ea81 nsHTMLReflowCommand now knows what attribute triggered a StyleChanged notification
git-svn-id: svn://10.0.0.236/trunk@14096 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 19:34:34 +00:00
peterl%netscape.com
3dd636321e made parent context no longer be optional on re-resolve style context method
git-svn-id: svn://10.0.0.236/trunk@14012 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 21:29:14 +00:00
peterl%netscape.com
b574a339c4 sync to style resolution api changes
moved style context re-resolving to frame land


git-svn-id: svn://10.0.0.236/trunk@14008 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:33:23 +00:00
troy%netscape.com
03e55a2524 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()


git-svn-id: svn://10.0.0.236/trunk@13833 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 01:29:00 +00:00
buster%netscape.com
ec76a92bb8 factored AttributeChanged so when deciding what to do in response to a change,
common attributes are checked first, then content-specific handlers are asked


git-svn-id: svn://10.0.0.236/trunk@13763 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 23:06:14 +00:00
buster%netscape.com
cf08e060ad some extremely preliminary work for styleChanged incremental reflow
git-svn-id: svn://10.0.0.236/trunk@13722 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 07:57:44 +00:00
troy%netscape.com
6790bf9cf4 Changed to use a scroll frame for the BODY
git-svn-id: svn://10.0.0.236/trunk@13686 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 23:25:02 +00:00
kipp%netscape.com
bb80c6008d Pass in opactity to view manager in case it changed
git-svn-id: svn://10.0.0.236/trunk@13585 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 02:05:05 +00:00
peterl%netscape.com
849f62d331 removed depth style remap (context does it for us now)
git-svn-id: svn://10.0.0.236/trunk@13538 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 03:03:49 +00:00
peterl%netscape.com
31130f0665 added aural style hint
git-svn-id: svn://10.0.0.236/trunk@13510 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:21:19 +00:00
troy%netscape.com
2f930733a2 Changed some comments
git-svn-id: svn://10.0.0.236/trunk@13412 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-24 05:03:55 +00:00
karnaze%netscape.com
d89b691fba implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls.
git-svn-id: svn://10.0.0.236/trunk@13346 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 23:00:37 +00:00
troy%netscape.com
4af09d8402 Added new pseudo class style :SCROLLED-CONTENT
git-svn-id: svn://10.0.0.236/trunk@13315 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 20:12:34 +00:00
buster%netscape.com
738ba6769e preliminary code to resolve parent frame issues for table frames
git-svn-id: svn://10.0.0.236/trunk@13284 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 22:24:59 +00:00
karnaze%netscape.com
fd96ba4fea fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress.
git-svn-id: svn://10.0.0.236/trunk@12735 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 21:31:26 +00:00
troy%netscape.com
9c33f4f9c2 Work in progress on scroll frame code
git-svn-id: svn://10.0.0.236/trunk@12615 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 22:13:23 +00:00
buster%netscape.com
c6417cadce support nsTableOuterFrame incremental reflow
git-svn-id: svn://10.0.0.236/trunk@12441 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 19:59:45 +00:00
troy%netscape.com
ab9971c67b Removed GetContentIndex() from nsIFrame
git-svn-id: svn://10.0.0.236/trunk@12307 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 20:35:16 +00:00
karnaze%netscape.com
fbe88e6504 fieldset, legend support. fixed bug #987
git-svn-id: svn://10.0.0.236/trunk@12266 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 04:38:41 +00:00
peterl%netscape.com
abfa5f2d67 init hash code to make purify happy
git-svn-id: svn://10.0.0.236/trunk@12258 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 01:32:41 +00:00
kipp%netscape.com
29aeb0fb6a never create frames when display is none
git-svn-id: svn://10.0.0.236/trunk@11992 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:43:48 +00:00
troy%netscape.com
7c7212336e Changed some code to use XPCOM ref counting related macros
git-svn-id: svn://10.0.0.236/trunk@11893 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 05:11:18 +00:00
peterl%netscape.com
7a1f51163c added attribute & content changed code
git-svn-id: svn://10.0.0.236/trunk@11496 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:51:28 +00:00
kipp%netscape.com
6b67547955 Changed factory method to parameterize the shrink wrapping behavior
git-svn-id: svn://10.0.0.236/trunk@11317 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 03:44:25 +00:00
michaelp%netscape.com
3d73ad1a59 object tag no longer processes it's children (i put troy's change from thursday
in a comment until the parser is sorted out).


git-svn-id: svn://10.0.0.236/trunk@11193 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:44:26 +00:00
troy%netscape.com
8d229a5a6e Moved ContentReplaced() handler code to style system
git-svn-id: svn://10.0.0.236/trunk@11108 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:47:00 +00:00