kipp%netscape.com
65f6ba5343
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
peterl%netscape.com
a3aede8c1c
First step at fixing 12106, factored out style rule processing from
...
style sheets into a seperate style rule processor interface
r=troy
1999-10-08 03:09:31 +00:00
buster%netscape.com
c1f02ff5b3
fixed BodyFixupRule::MapStyleInto to respect background color properly
...
code-reviewed by Peter Linss
1999-08-07 05:38:28 +00:00
peterl%netscape.com
6d237f7fdc
cleanups
1999-07-18 00:30:11 +00:00
andreas.otte%primus-online.de
838f5a972b
NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski
1999-07-11 15:46:10 +00:00
vidur%netscape.com
97f3a5f03b
Added a HTMLDocumentColor special-case rule for the HTML element. This is set when either the bgColor or fgColor is set on a HTML document.
1999-07-07 04:53:36 +00:00
peterl%netscape.com
a91231ba7c
split attribute container into mapped and unmapped parts
...
only mapped part is uniqued now
1999-07-07 01:30:43 +00:00
andreas.otte%primus-online.de
001ff1afea
NECKO only: replacing GetBuffer with ToNewCString and some error checking
1999-07-06 23:08:16 +00:00
peterl%netscape.com
a35f309ef4
removed autostring constructor usage per rickg
...
cleaned up url listing
1999-06-27 21:17:39 +00:00
warren%netscape.com
fbd6d1dc57
Necko ifdefs for layout and rdf.
1999-06-26 06:36:26 +00:00
warren%netscape.com
1f76168d21
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
1999-06-23 03:29:44 +00:00
peterl%netscape.com
36caaab61a
removed unnecessary null tests (tested at call site for performance)
...
cleaned up null link handler testing to avoid URL conputation
1999-06-22 19:25:31 +00:00
jfrancis%netscape.com
94fabdd3d9
making the world safe for null linkHandlers
1999-06-21 07:47:29 +00:00
sspitzer%netscape.com
2c44b3b132
safety checks to prevent dereferencing null
1999-06-19 21:18:13 +00:00
valeski%netscape.com
e23b3c673c
NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061.
1999-06-18 17:34:08 +00:00
peterl%netscape.com
5a92df470b
added better medium testing api
1999-06-15 06:21:47 +00:00
karnaze%netscape.com
35ef411a8e
new style rule for table elements inheriting backgrounds in Nav Quirks mode
1999-06-07 21:09:07 +00:00
peterl%netscape.com
6c150bc6c8
sync to nsIStyledContent API change
1999-05-26 23:55:49 +00:00
sspitzer%netscape.com
39efa1c7f8
make destructors virtual
1999-05-13 02:11:25 +00:00
rickg%netscape.com
1a3777a0b7
updates to sync with nsString2 api
1999-04-21 23:48:41 +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
rickg%netscape.com
c4b62ed8c6
tiny tweaks to keep in sync with new nsString
1999-04-06 00:29:40 +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
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
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
scc%netscape.com
2ec0a397ea
rename |IID()| --> |GetIID()|
1999-03-03 19:48:57 +00:00
peterl%netscape.com
8c7771ba8f
fixed active link rule support
1999-02-27 07:18:21 +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
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
peterl%netscape.com
a95a9904a5
moved frame construction code to its own class
1999-02-05 03:57:49 +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
2e48b11493
Avoid crashing when no frame is found during attribute change notifications
1999-02-04 16:27:38 +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
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
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
troy%netscape.com
0f2e27b0d9
Fixed it so scrollable BLOCK elements can be fixed positioned
1999-02-01 18:09:57 +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
joki%netscape.com
c14cc1cb25
Removing nsILinkHandler enum types from dependencies, fixing event handler bugs
1999-01-28 23:14:36 +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
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
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
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
3e1e2ce68d
allow reconstruct frames to work on all documents
1999-01-23 07:08:38 +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
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
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
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
d29710743f
<form> inside <table> submits; marginwidth, marginheight in <frame> working; scrolling in <frame>, <iframe> working
1999-01-19 17:26:06 +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
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
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
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
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
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
karnaze%netscape.com
c2cfb8b82f
dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState
1999-01-08 18:57:40 +00:00
troy%netscape.com
c876ae8a25
Changed ContentRemoved() to also generate a reflow command for the placeholder
...
for an absolutely positioned frame. Also made sure the child list name is
properly set for the reflow command for the absolutely positioned frame
1999-01-07 05:03:53 +00:00
troy%netscape.com
3d957f5d86
Improved GetAbsoluteContainingBlock() a bit. It still needs to handle scrolled
...
elements
1999-01-05 05:51:22 +00:00
troy%netscape.com
d56587e4cb
Fixed it so XML documents display again
1998-12-29 05:51:11 +00:00
troy%netscape.com
d9b4fa08c0
Fixed a problem with absolutely positioned tables not working properly
1998-12-29 05:35:42 +00:00
troy%netscape.com
583682a5c1
Renamed FindFrameWithContent() to GetPrimaryFrameFor()
1998-12-29 04:45:18 +00:00
troy%netscape.com
7b5cc03059
Moved logic that deals with moving absolutely positioned frames out of the
...
flow to the frame construction code
1998-12-29 03:38:16 +00:00
troy%netscape.com
6493c0fc74
Renamed NS_NewHTMLFrame() to NS_NewRootFrame()
1998-12-21 18:22:44 +00:00
troy%netscape.com
9619058141
Changed the frame hierarchy, and changed how scrolling works. Also added
...
nsAreaFrame which replaces nsBodyFrame which is no longer used
1998-12-20 23:29:47 +00:00
peterl%netscape.com
887cd5f867
sync to new attribute api
1998-12-20 01:21:23 +00:00
troy%netscape.com
7f566a1613
Reverted back to previous revision, because I came up with a cleaner
...
solution
1998-12-18 05:23:40 +00:00
troy%netscape.com
4bd653681f
Re-ordered the call to set the scroll frame's initial child list so that
...
the XML demos work again. This is really a temporary change until things
get fixed right...
1998-12-18 04:59:14 +00:00
warren%netscape.com
0580a8e5c4
Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
1998-12-16 05:40:20 +00:00
av%netscape.com
080a4bf40d
Making object tag to display alternative context
1998-12-13 21:44:55 +00:00
nisheeth%netscape.com
02450534e5
Changed nsHTMLStyleSheetImpl::AttributeChanged() so that it asks the
...
content objects for style change hint. Removed tag specific code in this function.
1998-12-10 23:49:13 +00:00
troy%netscape.com
78a4ce96ec
Changed wrapping of floated elements so the wrapping happens inside of
...
ConstructFrameByDisplayType(), and now we only wrap frames of display
type 'block' and 'inline'
1998-12-07 18:44:40 +00:00
troy%netscape.com
e05b04aa92
Temporary change to make sure we don't wrap floated tables in a BODY frame
1998-12-04 23:51:16 +00:00
troy%netscape.com
62857a1141
Moved creation of first page frame to frame construction code, and changed
...
it so the page frame has a view. This makes printing faster and easier
1998-12-04 21:04:56 +00:00
troy%netscape.com
205250b6c4
Moved view creation to frame construction code. Also moved wrapping of
...
floated and absolutely positioned elements to frame construction code
1998-12-04 19:03:44 +00:00
troy%netscape.com
90f35ce118
Changed view creation to occur when frame initialization occurs
1998-12-04 05:56:06 +00:00
troy%netscape.com
4a0f9cea8f
Moved logic that created a BODY frame that forms the cell's content from the
...
table frame code to the frame construction code
1998-12-04 02:08:51 +00:00
waterson%netscape.com
1cd4a28768
Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h.
1998-12-03 20:20:35 +00:00
troy%netscape.com
2a4b2c503f
Added Init() member function to nsIFrame
1998-12-03 06:31:43 +00:00
peterl%netscape.com
b5f9c257f1
changed media type to atom
1998-12-02 00:38:14 +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
peterl%netscape.com
e3f218d5b4
style change notification support
1998-11-26 01:34:53 +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
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
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
fedd9bbb6a
removed obsolete include of nsTableFrame
1998-11-20 01:04:43 +00:00
peterl%netscape.com
e7b84c9f31
use proper pseudo tag for text style contexts
1998-11-18 02:11:27 +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
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
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
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
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
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
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
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
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
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
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
a753f1285d
sync to style resolution api changes
...
moved style context re-resolving to frame land
1998-11-03 20:33:23 +00:00
troy%netscape.com
fe4e76d9d9
Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
...
and HaveFixedContentHeight()
1998-11-01 01:29:00 +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
buster%netscape.com
03cad6390d
some extremely preliminary work for styleChanged incremental reflow
1998-10-30 07:57:44 +00:00
troy%netscape.com
c16076d5ca
Changed to use a scroll frame for the BODY
1998-10-29 23:25:02 +00:00
kipp%netscape.com
1fca69289e
Pass in opactity to view manager in case it changed
1998-10-28 02:05:05 +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
821744e23b
added aural style hint
1998-10-26 23:21:19 +00:00
troy%netscape.com
3441ff97d9
Changed some comments
1998-10-24 05:03:55 +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
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
troy%netscape.com
713db072d6
Work in progress on scroll frame code
1998-10-12 22:13:23 +00:00