Commit Graph

2042 Commits

Author SHA1 Message Date
neil@parkwaycc.co.uk
954ec4a8a9 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc 2004-11-24 00:19:21 +00:00
bzbarsky@mit.edu
f1231e7822 Don't DisableRefresh() at destruction, since that operates on the whole
viewmanager tree.  Bug 267557, r+sr=roc, a=asa
2004-11-22 02:59:19 +00:00
aaronleventhal@moonset.net
c76ea8b69c 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 2004-11-12 21:58:12 +00:00
neil@parkwaycc.co.uk
524edd3289 Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:06:50 +00:00
darin@meer.net
41edd4cd6e eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
aaronleventhal@moonset.net
66e8e90552 Bug 258514. Click on anchor with location hash sometimes first focusable child a focus rectangle. r=mats, sr=bryner 2004-10-29 13:40:25 +00:00
silver@warwickcompsoc.co.uk
126cd58b09 Bug 253818 - Remove NS_ASSERTION from PresShell::EndLoad.
r+sr=roc
p=cst@andrew.cmu.edu (Chris Thomas)
2004-10-20 16:45:38 +00:00
aaronleventhal@moonset.net
e0371835c9 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 2004-10-19 02:24:27 +00:00
dbaron@dbaron.org
7ca8ce491a 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.) 2004-10-14 21:51:00 +00:00
dbaron@dbaron.org
f2af82a059 Back out 227361 to fix pageload time regression. 2004-10-14 05:49:10 +00:00
dbaron@dbaron.org
e711dfbacf 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 2004-10-13 22:37:32 +00:00
aaronleventhal@moonset.net
a46e51a5da Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs 2004-10-13 01:12:14 +00:00
roc+@cs.cmu.edu
0572b07763 Bug 238493. BeginUpdateViewBatch should suppress widget geometry changes and make them happen when the batch ends. r+sr=bzbarsky 2004-10-11 20:35:51 +00:00
roc+@cs.cmu.edu
6fe6fe7e87 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 2004-10-09 01:39:21 +00:00
aaronleventhal@moonset.net
a6afe626c4 bug 247323: kbd stops working after visiting oddpost, anything with <iframe src=javascript:1>. r=dbaron, sr=bryner 2004-09-28 18:41:15 +00:00
dbaron@dbaron.org
1b13fcd284 Don't allow the user to scroll things that are 'overflow: hidden'. b=259615 r+sr=roc 2004-09-21 04:41:08 +00:00
neil@parkwaycc.co.uk
6d93ca9f7e Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc 2004-09-20 22:25:07 +00:00
dbaron@dbaron.org
920f5aef1e Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc 2004-09-15 19:16:43 +00:00
bzbarsky@mit.edu
a4e40c232f Fix crash due to text inputs flushing pending restyles while we're in text
control frame code.  Bug 257818, r+sr=dbaron
2004-09-13 04:19:58 +00:00
dbaron@dbaron.org
8db900840b Convert mCurrentEventContent and mCurrentEventContentStack to use nsCOMPtr/nsCOMArray. b=258667 r+sr=jst 2004-09-13 03:22:46 +00:00
roc+@cs.cmu.edu
4481c13282 Bug 257916. Move history scroll position save and restore from nsScrollBoxFrame to nsHTML/XULScrollFrame. +sr=dbaron(rubber-stamp) 2004-09-13 02:10:29 +00:00
dbaron@dbaron.org
de930a6ef8 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 2004-09-10 06:45:59 +00:00
jst@mozilla.jstenback.com
77d5a51447 Eliminating dead code. Patch by trev@gtchat.de. r+sr=jst@mozilla.org 2004-09-07 22:34:02 +00:00
roc+@cs.cmu.edu
4b8c28dfbf Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine 2004-09-06 02:44:43 +00:00
jst@mozilla.jstenback.com
41fea915d1 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 2004-09-04 19:28:46 +00:00
neil@parkwaycc.co.uk
167fd57bf1 Bug 257721 nsPresShell::PostAttributeChange needs to construct its nsAttributeChangeRequest (HandlePostedAttributeChanges was already calling the destructor) r+sr=roc 2004-09-02 08:56:30 +00:00
bryner@brianryner.com
314059c81d deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc. 2004-09-02 03:08:51 +00:00
aaronleventhal@moonset.net
ebf9d98a96 Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc 2004-09-01 14:58:34 +00:00
bryner@brianryner.com
ec6f36a174 Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc). 2004-09-01 05:16:00 +00:00
bryner@brianryner.com
5ad343526a More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
bryner@brianryner.com
0a85106bba Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
bryner@brianryner.com
8e70e22f41 Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction) 2004-08-22 07:10:50 +00:00
bryner@brianryner.com
e894651189 Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-22 04:58:44 +00:00
bryner@brianryner.com
07ff6116c8 Backing out bug 253888 until I can figure out how to fix the crash 2004-08-21 06:27:54 +00:00
bryner@brianryner.com
d485fa5edc Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron. 2004-08-21 05:09:50 +00:00
jst@mozilla.jstenback.com
846972da5a Fixing bug 198254. Fix crash when closing javascript created window. r+sr=bzbarsky@mit.edu 2004-08-18 22:13:10 +00:00
bzbarsky@mit.edu
621a4651e8 Do style reresolves and restyles due to attribute changes asynchronously so
that pages that modify two or more style properties of the same object in a row
work faster.  Bug 230170, r+sr=dbaron
2004-08-10 03:24:41 +00:00
mats.palmgren@bredband.net
c17e7d41df Fix keyboard scrolling for elements using overflow:scroll by scrolling the nearest scrollable view from the caret. b=251986 r=roc sr=dbaron 2004-08-06 15:55:17 +00:00
neil@parkwaycc.co.uk
1e77310f88 Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron 2004-08-05 11:38:42 +00:00
bryner@brianryner.com
8fc0179c66 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner@brianryner.com
6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner@brianryner.com
15745b0b06 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
dbaron@dbaron.org
08d6baff75 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky 2004-07-28 07:08:41 +00:00
dbaron@dbaron.org
c7c8c95397 Reframe all image box frames on theme change, as a workaround for chrome: URL comparison mess. b=252703 r+sr=bzbarsky 2004-07-27 23:31:08 +00:00
roc+@cs.cmu.edu
ee26481321 Bug 217120. Make the scroll position restoration logic in nsPresShell actually use the right scroll and scrollbox frames. r+sr=dbaron 2004-07-27 18:16:10 +00:00
cbiesinger@web.de
dbeac20231 Bug 252948 remove *WithConversion in layout
r+sr=bz
2004-07-25 12:18:04 +00:00
roc+@cs.cmu.edu
038bba5645 Bug 217120. Always make an attempt to scroll to history position after restoring scroll position in EndLoad, just in case no reflows happen again. r+sr=dbaron 2004-07-23 21:39:47 +00:00
cbiesinger@web.de
0ebb036f79 Bug 113243 Get rid of (Compare|Equals)WithConversion
r+sr=roc
2004-07-21 20:18:39 +00:00
dbaron@dbaron.org
e62c79d3f8 Add null-check. b=226791 r+sr=bryner 2004-07-18 21:55:24 +00:00
dbaron@dbaron.org
0314b10a83 Restore ReResolveMenusAndTrees code, which is needed for theme switching. b=226791 r+sr=bzbarsky 2004-07-18 01:16:27 +00:00