kipp%netscape.com
d556e3e3cd
Removed List method
1999-03-05 04:22:29 +00:00
kipp%netscape.com
16b4103937
Minor tweaks to work better with computed values in html reflow state
1999-03-05 04:22:11 +00:00
kipp%netscape.com
40529e4640
nsBlockReflowState no longer is-a nsHTMLReflowState; fixes to numerous bugs; reworked to use computed values from reflow-state
1999-03-05 04:21:32 +00:00
kipp%netscape.com
2f71be6002
Some asserts for me
1999-03-05 04:20:31 +00:00
kipp%netscape.com
d7bf08c6f6
Support more css style for hr's; map align to auto margins
1999-03-05 04:20:07 +00:00
kipp%netscape.com
9ddafbd9f8
use new nsHTMLReflowState ctors
1999-03-05 04:19:09 +00:00
scc%netscape.com
2ec0a397ea
rename |IID()| --> |GetIID()|
1999-03-03 19:48:57 +00:00
mjudge%netscape.com
cba888fc69
updates and fixes for CTRL left arrow and right arrow. also fixes for releasing the presshell correctly. the selection code was leaking it. updates for PREV and NEXT in nsFrameTraversal
1999-03-03 01:51:21 +00:00
ftang%netscape.com
ffc1e146ac
fix SmallCap to make it work for the whole range of unicode
1999-03-02 18:25:22 +00:00
cls%seawood.org
0bbc0ba3a1
Fixed problem with ondblclick being released w/o being allocated. Appeared to be a copy-n-paste oversight.
1999-03-02 10:20:52 +00:00
sfraser%netscape.com
092b04689b
Fix the caret so that it draws on Windows (and UNIX, hopefully), and turn on the #define so that the caret gets created in the pres shell. It gets shown in editor mode.
1999-03-02 04:26:49 +00:00
akkana%netscape.com
0664eb6e9a
Fix potential leak of content sink
1999-03-02 00:47:43 +00:00
akkana%netscape.com
48dcd3da7a
Move bulk of DoCopy code from nsBrowserWindow.cpp into nsPresShell
1999-03-01 19:21:01 +00:00
vidur%netscape.com
cb48e4047a
Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy.
1999-03-01 16:57:35 +00:00
peterl%netscape.com
006004dd56
added content state changed
1999-02-27 07:15:09 +00:00
hyatt%netscape.com
634942997c
Adding the NS_ISTYLEDCONTENT_IID to the nsHTMLIID files, so that HTML content
...
can see it (makes the QueryInterface macro work).
1999-02-27 01:33:25 +00:00
hyatt%netscape.com
927493e52a
Removing the CLASS, ID, and STYLE-specific methods. They are now in
...
nsIStyledContent (from which nsIHTMLContent now derives).
1999-02-27 01:32:49 +00:00
av%netscape.com
e845f0123f
*** empty log message ***
1999-02-27 00:57:04 +00:00
kipp%netscape.com
960bc34221
fixed up operator new usage
1999-02-26 20:02:06 +00:00
kipp%netscape.com
760dc4af42
Fixed remaining issues with operator new/delete
1999-02-26 19:26:29 +00:00
kipp%netscape.com
59afd8abfb
Removed ifdef'd out code
1999-02-26 19:22:20 +00:00
kipp%netscape.com
1abf79d0f1
Removed dependency on static constructors; implement operatore delete
1999-02-26 17:08:48 +00:00
kipp%netscape.com
c0c382d3c0
Removed move-out-of-flow code now that frame construction code does it; added code to avoid reflows when removing a placeholder frame
1999-02-26 17:08:20 +00:00
kipp%netscape.com
173cc9b534
Avoid purify noise by initializing all member variables
1999-02-26 17:07:49 +00:00
kipp%netscape.com
99df251883
Support limited scaling of images on unix
1999-02-26 17:07:28 +00:00
kipp%netscape.com
5fca6839f0
Removed MoveOutOfFlow
1999-02-26 17:07:01 +00:00
kipp%netscape.com
c7fde5e17e
Implement operator delete; get rid of static constructor
1999-02-26 17:05:20 +00:00
kipp%netscape.com
a8d4b57b12
Find text runs more often (bug #3278 , 3265); floaters are now handled mostly by the frame construction code
1999-02-26 17:04:44 +00:00
buster%netscape.com
70608d9f51
added GetStyleContextFor
1999-02-25 19:55:06 +00:00
vidur%netscape.com
b15aacfeb3
Made style reresolution propogate down to the bullet frames for list items. Added list related attribute tests.
1999-02-25 19:14:35 +00:00
troy%netscape.com
11c7f0375f
Fixed it so we clear the NS_FRAME_SYNC_FRAME_AND_VIEW bit, because the
...
default is that it's set
1999-02-25 05:41:05 +00:00
troy%netscape.com
3bdf672129
Removed nsIFrame::CreateContinuingFrame()
1999-02-25 05:31:15 +00:00
troy%netscape.com
da4193eab6
Changed nsIFrame::Init() to take an additional parameter
1999-02-25 03:27:57 +00:00
ftang%netscape.com
81894ce107
change nsTextTransformer to break line by calling nsILineBreak and make nsTextFrame pass the nsILineBreaker to nsTextTransformer
1999-02-24 18:21:23 +00:00
troy%netscape.com
eb48a80e30
Added nsLayoutAtoms::textFrame
1999-02-24 05:33:40 +00:00
kipp%netscape.com
50a388ca59
Fixed bug #2885 - the linebreaker couldn't handle a special case...
1999-02-24 05:24:06 +00:00
troy%netscape.com
03c5c1f520
Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
...
not references
1999-02-24 04:48:08 +00:00
troy%netscape.com
da0991df28
Added CreateContinuingFrame() function to frame construction code
1999-02-24 04:03:50 +00:00
kipp%netscape.com
921f7d5d90
For now text acts like a replaced element
1999-02-23 19:35:21 +00:00
kipp%netscape.com
de667c2242
Removed gratuitous destructor
1999-02-23 19:34:58 +00:00
kipp%netscape.com
fb3e87241d
Cleanedup vertical alignment support
1999-02-23 19:34:37 +00:00
kipp%netscape.com
ee9d03abfa
Improved vertical alignment correctness; fixed glaring error with box-width and height computation
1999-02-23 19:34:17 +00:00
kipp%netscape.com
a1ea3e5ee6
Removed mLineHeight from the html reflow state; changed the signature of the VerticalAlignFrames method; made DetermineFrameType a callable static method
1999-02-23 19:33:34 +00:00
kipp%netscape.com
2285d2368f
Maded DetermineFrameType a callable static method; removed gratuitous line-height calculations
1999-02-23 19:33:06 +00:00
kipp%netscape.com
d77265fa2f
Added a warning comment
1999-02-23 19:32:33 +00:00
kipp%netscape.com
6359d0f8d4
Revised the signature of the VerticalAlignFrames method
1999-02-23 19:32:20 +00:00
kipp%netscape.com
02b92b2a8e
Compute minimum-line-height and store it into the inline-reflow context
1999-02-23 19:32:00 +00:00
vidur%netscape.com
a5024bec72
Fixed casing for nsCOMPtr inclusion
1999-02-23 19:22:53 +00:00
vidur%netscape.com
93609d0604
Added nsIStyleSheetLinkingElement interface and implemented it for LINK and STYLE elements. Got attribute modifications for lists and list items working (including correct renumbering of lists when attribute values change).
1999-02-23 19:18:12 +00:00
karnaze%netscape.com
cc3251aeaf
added assertion for null peeked frame pointer in Reflow.
1999-02-23 18:06:55 +00:00
warren%netscape.com
01dd4f0ed6
Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
1999-02-23 08:10:24 +00:00
troy%netscape.com
2e35a63334
Added include of $(PUBLIC)\unicharutil to fix build bustage
1999-02-23 04:28:08 +00:00
karnaze%netscape.com
009c914f35
better sizing of form controls, especially percentage based sizes and max element sizes
1999-02-23 03:48:01 +00:00
ftang%netscape.com
59e3b5ce0e
Make Case conversion work for non-Latin1 Unicode. Reviewed by kipp. Perofrmance is the same after changing this.
1999-02-23 02:27:54 +00:00
mjudge%netscape.com
b13e4da265
Added, jump to prev word, modified INIT of nsTextTransformer to better prepare for a start offset at the end of the mFrags list. added implementation of extra parameter to nsIFrame::PeekOffset to keep state for the next word problem of eating ws. nsTextFrame should be all set on implementation of jumping words.
1999-02-22 04:59:52 +00:00
mjudge%netscape.com
eaf1a3cc93
gettig word jumping to work, adding GetPrevWord to texttransformer
1999-02-22 03:20:59 +00:00
mjudge%netscape.com
73b74bd729
Needed methods to disable the ScrollFrameIntoView because of resizing causing scrolling to snap selection into view. 3 helper fucs, 1 variable, PRBool mEnableScrolling defaulted to true of course
1999-02-21 19:43:40 +00:00
troy%netscape.com
02403aa752
Changed DeleteChildsNextInFlow() to use the nsFrameList::RemoveFrame() function
...
instead of what it was doing, because the assumption it was making about "aChild"
and "nextInFlow" sharing the same parent frame is not true for continued table cells
1999-02-21 18:59:00 +00:00
mjudge%netscape.com
4190f9d7be
adding scrolling depending on selection modification. either by key event, or outside event.
1999-02-21 03:49:32 +00:00
mjudge%netscape.com
cee2723326
Shift click to continue selection
1999-02-21 01:23:40 +00:00
mjudge%netscape.com
bbd3667ca9
Extra parameter in nsIFrameSeleciton HandleKeyEvent not necessary. nsRangeList mod now allows SHIFT-Key selection. currently bound directly to VK_LEFT,RIGHT should be changed eventually to something more internationaly friendly
1999-02-20 23:52:05 +00:00
buster%netscape.com
5d4f949e92
the pres shell now respects NS_PRESSHELL_SCROLL_ANYWHERE for vertical scrolling.
...
this is a hack implementation, to be recoded by the layout team
1999-02-20 21:27:28 +00:00
mjudge%netscape.com
fb3a597e8a
nsPresShell now listens to changes in the domselection. (also modified nsIEnumerator to use NS_IMETHOD instead of virtual nsresult). Added batching for selection changes. you can move the selection, do things then turn off batching for an update if necessary. also prevented circular referencing by adding listener removal to PresShell::endDocumentListening(sp)
1999-02-19 23:47:36 +00:00
buster%netscape.com
a7658c739f
work-in-progress for scrolling frames into view. Not called anywhere in layout yet.
1999-02-19 23:43:41 +00:00
mjudge%netscape.com
ed093b8ad5
fogot to move files out of this makefile.in
1999-02-19 02:12:19 +00:00
mjudge%netscape.com
1afd545499
moving nsFrameTraversal.* nsFrameList.* to layout/base also adding selection from keyboard.
1999-02-19 00:21:22 +00:00
scc%netscape.com
5f8d7aa381
updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef|
1999-02-18 23:55:10 +00:00
buster%netscape.com
488d53c3f2
added nsPresShell::ScrollFrameIntoView(), which forces the given frame to be visible in the current view.
1999-02-18 22:52:21 +00:00
kmcclusk%netscape.com
8dcf8365b9
changed pseudo styles file-button, file-text to -moz-file-button -moz-file-text in ua.css
...
Adjusted nsHTMLAtoms to match.
1999-02-18 22:36:59 +00:00
kipp%netscape.com
9b8e3b6bef
removed usless includes
1999-02-18 22:23:52 +00:00
kipp%netscape.com
d5d5c4fd5e
Added missing ctor/dtor
1999-02-18 22:23:36 +00:00
kipp%netscape.com
eb1ba95e39
Added support methods to make bullet alignment better
1999-02-18 22:23:13 +00:00
kipp%netscape.com
c972607d82
Process bullets better so that they are vertically aligned properly
1999-02-18 22:22:55 +00:00
kipp%netscape.com
94912a8da7
Renamed bullet pseudo style
1999-02-18 22:20:19 +00:00
kmcclusk%netscape.com
0006f5de38
Fixed call to ProbePseudoStyleContext in nsButtonControlFrame so it will compile
...
when NS_GFX_RENDER_FORM_ELEMENTS is defined.
Added checks to nsFileControlFrame::Reflow to make sure the pseudo styles actually
could be loaded. If they can't be loaded it uses the file upload elements style.
Changed file-buttonstyle to file-button and file-textstyle to file-text in ua.css
1999-02-18 22:07:23 +00:00
kipp%netscape.com
44573facc6
Fixed bug #3161 - removed bogus assertion
1999-02-18 18:25:45 +00:00
cyeh%netscape.com
af4818f5e3
Remove mozilla/layout/config and use mozilla/config instead.
1999-02-18 18:16:21 +00:00
mcafee%netscape.com
cbff9a4021
Adding newline at end of file for Solaris/CC
1999-02-18 12:14:59 +00:00
troy%netscape.com
9748bc8839
Added support for 'width' and 'height' values of 'inherit'
1999-02-18 04:40:16 +00:00
kipp%netscape.com
9f5bab8779
Added methods for supporting 2 pass vertical align reflow
1999-02-18 03:28:00 +00:00
kipp%netscape.com
0004ac4128
Support 2 pass vertical-align reflow for top/bottom better
1999-02-18 03:27:41 +00:00
kipp%netscape.com
cea1fae3c5
Eliminated HAVE_ANONYMOUS_BLOCK code; added in implementations of FindTextRuns and VerticalAlignChildren
1999-02-18 03:27:23 +00:00
kipp%netscape.com
7a4a4efc3d
Removed a skid mark
1999-02-18 03:26:42 +00:00
kipp%netscape.com
76efa6ea05
Detect errors more often by prioritizing its status over size-available
1999-02-18 03:26:19 +00:00
kipp%netscape.com
6d972b5595
Added VerticalAlignFrames for 2nd pass vertical align reflow
1999-02-18 03:25:48 +00:00
kipp%netscape.com
7c15c2fc1d
Removed GetAutoMarginSize; added VerticalAlignFrames
1999-02-18 03:25:23 +00:00
kmcclusk%netscape.com
9d22e42a58
Added pseudo styles for file input element buttons and text fields to control their
...
appearance during printing.
Now returns value of file upload element in nsHTMLInputElement::GetValue.
Added :file-textstyle and :file-buttonstyle pseudo style's to ua.css.
Modified nsButtonControlFrame::PaintButton to accept a rectangle describing the
position and size of the button to paint.
Modified nsFileControlFrame::Paint to resolve :file-buttonstyle and :file-textstyle to
paint the file upload's button and text field using settings in ua.css
Added nsFileControlFrame::HasWidget utility method.
Added nsFormControlHelper::GetInputElementValue to get the current value of an input element
from the DOM.
Modified nsTextControlFrame::GetProperty to use nsFormControlHelper::GetInputElementValue
Modified nsTextControlFrame::PaintTextControl to accept a rectangle describing the position
and size of the text control to paint.
Modified nsTextControl::PaintTextControlBackground to include a rectangle describing the
position and size of the text control background to paint.
1999-02-18 00:13:39 +00:00
troy%netscape.com
912d59f314
Added code to set/get the view manager's root scrollable view
1999-02-16 04:41:15 +00:00
troy%netscape.com
db8cffe775
Minor clean up
1999-02-16 04:07:27 +00:00
mjudge%netscape.com
90ade6856e
fixing some things for selection to allow keyboard navigation. not hooked up to caret yet. also removed some not used calls in nsFrame for the "old" selection model.
1999-02-16 02:42:08 +00:00
michaelp%netscape.com
980dd8c34f
all scrollbar recomputation is now the responsibility of the owner of the
...
scrolled view.
1999-02-16 00:53:15 +00:00
troy%netscape.com
eab91a0aa8
Fixed InitConstraints() to correctly compute the containing block height
...
for child elements of a scrolled element
1999-02-14 04:43:44 +00:00
troy%netscape.com
bf53f99087
Added frame-type atoms for area,scroll,viewport,root,page frame classes
1999-02-14 03:47:33 +00:00
kipp%netscape.com
fff7bf9929
Avoid using the trapezoid data when we have none (bug #1277 )
1999-02-13 19:39:31 +00:00
kipp%netscape.com
7d24721c1b
Be more careful about returning break-before status
1999-02-13 19:18:45 +00:00
kipp%netscape.com
19695398af
Use correct IID when doing QueryInterface to avoid using incorrect vtable (bug #2782 )
1999-02-13 17:49:42 +00:00
troy%netscape.com
c928d3557c
Changed frame construction code to set NS_FRAME_REPLACED_ELEMENT but, and
...
changed the HTML reflow state to read the bit
1999-02-13 05:59:19 +00:00
sfraser%netscape.com
006010c385
Ensure the caret is refreshed after the text frame containing it is redrawn
1999-02-13 04:46:47 +00:00
sfraser%netscape.com
a99f1c6f2c
Add an accessor for the caret, RefreshCaret, and a couple of other private caret methods in nsPresShell.
1999-02-13 04:45:44 +00:00
troy%netscape.com
0debd6f0d1
Fixed some errors related to switch to using nsCOMPtr
1999-02-12 18:41:26 +00:00
troy%netscape.com
fcbd2edc14
API change for pres shell
1999-02-12 18:22:08 +00:00
troy%netscape.com
ebfff565c5
Fixed build bustage
1999-02-12 18:18:34 +00:00
kipp%netscape.com
36c243cdc0
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
peterl%netscape.com
7f04fb00e6
changed all html atoms to lower case
1999-02-12 06:19:07 +00:00
troy%netscape.com
1c116ce1a6
Added GoToAnchor()
1999-02-12 05:39:33 +00:00
sfraser%netscape.com
ef131779ca
Fix selection bustage, which was a post-merge error on my part.
1999-02-12 00:27:44 +00:00
sfraser%netscape.com
f220577393
#ifdef tbe blue selection triangles in until the caret code is turned on
1999-02-12 00:05:19 +00:00
sfraser%netscape.com
2a8b787470
Add code to show a caret (#ifdeffed out for now)
1999-02-12 00:02:56 +00:00
sfraser%netscape.com
9ab69a922e
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
1999-02-12 00:02:31 +00:00
akkana%netscape.com
7982a421d6
Rename nsISelection to nsIFrameSelection
1999-02-11 23:12:28 +00:00
troy%netscape.com
902190112d
API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor
1999-02-11 15:56:23 +00:00
troy%netscape.com
46bf1f1ab5
Fix for bug #3089
1999-02-11 03:56:00 +00:00
buster%netscape.com
83125f838e
added GetLayoutObjectFor for getting a layout object as an nsISupports
...
while not exposing nsIFrame.
1999-02-10 23:21:22 +00:00
mjudge%netscape.com
d6da223dbd
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
1999-02-10 18:55:25 +00:00
troy%netscape.com
37614be21a
Re-ordered DeleteFrame() code to fix a FMR
1999-02-10 18:12:24 +00:00
troy%netscape.com
034aa56b83
Changed GetNextSibling() to use a pointer argument instead of a reference
1999-02-10 06:13:38 +00:00
troy%netscape.com
9d570499cf
Changed a bunch more nsIFrame member functions to be pointer arguments
...
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com
e9bbeeaa9b
Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
...
references
1999-02-10 04:17:06 +00:00
troy%netscape.com
2ac7b86865
Changed GetAdditionalChildListName() and FirstChild() to use ** instead
...
of *&
1999-02-10 02:25:01 +00:00
troy%netscape.com
c85f9efd2a
Changed GetParent() to use ** instead of *&
1999-02-10 01:36:30 +00:00
troy%netscape.com
b974e26cea
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
1999-02-10 00:42:56 +00:00
kipp%netscape.com
6953c4a7c8
Whacked away nsBaseIBFrame and BLOCK_IS_INLINE cruft
1999-02-09 17:31:33 +00:00
kipp%netscape.com
982434a14f
Handle breaking before an anonymous block when the line isn't empty; push/pop inline reflow state so that floaters work properly
1999-02-09 17:31:14 +00:00
troy%netscape.com
9c158de393
Added GetFrameType() member function
1999-02-09 05:44:13 +00:00
troy%netscape.com
49923b7f83
Fix for bug #2661 . Now handles the case where the root-frame has a fixed
...
height
1999-02-09 05:09:39 +00:00
troy%netscape.com
9940ecee6e
Fixed a silly error I introduced in the previous check-in
1999-02-09 05:01:11 +00:00
troy%netscape.com
1b384d0f08
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
1999-02-09 04:31:09 +00:00
troy%netscape.com
aaff26f78e
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
1999-02-09 04:05:21 +00:00
waterson%netscape.com
4d00f764eb
Exposed NS_CreateHTMLContent() as a temporary hack to get HTML-in-RDF/XUL working. Will re-visit when Vidur comes back.
1999-02-09 00:26:50 +00:00
troy%netscape.com
a9bb13d5cc
Fix for bug #3027 . Correctly computes 'auto' margin values and allows them
...
to be negative
1999-02-09 00:15:43 +00:00
kipp%netscape.com
c4826d0a7e
Tweak regression data output
1999-02-08 17:56:23 +00:00
kipp%netscape.com
d83b6d14ee
Revamp regression data dumping
1999-02-08 17:56:00 +00:00
troy%netscape.com
12bfda4069
Fix for bug #2993 . Made sure that 'offsets' are relative to containing block's
...
padding edge and not the containing block's border edge
1999-02-08 00:32:02 +00:00
troy%netscape.com
c0d9d4be04
Fixed ContentRemoved() to also remove the shell's mapping from absolutely
...
positioned element to its placeholder
1999-02-06 17:10:42 +00:00
troy%netscape.com
c30862656d
Fixed a bad #ifdef
1999-02-06 04:26:30 +00:00
troy%netscape.com
b3b5969d0f
#ifdef CantRenderReplacedElement() to be _WIN32 for the time being until
...
the Mac problems with the thread event queue are straightened out
1999-02-06 03:41:14 +00:00
joki%netscape.com
7a1bff7611
Checking in null check and assertion to handle the crashing on imagemap part of the Mac regression.
1999-02-06 02:07:49 +00:00
troy%netscape.com
b8205354d1
Added CantRenderReplacedElement() to nsIPresShell and changed the image frame
...
code to use it
1999-02-05 18:25:29 +00:00
troy%netscape.com
66fdbcd9b3
Made sure computedOffsets is initialized to all zeros for the root frame
1999-02-05 05:51:12 +00:00
peterl%netscape.com
28a6de7ff5
added assertion for switching style contexts during reflow
1999-02-05 03:58:27 +00:00
troy%netscape.com
110c517be1
Removed #include of header files that weren't actually needed
1999-02-05 01:54:58 +00:00
harishd%netscape.com
ddb2a5d1e3
Made HR tags more stylable
1999-02-04 23:10:21 +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
6a87389b62
nuked
1999-02-04 16:29:25 +00:00
kipp%netscape.com
752de3f766
tweak so font-lock in emacs works better
1999-02-04 16:28:36 +00:00
kipp%netscape.com
2a44cdd816
Renamed RemoveFrame to RemoveAFrame to reduce compiler warnings
1999-02-04 16:27:18 +00:00
troy%netscape.com
1dcaa305b6
Fix for bug #2867 . Removed the questionable logic I added previously.
1999-02-04 00:43:49 +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
kipp%netscape.com
8f64c7a3ef
Use ReflowDirty reflow commands; fixed reflow status when dealing with breaking child frames
1999-02-03 19:12:02 +00:00
kipp%netscape.com
a0b694c5b8
Added List method
1999-02-03 19:10:26 +00:00
kipp%netscape.com
67741b5e3c
Removed a couple of warnings
1999-02-03 19:10:03 +00:00
kipp%netscape.com
d77e41c463
Removed some unused variables
1999-02-03 19:09:37 +00:00
kipp%netscape.com
66115d3c10
Fixup absolute positioning by temporarily generating old style reflow commands when the list-name is not null; temporarily use FrameAppended instead of ReflowDirty for append operations
1999-02-03 19:09:24 +00:00
troy%netscape.com
5238d0c73f
Improvements to fixed positioning
1999-02-03 17:01:51 +00:00
troy%netscape.com
15e7a9f342
Switched to using nsIScrollableView::GetScrollbarVisibility() to tell
...
whether the vertical scrollbar is currently showing
1999-02-03 04:30:57 +00:00
troy%netscape.com
c4b2263dbf
Fixed it to so the root-frame isn't considered a containing block, and
...
changed SetRect() so it only resizes the child frame larger if its 'height'
is set to 'auto'
1999-02-03 01:31:09 +00:00
kipp%netscape.com
008d7e5acf
nuked
1999-02-02 19:39:06 +00:00
kipp%netscape.com
24f144460b
Wrapped up debugging noise in a ifdef; implemented 4th remove-frame case; fixed a bug in the 5th remove-frame case
1999-02-02 17:32:09 +00:00
kipp%netscape.com
6e9110cb4c
Changed value of mozAnonymousBlock atom to match ua.css until a css working group issue is resolved
1999-02-02 17:31:36 +00:00
kipp%netscape.com
361ca345fb
Changed base-ib-frame to implement AppendFrames/InsertFrames/RemoveFrame directly; changed args to DoRemoveFrame; updated the anonymous block to have a slightly different method set to manipulate its children
1999-02-02 17:31:09 +00:00
mjudge%netscape.com
ceb08a0190
scoping incorrect for for loops on vc5.0 didnt catch this. nasty habbit of mine.
1999-02-02 01:18:41 +00:00
mjudge%netscape.com
cd2d3d137c
keyboard navigation of selection. adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API. nsRangeList implements the handlekeyevent now.
1999-02-02 00:23:40 +00:00
kipp%netscape.com
c529fc11be
Fixed invocation bug that mac compiler caught
1999-02-01 19:08:30 +00:00
troy%netscape.com
f1c963f7b5
Made sure that fixed positioned elements gets a widget
1999-02-01 18:36:23 +00:00
kipp%netscape.com
42312a552c
Fixed pseudo style atom value
1999-02-01 17:34:31 +00:00
kipp%netscape.com
b23b120a19
Implement TreatFrameAsBlock
1999-02-01 17:32:49 +00:00
kipp%netscape.com
12322a8a10
Added another TreatFrameAsBlock method
1999-02-01 17:32:33 +00:00
kipp%netscape.com
e6c0c373a9
Updated a comment
1999-02-01 17:32:19 +00:00
kipp%netscape.com
a548c870f8
Minor bug fixing; reworked PullFrame; added VerifyParent
1999-02-01 17:32:05 +00:00
kipp%netscape.com
ddc318eee2
Added some comments :-)
1999-02-01 17:31:37 +00:00
kipp%netscape.com
c2a13558a4
Removed ReplaceFrame
1999-02-01 17:31:21 +00:00
kipp%netscape.com
0887e5eedf
Removed ReplaceFrame; tweaked frame updates impls
1999-02-01 17:31:10 +00:00
kipp%netscape.com
bcca9bcff4
Fixed up debug output
1999-02-01 17:29:58 +00:00
kipp%netscape.com
50b6da75a7
Implement anonymous block frame code; fixup base class InsertNewFrames to support multiple frame insertion
1999-02-01 17:29:37 +00:00
kipp%netscape.com
859dde6287
Renamed InsertNewFrame->s; defined nsAnonymousBlock class
1999-02-01 17:28:39 +00:00
kipp%netscape.com
7e4600613e
Rewritten to use an anon. block frame to manage block children
1999-02-01 17:27:56 +00:00
troy%netscape.com
acbe598a4f
Fixed logic that determines whether there's currently a visible vertical
...
scrollbar
1999-02-01 16:32:54 +00:00
troy%netscape.com
f987894585
Changed Reflow() to make sure the desired-size members of the reflow metrics
...
struct are set in the case where there is no child frame
1999-01-31 18:46:22 +00:00
troy%netscape.com
25be57b96c
Fix for bug# 2780: changed root-frame and scroll-frame code to take into
...
account mCombinedArea
1999-01-31 05:12:02 +00:00
troy%netscape.com
7c0d5680c3
Changed ReflowFixedFrame() to take the computed left and top margin into
...
account when placing the child
1999-01-31 05:09:29 +00:00
troy%netscape.com
051df63e8f
Added code to force an absolutely positioned child that ignored its
...
computed height to be the correct height
1999-01-30 18:12:38 +00:00
troy%netscape.com
5cd1cbadbf
Added code to make sure that a fixed child frame ends up with the correct height
...
evebn if it disregards the computed height value
1999-01-30 17:39:29 +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
troy%netscape.com
f2d3dd631e
Fixed leak of nsIHTMLDocument interface in GetImageMap()
1999-01-30 01:04:35 +00:00
troy%netscape.com
bb2686580f
Changed TriggerLink() to release its reference to the nsILinkHandler interface,
...
and I changed HandleEvent() to make nsIURL interface returned by the call to
GetDocumentURL() is released
1999-01-30 00:34:06 +00:00
akkana%netscape.com
eb4fd64caa
Implement a new interface, nsIDOMSelection, intended to become the
...
external interface for selection (to be IDL-ified later).
Fix some editor bugs:
- Advance the cursor on text insert (so text is inserted in the right order)
- Make DeleteSelection in the editor call the actual selection
- Make DeleteSelection update the frames' notion of the selection
1999-01-29 18:57:56 +00:00
troy%netscape.com
01b9469528
Fix for bug #2743 . Improved the logic which predicts whether a vertical scrollbar
...
is needed
1999-01-29 04:29:10 +00:00
troy%netscape.com
78d4cd7331
More work-in-progress for fixed positioning
1999-01-28 17:14:13 +00:00
michaelp%netscape.com
0084e8879d
modified for new DrawString()/GetWidth() APIs.
1999-01-28 05:03:58 +00:00
troy%netscape.com
1741d8cae3
Changed Reflow() to take into account absolutely positioned child
...
frames when computing the desired size
1999-01-27 05:58:43 +00:00
troy%netscape.com
2fb9c64835
Fixed a problem in CalculateLeftRightMargin()
1999-01-26 16:34:08 +00:00
mjudge%netscape.com
bec224216c
turning off printf debug statements in debug to speed up resizing
1999-01-26 00:40:39 +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
9bb5d8a906
changing paintunicodestring and paintasciistring to map from content coordinates to painttext coordinatres. in get position, i am now mapping from paint coordinates to content coordinates. also, the frames themselves now set the focus and anchor for a nsIFocusTracker passed in object.
1999-01-25 23:29:53 +00:00
mjudge%netscape.com
5ac012630e
adding parameters to setselectedcontent. This will keep down overhead of the nsIFrame implementation and still not allow outsiders to talk to their presshell. so please forgive this grown method. this extra parameter will maintain the anchor and focus point after reflow
1999-01-25 23:28:23 +00:00
amusil%netscape.com
43c91b3dff
*** empty log message ***
1999-01-25 10:10:29 +00:00
mjudge%netscape.com
110a084f10
adding same code to paintAscii as i did to paintUnicode
1999-01-25 01:53:40 +00:00
mjudge%netscape.com
55f9005e7a
ok I am changing nsPresShell to "do the right thing". The virtual methods to support nsIFocusTracker needed to use the MACROS the same as the rest of the methods. I also moved the growing inline methods to their own method declarations. pres shell also needs to send itself as a focus tracker to "reset selection" to allow a callback to reset the frames that will be the focus and anchor frames for the future. getting frames from content is easy, getting the exact frame with an offset as well is difficult. nsTextFrame does some funny things with whitespaces that was throwing off the selection code. one minute the beginning of a word is offset 1 then it grows to 2 if the whitespace on the previous line wraps. I also put limits on the selection drawing. the drawing was happening after reflow, but before reset selection. this made the selection drawing extend beyond the legal limits of the "textlength". P.S. since the paint unicode and paint ascii are so similar, is it better to make a helper func to do the common things? or maybe make another method just to save namespace?
1999-01-25 01:48:01 +00:00
troy%netscape.com
b3714ebc19
Initial check-in
1999-01-24 20:36:46 +00:00
peterl%netscape.com
62bc285367
added helper methods for selecting & querying alternate style sheets
1999-01-23 07:03:46 +00:00