1269 Commits

Author SHA1 Message Date
troy%netscape.com
176116b148 Fixed some errors related to switch to using nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@20585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:41:26 +00:00
troy%netscape.com
1cb01c351a API change for pres shell
git-svn-id: svn://10.0.0.236/trunk@20579 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:22:08 +00:00
troy%netscape.com
477db97893 Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@20577 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:18:34 +00:00
kipp%netscape.com
9b917419dc COMized nsIPresShell and nsIPresContext
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00
peterl%netscape.com
38427deaa9 changed all html atoms to lower case
git-svn-id: svn://10.0.0.236/trunk@20542 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 06:19:07 +00:00
troy%netscape.com
946499d8d7 Added GoToAnchor()
git-svn-id: svn://10.0.0.236/trunk@20531 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:39:33 +00:00
sfraser%netscape.com
9b636c9328 Fix selection bustage, which was a post-merge error on my part.
git-svn-id: svn://10.0.0.236/trunk@20478 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:27:44 +00:00
sfraser%netscape.com
b4a259e54f #ifdef tbe blue selection triangles in until the caret code is turned on
git-svn-id: svn://10.0.0.236/trunk@20476 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:05:19 +00:00
sfraser%netscape.com
7b5c0a5490 Add code to show a caret (#ifdeffed out for now)
git-svn-id: svn://10.0.0.236/trunk@20473 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:02:56 +00:00
sfraser%netscape.com
0e66d5506a Add two new methods needed for caret support (and other things): GetPointFromOffset, to get frame-relative coordinates of a given content offset, and GetChildFrameContainingOffset, to find the child frame that really contains the given content offset
git-svn-id: svn://10.0.0.236/trunk@20472 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:02:31 +00:00
akkana%netscape.com
0ebe0a4652 Rename nsISelection to nsIFrameSelection
git-svn-id: svn://10.0.0.236/trunk@20457 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:12:28 +00:00
troy%netscape.com
fcbf19b87f API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor
git-svn-id: svn://10.0.0.236/trunk@20413 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 15:56:23 +00:00
troy%netscape.com
a0c49af128 Fix for bug #3089
git-svn-id: svn://10.0.0.236/trunk@20353 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 03:56:00 +00:00
buster%netscape.com
f303703535 added GetLayoutObjectFor for getting a layout object as an nsISupports
while not exposing nsIFrame.


git-svn-id: svn://10.0.0.236/trunk@20304 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 23:21:22 +00:00
mjudge%netscape.com
2a9e445535 Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661
git-svn-id: svn://10.0.0.236/trunk@20274 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:55:25 +00:00
troy%netscape.com
c6590e6940 Re-ordered DeleteFrame() code to fix a FMR
git-svn-id: svn://10.0.0.236/trunk@20269 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:12:24 +00:00
troy%netscape.com
bd78450e96 Changed GetNextSibling() to use a pointer argument instead of a reference
git-svn-id: svn://10.0.0.236/trunk@20223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:13:38 +00:00
troy%netscape.com
339afcce8a Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references


git-svn-id: svn://10.0.0.236/trunk@20222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 05:38:18 +00:00
troy%netscape.com
dbedf1803d Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references


git-svn-id: svn://10.0.0.236/trunk@20215 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 04:17:06 +00:00
troy%netscape.com
3635a7c72c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&


git-svn-id: svn://10.0.0.236/trunk@20212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:25:01 +00:00
troy%netscape.com
2af2ec249b Changed GetParent() to use ** instead of *&
git-svn-id: svn://10.0.0.236/trunk@20205 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 01:36:30 +00:00
troy%netscape.com
8934624982 Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters


git-svn-id: svn://10.0.0.236/trunk@20199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:42:56 +00:00
kipp%netscape.com
7f58c1cf8f Whacked away nsBaseIBFrame and BLOCK_IS_INLINE cruft
git-svn-id: svn://10.0.0.236/trunk@20143 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 17:31:33 +00:00
kipp%netscape.com
ab01d56e79 Handle breaking before an anonymous block when the line isn't empty; push/pop inline reflow state so that floaters work properly
git-svn-id: svn://10.0.0.236/trunk@20142 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 17:31:14 +00:00
troy%netscape.com
90c9d94a64 Added GetFrameType() member function
git-svn-id: svn://10.0.0.236/trunk@20113 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:44:13 +00:00
troy%netscape.com
5b4c0b3c70 Fix for bug #2661. Now handles the case where the root-frame has a fixed
height


git-svn-id: svn://10.0.0.236/trunk@20112 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:09:39 +00:00
troy%netscape.com
80a11a7ad3 Fixed a silly error I introduced in the previous check-in
git-svn-id: svn://10.0.0.236/trunk@20108 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:01:11 +00:00
troy%netscape.com
c9a7e63cc4 Fixed a problem where absolutely positioned child frames with an 'auto'
offset weren't getting re-positioned during an incremental reflow of the
flowed items


git-svn-id: svn://10.0.0.236/trunk@20102 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:31:09 +00:00
troy%netscape.com
d53851dcae Turned off some code until the frame construction code handles the case
where the replaced element that can't be rendered is floated or absolutely
positioned


git-svn-id: svn://10.0.0.236/trunk@20097 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:05:21 +00:00
waterson%netscape.com
c042191a3f Exposed NS_CreateHTMLContent() as a temporary hack to get HTML-in-RDF/XUL working. Will re-visit when Vidur comes back.
git-svn-id: svn://10.0.0.236/trunk@20061 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:26:50 +00:00
troy%netscape.com
0b0f1e128c Fix for bug #3027. Correctly computes 'auto' margin values and allows them
to be negative


git-svn-id: svn://10.0.0.236/trunk@20059 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:15:43 +00:00
kipp%netscape.com
ea9460a146 Tweak regression data output
git-svn-id: svn://10.0.0.236/trunk@20005 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:56:23 +00:00
kipp%netscape.com
b8038d013a Revamp regression data dumping
git-svn-id: svn://10.0.0.236/trunk@20004 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:56:00 +00:00
troy%netscape.com
703dbaf64b Fix for bug #2993. Made sure that 'offsets' are relative to containing block's
padding edge and not the containing block's border edge


git-svn-id: svn://10.0.0.236/trunk@19979 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 00:32:02 +00:00
troy%netscape.com
fae2e7b855 Fixed ContentRemoved() to also remove the shell's mapping from absolutely
positioned element to its placeholder


git-svn-id: svn://10.0.0.236/trunk@19924 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 17:10:42 +00:00
troy%netscape.com
07105200e3 Fixed a bad #ifdef
git-svn-id: svn://10.0.0.236/trunk@19919 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 04:26:30 +00:00
troy%netscape.com
4a04416d1c #ifdef CantRenderReplacedElement() to be _WIN32 for the time being until
the Mac problems with the thread event queue are straightened out


git-svn-id: svn://10.0.0.236/trunk@19910 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:41:14 +00:00
joki%netscape.com
3ef9d11dac Checking in null check and assertion to handle the crashing on imagemap part of the Mac regression.
git-svn-id: svn://10.0.0.236/trunk@19896 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 02:07:49 +00:00
troy%netscape.com
155dd50f2c Added CantRenderReplacedElement() to nsIPresShell and changed the image frame
code to use it


git-svn-id: svn://10.0.0.236/trunk@19860 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 18:25:29 +00:00
troy%netscape.com
a59b46020d Made sure computedOffsets is initialized to all zeros for the root frame
git-svn-id: svn://10.0.0.236/trunk@19823 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 05:51:12 +00:00
peterl%netscape.com
79c749bdc4 added assertion for switching style contexts during reflow
git-svn-id: svn://10.0.0.236/trunk@19815 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 03:58:27 +00:00
troy%netscape.com
1879dde6a2 Removed #include of header files that weren't actually needed
git-svn-id: svn://10.0.0.236/trunk@19791 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 01:54:58 +00:00
harishd%netscape.com
4e8378e763 Made HR tags more stylable
git-svn-id: svn://10.0.0.236/trunk@19754 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:10:21 +00:00
troy%netscape.com
1fa43367bb Work-in-progress for replaced elements that can't be rendered
git-svn-id: svn://10.0.0.236/trunk@19703 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 17:03:46 +00:00
kipp%netscape.com
e60a1e46d7 nuked
git-svn-id: svn://10.0.0.236/trunk@19699 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:29:25 +00:00
kipp%netscape.com
3036e8de9b tweak so font-lock in emacs works better
git-svn-id: svn://10.0.0.236/trunk@19698 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:28:36 +00:00
kipp%netscape.com
5bebf0d77c Renamed RemoveFrame to RemoveAFrame to reduce compiler warnings
git-svn-id: svn://10.0.0.236/trunk@19695 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:27:18 +00:00
troy%netscape.com
b7ecf11083 Fix for bug #2867. Removed the questionable logic I added previously.
git-svn-id: svn://10.0.0.236/trunk@19619 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:43:49 +00:00
vidur%netscape.com
1349b5dad4 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
git-svn-id: svn://10.0.0.236/trunk@19537 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:38:16 +00:00
kipp%netscape.com
2f31f19df9 Use ReflowDirty reflow commands; fixed reflow status when dealing with breaking child frames
git-svn-id: svn://10.0.0.236/trunk@19527 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:12:02 +00:00