mjudge%netscape.com
5f6fd5534a
oops infinite loop. need to break out if no frame is found.
...
git-svn-id: svn://10.0.0.236/trunk@45577 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:04:56 +00:00
mjudge%netscape.com
d9a3b1a319
new selection code for dead areas. this is much better, trust me. the block frame now will look at its best line and look for a spot to select. if it finds another block frame now, it will continue the process in a while loop. each time looking for best x and y area. this reuses the code located in GetNextPrevLine.
...
git-svn-id: svn://10.0.0.236/trunk@45529 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 21:40:16 +00:00
kipp%netscape.com
a808a176c1
Added in support for IE specific area types
...
git-svn-id: svn://10.0.0.236/trunk@45512 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:58:17 +00:00
kipp%netscape.com
66b0997d2a
Create floating frame properly (bug #2751 )
...
git-svn-id: svn://10.0.0.236/trunk@45511 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:57:58 +00:00
kipp%netscape.com
aee7b6dee5
Fixed to account for the overflow hidden value when computing the combined area (bug #2751 )
...
git-svn-id: svn://10.0.0.236/trunk@45509 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:57:37 +00:00
troy%netscape.com
24ca350dea
Fixed compiler warning
...
git-svn-id: svn://10.0.0.236/trunk@45434 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:32:45 +00:00
kipp%netscape.com
01951e06b5
Added missing #ifdef's
...
git-svn-id: svn://10.0.0.236/trunk@45420 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 02:03:50 +00:00
troy%netscape.com
e5df81af3d
Fix for bug #12864 . Changed CreateViewForFrame() so it respects the z-index
...
of relatively positioned elements
git-svn-id: svn://10.0.0.236/trunk@45404 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:10:24 +00:00
kipp%netscape.com
eea3ab916a
Updated SizeOf methods to not waste space when doing a non-debug build
...
git-svn-id: svn://10.0.0.236/trunk@45397 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:02:16 +00:00
nisheeth%netscape.com
3a74e6a56a
- Added setter for history state to nsIPresShell
...
- Added capture/restore frame state methods to nsIFrameManager
- Added a getter for state type to nsIStatefulFrame.
- Changed the save/restore method parameters in nsIStateful frame
so that only the frame state gets passed to the stateful frame.
- Implemented all the new interface methods in the respective implementation classes.
git-svn-id: svn://10.0.0.236/trunk@45350 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 14:35:50 +00:00
kipp%netscape.com
0bc37f2203
Tally up lineBox's and textRun's seperately
...
git-svn-id: svn://10.0.0.236/trunk@45287 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 04:32:13 +00:00
kipp%netscape.com
c9002f20df
Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
...
git-svn-id: svn://10.0.0.236/trunk@45274 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 03:09:40 +00:00
nisheeth%netscape.com
ab1926c3ac
Added get/set document state API for use by session history.
...
git-svn-id: svn://10.0.0.236/trunk@45214 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:38:58 +00:00
evaughan%netscape.com
060e54bdfa
Numberous fixes
...
git-svn-id: svn://10.0.0.236/trunk@45211 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:32:25 +00:00
kin%netscape.com
7fa5bc2451
Temporary fix for bug #9708 and #12438 .
...
Modified Reflow() to set the scrollbar
dimensions to zero if the scrollbars are hidden.
git-svn-id: svn://10.0.0.236/trunk@45164 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 21:55:02 +00:00
kin%netscape.com
ea9db112f9
Fix for bugs #7153 , #10673 , #12066 , #12067 , and #12793 .
...
editor/base/nsEditorEventListeners.cpp
editor/base/nsEditorEventListeners.h
- Added code to scroll the selection into view
after processing key events.
- Commented out the hack that redraws the entire
view when the focus is gained and lost. Replaced
the hack code with calls to RepaintSelection().
layout/base/public/nsIFrameSelection.h
layout/base/public/nsIPresShell.h
layout/html/base/src/nsPresShell.cpp
- Added ScrollSelectionIntoView() and RepaintSelection() methods.
layout/base/src/nsRangeList.cpp
- Added implementation for ScrollSelectionIntoView() and
RepaintSelection().
- Check for NULL primary frame in GetFocusNodeRect()
to fix bug #12793 .
git-svn-id: svn://10.0.0.236/trunk@45163 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 21:54:40 +00:00
troy%netscape.com
1604aaf744
Changed block frame code to cache the max element width. This enables
...
us to ask for the maxElementSize when doing an incremental reflow
git-svn-id: svn://10.0.0.236/trunk@44957 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 00:39:55 +00:00
kipp%netscape.com
5caf777abe
Added hack code (for me) to allow for stack depth testing
...
git-svn-id: svn://10.0.0.236/trunk@44929 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:50:37 +00:00
kipp%netscape.com
11867185b8
Fixed computation of max-element-size for bug #12384 ; don't compute line-height in this class
...
git-svn-id: svn://10.0.0.236/trunk@44928 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:50:06 +00:00
kipp%netscape.com
6d797d3be3
Shrink down size of nsLineLayout object
...
git-svn-id: svn://10.0.0.236/trunk@44927 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:49:12 +00:00
kipp%netscape.com
9d4d59aea1
Keep trakc of the depth of reflow to allow for limiting stack usage (bug #10310 )
...
git-svn-id: svn://10.0.0.236/trunk@44926 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:48:54 +00:00
kipp%netscape.com
eccd6aa43e
Don't paint frames that are unflowable
...
git-svn-id: svn://10.0.0.236/trunk@44925 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:48:21 +00:00
kipp%netscape.com
4a17fe8915
Added IsFrameTreeTooDeep method to support code handling bug #10310
...
git-svn-id: svn://10.0.0.236/trunk@44924 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:48:06 +00:00
kipp%netscape.com
dd5de649f5
Fixed bug 12451 - use list-style-type when image doesn't load or is loading
...
git-svn-id: svn://10.0.0.236/trunk@44923 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:47:39 +00:00
kipp%netscape.com
ffd939db74
Cache computed width so that during placement of the block we can see if auto margins need recomputing (bug #1164 )
...
git-svn-id: svn://10.0.0.236/trunk@44922 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:47:04 +00:00
kipp%netscape.com
858dd7ad39
Reduce stack size by allocating nsLineLayout objects from the heap when the frame tree depth gets too big (bug #10310 )
...
git-svn-id: svn://10.0.0.236/trunk@44919 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:45:37 +00:00
kipp%netscape.com
d313b06d4d
Reduced the default number of nsBandTrapezoids to reduce stack space used (bug #10310 )
...
git-svn-id: svn://10.0.0.236/trunk@44918 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:44:10 +00:00
evaughan%netscape.com
2d2928d70d
Fixed to gfx scrollbar.
...
Fixed some blockers.
git-svn-id: svn://10.0.0.236/trunk@44760 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 06:06:39 +00:00
pinkerton%netscape.com
3fdfeba79b
remove refs to nsIContentConnector
...
git-svn-id: svn://10.0.0.236/trunk@44749 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 04:30:48 +00:00
troy%netscape.com
e72fb49348
Fix for bug #12449 . Changed UpdateImageFrame() so that if the content object
...
has a NULL document object (the case for generated content) we mark the image
frame dirty and generate a reflow command targeted at the parent frame
git-svn-id: svn://10.0.0.236/trunk@44573 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 23:55:57 +00:00
troy%netscape.com
b6b13618f7
Fix for bug #12444 . Made sure that for a "StyleChanged" reflow command we
...
invalidate our entire bounds
git-svn-id: svn://10.0.0.236/trunk@44557 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 23:15:36 +00:00
mjudge%netscape.com
437cbbc0b4
added in selection of tables/images as blue borders for browser.
...
git-svn-id: svn://10.0.0.236/trunk@44545 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 22:19:23 +00:00
karnaze%netscape.com
ea754a1e94
changed conditional NS_RELEASE to NS_IF_RELEASE to fix memory leak
...
git-svn-id: svn://10.0.0.236/trunk@44537 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:57:15 +00:00
karnaze%netscape.com
42a0e08a9e
bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol
...
git-svn-id: svn://10.0.0.236/trunk@44534 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:49:18 +00:00
jfrancis%netscape.com
2a60fccebc
making nsPresShell and nsDocument support weak references; using weak references to docs and pres shells within the editor
...
git-svn-id: svn://10.0.0.236/trunk@44483 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 10:51:55 +00:00
pinkerton%netscape.com
6eb3a21da9
IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter.
...
git-svn-id: svn://10.0.0.236/trunk@44476 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 08:35:06 +00:00
mjudge%netscape.com
72808fb95e
changes to allow selection in "dead" space between frames. still need work on "outside" and not in the window at all, but this is a very good chunk of the issue and it will solve many many bugs on my place. good for dogfood as well :)
...
git-svn-id: svn://10.0.0.236/trunk@44364 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 21:51:47 +00:00
troy%netscape.com
d4fd1d71b2
Reworked ReparentFrameView() to make it more efficient
...
git-svn-id: svn://10.0.0.236/trunk@44323 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 19:26:03 +00:00
hyatt%netscape.com
f12db0b33c
Fix for editor typing bustage (part 2).
...
git-svn-id: svn://10.0.0.236/trunk@44282 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 10:20:35 +00:00
hyatt%netscape.com
3af8b5569f
Patching an error in the key event handling.
...
git-svn-id: svn://10.0.0.236/trunk@44192 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:42:02 +00:00
troy%netscape.com
d0af2de549
Changed diagnostic code to DEBUG_troy instead of NS_DEBUG so it doesn't
...
slow down all debug builds. Show be done with NSPR loggin instead...
git-svn-id: svn://10.0.0.236/trunk@44100 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 00:37:10 +00:00
jdunn%netscape.com
ac764b5f55
HP requires a newline
...
git-svn-id: svn://10.0.0.236/trunk@43855 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 22:42:36 +00:00
evaughan%netscape.com
e418bae616
Fixed compile bug.
...
git-svn-id: svn://10.0.0.236/trunk@43747 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 23:33:38 +00:00
evaughan%netscape.com
aaf979c0a0
Fix for build error
...
git-svn-id: svn://10.0.0.236/trunk@43740 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:44:06 +00:00
vidur%netscape.com
89bc046b3c
Spaces now stripped from map name for client-side maps. Client-side and server-side imagemaps can now co-exist
...
git-svn-id: svn://10.0.0.236/trunk@43722 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:22:02 +00:00
evaughan%netscape.com
fd72782f13
xpscrollbars
...
git-svn-id: svn://10.0.0.236/trunk@43717 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:16:23 +00:00
ducarroz%netscape.com
e865dd4c3a
Add constructor definition for autocomplete widget
...
git-svn-id: svn://10.0.0.236/trunk@43706 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:10:53 +00:00
ducarroz%netscape.com
a1eb3e7bb7
add some autocomplete atoms
...
git-svn-id: svn://10.0.0.236/trunk@43704 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:10:45 +00:00
rods%netscape.com
591fdc2050
Added a check to see if an outline should drawn, if so, then the damagaed rect needs to be inflated so it gets drawn "outside" the frames area
...
git-svn-id: svn://10.0.0.236/trunk@43620 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:36:47 +00:00
rods%netscape.com
828bda63fb
added PaintOutline to paint CSS outlines to paint method
...
git-svn-id: svn://10.0.0.236/trunk@43619 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:35:48 +00:00