radha%netscape.com
d98fdec7b0
Fix for bug 156312. onScroll events fire when scroll doesn't happen. r=saari sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@130443 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 21:29:33 +00:00
pete.zha%sun.com
1fcff5a387
Browser crash when close print preview in a page has fixed DIV
...
bug=163800, this patch is to backout previou checkin for this bug to reslove layout regression
r=rods@netscape.com sr=roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@130342 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 11:53:20 +00:00
pinkerton%netscape.com
b5a217a980
make sure |increment| attribute change notification is sent for horiz scrollbars too. oops ;) (bug 161365, r=bryner/sr=sfraser).
...
git-svn-id: svn://10.0.0.236/trunk@130152 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 14:50:43 +00:00
pinkerton%netscape.com
5cd9f54b08
make sure |increment| attribute change notification is sent. fixes bug where native scrollbars wouldn't know the increment so up/down arrows didn't work (bug 161365, r=bryner/sr=sfraser).
...
git-svn-id: svn://10.0.0.236/trunk@129971 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 22:38:23 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
mjudge%netscape.com
2f5c006a1d
4302 r=jfrancis sr=kin. pageup/down bug with navigation.
...
git-svn-id: svn://10.0.0.236/trunk@128157 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:55:30 +00:00
roc+%cs.cmu.edu
c6bb83f66a
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
pete.zha%sun.com
9202c4a93e
Browser crash when close print preview in a page has fixed DIV
...
bug=163800 r=rods sr=jst
git-svn-id: svn://10.0.0.236/trunk@127758 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-21 08:56:58 +00:00
jkeiser%netscape.com
325bff7164
Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
...
@netscape.com, sr=bzbarsky@mit.edu , a=asa
git-svn-id: svn://10.0.0.236/trunk@125891 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:57:24 +00:00
dbaron%fas.harvard.edu
ed7d78f9fd
Ensure that scroll position listeners are properly unregistered. b=114221 sr=waterson r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@124828 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 04:30:28 +00:00
radha%netscape.com
392fbcdca7
Fix for bug # 35011. r=jst sr=kin. window.onscroll and element.onscroll don't fire.
...
git-svn-id: svn://10.0.0.236/trunk@123722 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 21:47:59 +00:00
jaggernaut%netscape.com
b506de82e7
Back out changes for bug 35011 (context menu, ctrl+key, page-up/down all stopped working in browser).
...
git-svn-id: svn://10.0.0.236/trunk@123576 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 12:37:57 +00:00
radha%netscape.com
374aa80972
Fix for bug # 35011. window.onscroll and element.onscroll don't fire. r=joki sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@123536 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 23:01:48 +00:00
karnaze%netscape.com
49e0a9f4cb
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +00:00
jst%netscape.com
0e34136ef1
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
dbaron%fas.harvard.edu
1e850f52c6
Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@118715 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:49:30 +00:00
bryner%netscape.com
01634657fa
- Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
...
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.
Bug 128947, r=dbaron, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +00:00
dcone%netscape.com
8944f478a1
b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off.
...
git-svn-id: svn://10.0.0.236/trunk@114597 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 14:48:12 +00:00
rods%netscape.com
ccd0e3e698
Fixes the problem where PrintPreview is getting multiple Initial reflows
...
and includes a minor optimization when resizing the view during box layout
Bug 118968 r=attinasi sr=hyatt a=brendan
git-svn-id: svn://10.0.0.236/trunk@112569 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 02:53:02 +00:00
brade%netscape.com
5639df86ad
remove unused statics kWidgetCID, kScrollingViewCID, kViewCID saving 48 bytes (bug 117927; rs=glazou)
...
git-svn-id: svn://10.0.0.236/trunk@111692 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:38:01 +00:00
dcone%netscape.com
9fbb0ab01d
bug = 117072. r=rods sr=attinasi. set the paintbackground to true before paint. Fixes paint preview.
...
git-svn-id: svn://10.0.0.236/trunk@111571 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 14:58:52 +00:00
hyatt%netscape.com
f9a19ba7cd
Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@110648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:51:39 +00:00
waterson%netscape.com
b6978c3e09
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@110644 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:39:59 +00:00
sfraser%netscape.com
d35e1fa18c
Fix for bug 115162 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@110496 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:13:08 +00:00
karnaze%netscape.com
65fe290a5b
bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
...
git-svn-id: svn://10.0.0.236/trunk@108053 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
068756d821
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
karnaze%netscape.com
4ff0e5cecb
bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@106524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 01:43:59 +00:00
dbaron%fas.harvard.edu
8b3489a026
Bug 86947:
...
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow). Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed. Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106224 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 01:08:40 +00:00
hyatt%netscape.com
ab0e4e56d4
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@106100 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:01:09 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
waterson%netscape.com
6a8ba73bf2
Bug 73235. Don't add scrollbar's width to MES. r=attinasi, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@103973 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 20:53:21 +00:00
karnaze%netscape.com
1540a4c12e
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
hyatt%netscape.com
4f51638ef4
Fix for 95475. r=jag, sr=ben, a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00
bryner%netscape.com
7da361b479
Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +00:00
hewitt%netscape.com
64041e826c
93193 - cleaning up after align/pack xul box model changes, r=blake, sr=hyatt, 90741 - replacing box with hbox/vbox (from andersma@luther.edu), r=hewitt, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@100349 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-04 06:21:59 +00:00
bratell%lysator.liu.se
4ae0c150dd
Bug 91669 - use AppendInt instead of sprintf to convert from number to nsString. r=dbaron, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@100198 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 12:12:53 +00:00
jaggernaut%netscape.com
2b3b3b2586
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
hyatt%netscape.com
b7b1cb3691
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
...
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
timeless%mac.com
f36e2887f3
Bugzilla Bug 80634 Program received signal SIGSEGV, Segmentation fault.
...
Bullet-proofing patch + ASSERT. rs=shaver
git-svn-id: svn://10.0.0.236/trunk@94927 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 03:12:08 +00:00
roc+%cs.cmu.edu
9a09592520
Fix calculation of scrollbar widths for laying out fixed-position frames. Also make sure that the fixed frames are reflowed if scrollbar widths change. Fix for bug 5195. r=evaughan,sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@92482 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 01:45:38 +00:00
erik%netscape.com
4b577b6b22
bug 75040; author=simon@softel.co.il; r=evaughan; sr=erik; diffs from IBM
...
bidi project (e.g. Arabic, Hebrew)
git-svn-id: svn://10.0.0.236/trunk@92012 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 23:04:11 +00:00
disttsc%bart.nl
f69c0e7cd8
bug 73339: Remove NS_ConvertToString (just another name for NS_ConvertASCIItoUCS2) from the tree. r=jst, sr=scc
...
git-svn-id: svn://10.0.0.236/trunk@90514 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 11:17:17 +00:00
heikki%netscape.com
26d94ba9b0
Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@87383 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:50:04 +00:00
rods%netscape.com
a6e0d47c5a
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
waterson%netscape.com
1e7a248bab
Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@80717 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 03:08:41 +00:00
rayw%netscape.com
d9228441a4
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
evaughan%netscape.com
fb2845a33e
Fix for bug #51780
...
-r pinkerton
git-svn-id: svn://10.0.0.236/trunk@78893 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:19:11 +00:00
dbaron%fas.harvard.edu
3b9c9e465a
Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+)
...
git-svn-id: svn://10.0.0.236/trunk@75882 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 12:51:05 +00:00