Cleaned up nsFrame class declaration a bit.
Added some API entries to nsIMenuFrame in support of type="radio"'s
pick-one behaviour.
Renamed UpdateMenuChecked to UpdateMenuSpecialState.
Removed stale string-splitting code in CreateAnonymousContent.
(r=hyatt,mcafee)
git-svn-id: svn://10.0.0.236/trunk@50957 18797224-902f-48f8-a5cc-f745e15eee43
Space optimization. mBorderEdges is no longer an embedded object. Now it's
allocated when needed (for collapsing border model tables only). This saves
80 bytes per table cell frame for the normal HTML case of adjacent border
model
git-svn-id: svn://10.0.0.236/trunk@50941 18797224-902f-48f8-a5cc-f745e15eee43
Save 4 bytes by eliminating the mCalculated data member which wasn't being used
git-svn-id: svn://10.0.0.236/trunk@50923 18797224-902f-48f8-a5cc-f745e15eee43
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
git-svn-id: svn://10.0.0.236/trunk@50919 18797224-902f-48f8-a5cc-f745e15eee43
r=vidur
Also added namespace ID to the AttributeChanged method
Part of the fix for Bug 15153
r=troy
git-svn-id: svn://10.0.0.236/trunk@50886 18797224-902f-48f8-a5cc-f745e15eee43
Fix for Bug 15153
r=pierre
Also added namespace ID to the AttributeChanged method
r=troy
git-svn-id: svn://10.0.0.236/trunk@50885 18797224-902f-48f8-a5cc-f745e15eee43
r vidur@netscape.com
d The issue was resolved by DOM commitie to allow SplitText to give an error
only on if the start of split is larger than the length. If it is same lenght
it is allowed.
git-svn-id: svn://10.0.0.236/trunk@50878 18797224-902f-48f8-a5cc-f745e15eee43
Converted small pile of PRBool to PRPackedBool for space savings.
r=hyatt
git-svn-id: svn://10.0.0.236/trunk@50849 18797224-902f-48f8-a5cc-f745e15eee43
r=rods@netscape.com
also did some associated performance work, factoring code and collapsing multiple listener
objects down to 1. This saves a few allocations and about 60 bytes per text control.
bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood approved, but the fix has been sitting in my tree for 2 weeks
git-svn-id: svn://10.0.0.236/trunk@50825 18797224-902f-48f8-a5cc-f745e15eee43
r=hyatt@netscape.com
not dogfood approved, but the fix has been sitting in my tree for 2 weeks
git-svn-id: svn://10.0.0.236/trunk@50824 18797224-902f-48f8-a5cc-f745e15eee43
r=hyatt@netscape.com
not dogfood, but the fix has been sitting in my tree for 2 weeks
git-svn-id: svn://10.0.0.236/trunk@50823 18797224-902f-48f8-a5cc-f745e15eee43
this fixes bug #7133. It has been compiled and tested on Win, Mac, and Linux.
r=buster,dcone
git-svn-id: svn://10.0.0.236/trunk@50821 18797224-902f-48f8-a5cc-f745e15eee43
r=troy@netscape.com,kipp@netscape.com,evaughan@netscape.com,beard@netscape.com
layout/html/base/src/nsGfxScrollFrame.cpp
- Renamed all occurrences of ScrollPositionChanged() to
to ScrollPositionDidChange() to match changes made
to nsIScrollPositionListener.
- Added ScrollPositionWillChange() stub method.
layout/html/base/src/nsPresShell.cpp
- Added PresShellViewEventListener class that implements the
nsIScrollPositionListener and nsICompositeListener view
interfaces. This allows us to turn caret rendering on and off
when scrolling and repainting to prevent leaving caret cruft
on the screen.
- PresShellViewEventListener is created in InitialReflow(), and
released in ~PresShell().
view/public/Makefile.in
view/public/makefile.win
view/public/MANIFEST
- Added nsICompositeListener to list of files to be exported.
view/public/nsICompositeListener.h
- New file. Implementers of this interface can register themselves
with the view manager to receive notification before and after
a view is composited/refreshed.
view/public/nsIScrollPositionListener.h
- Added a ScrollPositionWillChange() method.
- Changed ScrollPositionChanged() to ScrollPositionDidChange().
view/public/nsIViewManager.h
- Added AddCompositeListener() and RemoveCompositeListener methods.
view/src/nsScrollingView.cpp
view/src/nsScrollingView.h
- Added NotifyScrollPositionWillChange() and
NotifyScrollPositionDidChange() methods.
- Modified HandleScrollEvent() to call NotifyScrollPositionWill/DidChange()
methods. Added temporary offsetX and offsetY variables to allow us
to calculate new offsets without changing mOffsetX and mOffsetY before
notifications are sent out.
view/src/nsScrollPortView.cpp
- Changed ScrollPositionChanged() to ScrollPositionDidChange().
- Modified ScrollTo() to call the listener's ScrollPositionWillChange()
method.
view/src/nsViewManager.cpp
view/src/nsViewManager.h
- Added AddCompositeListener() and RemoveCompositeListener() methods.
- Added support for CompositeListener notifications in the Refresh()
methods for regions and rects.
- Fix for bug #15901: [DOGFOOD] Selected text does not clear when you type
Modified UpdateView() so that rects with zero width and height are
no longer added to our damage region.
r=beard@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50786 18797224-902f-48f8-a5cc-f745e15eee43
Part of a fix for crash when expanding/collapsing toolbars. Change to
DeletingFrameSubtree() to make sure it examines the additional child
list as well as the principal child list
git-svn-id: svn://10.0.0.236/trunk@50772 18797224-902f-48f8-a5cc-f745e15eee43
Re-implemented DST code to use separate objects for leaf nodes and
internal nodes. This reduces the per node size from 16 bytes to (on
average) 13 bytes per node
git-svn-id: svn://10.0.0.236/trunk@50768 18797224-902f-48f8-a5cc-f745e15eee43
Eliminated member data mIsContentEmpty and now we use a frame state bit
instead. This saves 4 bytes of space per table cell frame
git-svn-id: svn://10.0.0.236/trunk@50767 18797224-902f-48f8-a5cc-f745e15eee43
Use <titledbutton>, not <div>, for accelerator text to fix alignment
and improve performance _ever_ so slightly.
Initial support for checked menus (needs more magic).
(r=hyatt)
git-svn-id: svn://10.0.0.236/trunk@50737 18797224-902f-48f8-a5cc-f745e15eee43