816 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
94b671f457 Remove the dummy layout request off an event, not synchronously, so we don't
fire onload as we're finishing up reflow.  Bug 281157, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169970 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-28 02:27:09 +00:00
kyle.yuan%sun.com
1025bc0739 backout the fix for bug 268513
git-svn-id: svn://10.0.0.236/trunk@169969 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-28 01:08:32 +00:00
bryner%brianryner.com
165fa3ff89 Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@169873 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 22:07:01 +00:00
bzbarsky%mit.edu
2433e8b1ae Don't flush out reflows if we have painting suppressed and something else in
our viewmanager tree is painting.  Bug 282764, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169824 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 04:03:13 +00:00
kyle.yuan%sun.com
1b78abf1f5 Bug 268513 overflow:scroll causes memory growth
r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@169696 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 23:00:23 +00:00
peterv%propagandism.org
0e54b7d14d Fix for bug 281654 (XLink's scroll to the parent of the node that they point to). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@169518 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 09:55:02 +00:00
bzbarsky%mit.edu
ce5f5c101d Add a presshell member to nsCSSFrameConstructor. Remove prescontext and
presshell args from most frame constructor methods; use the state for the
former and the member for the latter.  Bug 281957, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169389 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 16:11:53 +00:00
bzbarsky%mit.edu
4136bc41b4 Remove unnecessary prescontext args on some nsLayoutUtils methods. Bug 281767,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169352 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 06:06:47 +00:00
bzbarsky%mit.edu
57739174b7 Fix crash bug 281424. r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@169186 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-14 20:09:14 +00:00
bzbarsky%mit.edu
807f289552 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs


git-svn-id: svn://10.0.0.236/trunk@168953 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 00:59:52 +00:00
aaronleventhal%moonset.net
943ee86ac3 Backing out fix for bug 249136 because it caused bug 279285
git-svn-id: svn://10.0.0.236/trunk@168848 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-05 17:00:46 +00:00
bzbarsky%mit.edu
33a134e02c Fix event point if the view of the current event frame is different from the
view that the event's point is relative to.  Bug 268352, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168762 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 20:09:45 +00:00
bzbarsky%mit.edu
d261ace52b Make sure to not allow reflow flushes to happen in the middle of scroll
position restoration.  Bug 279786, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168419 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 21:18:30 +00:00
bzbarsky%mit.edu
77e877e706 Change the hack for menus to just process the menugenerated attr change sync to
start with, instead of flushing style reresolves.  Bug 279308, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168418 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 21:17:08 +00:00
bzbarsky%mit.edu
8489f8d24b Flush out reflows before processing invalidates and paint events. Fixes a
variety of flicker issues of various sorts, especially when we're not quite
keeping up with the rate of updates in DHTML or in editor.  Bug 244366 and
various dependencies, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168044 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 03:39:09 +00:00
aaronleventhal%moonset.net
693603d600 Bug 249136. Focus lost when key pressed in newly loading foreground tab. r=bryner, sr=jst
git-svn-id: svn://10.0.0.236/trunk@167889 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-17 14:43:41 +00:00
neil%parkwaycc.co.uk
a9160e16e2 Bug 278546 Unchecked null pointer crash in nsPresShell::GetViewToScroll when pressing an arrow key while the sidebar's Tabs menubutton has focus r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@167851 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-16 21:25:15 +00:00
mats.palmgren%bredband.net
2cfbb74cf5 Improve handling of 'display' property for <noscript>. b=236450 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167206 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 19:37:54 +00:00
neil%parkwaycc.co.uk
b6cfbdda85 Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167161 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 17:26:29 +00:00
bmlk%gmx.de
adcb976e59 remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167045 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-27 15:05:18 +00:00
bmlk%gmx.de
e547c59f49 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167037 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-26 19:48:54 +00:00
dbaron%dbaron.org
4bbdb86a7a Back out 252703 due to Txul / Ts regression.
git-svn-id: svn://10.0.0.236/trunk@166118 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 01:26:20 +00:00
dbaron%dbaron.org
4152e1ae96 Fix theme switching bugs related to insufficient change handling when entry points to themes are stylesheet links (processing instructions or XBL stylesheet elements) or xul:image src attributes by giving the chrome: protocol its own URL implementation that remembers the URL to which the chrome: URL was resolved and uses that resolved URL as part of equality testing. Fix various fastload issues arising from this change. b=252703 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@166102 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 22:39:17 +00:00
smontagu%smontagu.org
9edf6384c3 Bug 263309 PresShell::CompleteMove simulates a mouse click and assumes LTRness, patch by Eyal Rozenberg <eyalroz@technion.ac.il>, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@165899 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-29 20:28:46 +00:00
neil%parkwaycc.co.uk
df2668e776 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
a37e7c24da Don't DisableRefresh() at destruction, since that operates on the whole
viewmanager tree.  Bug 267557, r+sr=roc, a=asa


git-svn-id: svn://10.0.0.236/trunk@165565 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-22 02:59:19 +00:00
aaronleventhal%moonset.net
9faffb9ffc Bug 258514. Clicked anchor with location hash set to element id gives first child anchor focus rectangle & selection not always updated correctly. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@165323 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-12 21:58:12 +00:00
neil%parkwaycc.co.uk
18c53f2f32 Bug 267302 Views should be created by the view manager r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164914 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 15:06:50 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
aaronleventhal%moonset.net
928aa93531 Bug 258514. Click on anchor with location hash sometimes first focusable child a focus rectangle. r=mats, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@164599 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 13:40:25 +00:00
silver%warwickcompsoc.co.uk
f6bb37b6fa Bug 253818 - Remove NS_ASSERTION from PresShell::EndLoad.
r+sr=roc
p=cst@andrew.cmu.edu (Chris Thomas)


git-svn-id: svn://10.0.0.236/trunk@164094 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-20 16:45:38 +00:00
aaronleventhal%moonset.net
2654e96340 Bug 262578. No click to focus css scrollable areas like overflow:scroll, but you can still click there and scroll -- just no focus outline. r=mats, sr=roc
git-svn-id: svn://10.0.0.236/trunk@164004 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-19 02:24:27 +00:00
dbaron%dbaron.org
9d38a27e2e Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc (Relanding since this doesn't seem to be the cause of the Tp regression.)
git-svn-id: svn://10.0.0.236/trunk@163767 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 21:51:00 +00:00
dbaron%dbaron.org
acff620604 Back out 227361 to fix pageload time regression.
git-svn-id: svn://10.0.0.236/trunk@163716 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 05:49:10 +00:00
dbaron%dbaron.org
cfcacefff2 Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@163685 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 22:37:32 +00:00
aaronleventhal%moonset.net
2ed5e7dde3 Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@163639 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 01:12:14 +00:00
roc+%cs.cmu.edu
8ff367d401 Bug 238493. BeginUpdateViewBatch should suppress widget geometry changes and make them happen when the batch ends. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163540 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 20:35:51 +00:00
roc+%cs.cmu.edu
1df6a398e4 Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163455 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 01:39:21 +00:00
aaronleventhal%moonset.net
df1a357353 bug 247323: kbd stops working after visiting oddpost, anything with <iframe src=javascript:1>. r=dbaron, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@162879 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 18:41:15 +00:00
dbaron%dbaron.org
cdd43406c9 Don't allow the user to scroll things that are 'overflow: hidden'. b=259615 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162578 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 04:41:08 +00:00
neil%parkwaycc.co.uk
7903ea1651 Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162561 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 22:25:07 +00:00
dbaron%dbaron.org
7d40175fee Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162387 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-15 19:16:43 +00:00
bzbarsky%mit.edu
068c8b28b1 Fix crash due to text inputs flushing pending restyles while we're in text
control frame code.  Bug 257818, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@162194 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 04:19:58 +00:00
dbaron%dbaron.org
161ac90313 Convert mCurrentEventContent and mCurrentEventContentStack to use nsCOMPtr/nsCOMArray. b=258667 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@162192 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 03:22:46 +00:00
roc+%cs.cmu.edu
d9025f99fb Bug 257916. Move history scroll position save and restore from nsScrollBoxFrame to nsHTML/XULScrollFrame. +sr=dbaron(rubber-stamp)
git-svn-id: svn://10.0.0.236/trunk@162190 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 02:10:29 +00:00
dbaron%dbaron.org
a4ca9058c6 Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162059 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 06:45:59 +00:00
jst%mozilla.jstenback.com
08a3874eb0 Eliminating dead code. Patch by trev@gtchat.de. r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161885 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-07 22:34:02 +00:00
roc+%cs.cmu.edu
25c92b6a90 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@161806 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-06 02:44:43 +00:00
jst%mozilla.jstenback.com
809b317cb3 Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com
git-svn-id: svn://10.0.0.236/trunk@161765 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:28:46 +00:00
neil%parkwaycc.co.uk
32381ec076 Bug 257721 nsPresShell::PostAttributeChange needs to construct its nsAttributeChangeRequest (HandlePostedAttributeChanges was already calling the destructor) r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161653 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 08:56:30 +00:00