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
bryner%brianryner.com
ae9e02402a
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.
...
git-svn-id: svn://10.0.0.236/trunk@161637 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 03:08:51 +00:00
aaronleventhal%moonset.net
ef3f8b9010
Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161578 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 14:58:34 +00:00
bryner%brianryner.com
ffa6c10070
Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc).
...
git-svn-id: svn://10.0.0.236/trunk@161569 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 05:16:00 +00:00
bryner%brianryner.com
43628f9edf
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.
git-svn-id: svn://10.0.0.236/trunk@161442 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-29 03:08:44 +00:00
bryner%brianryner.com
ff2bc0b69e
Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@161182 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-24 18:50:29 +00:00
bryner%brianryner.com
2ac3245dec
Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction)
...
git-svn-id: svn://10.0.0.236/trunk@161116 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 07:10:50 +00:00
bryner%brianryner.com
0501b2872a
Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@161115 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 04:58:44 +00:00
bryner%brianryner.com
03c6a8279c
Backing out bug 253888 until I can figure out how to fix the crash
...
git-svn-id: svn://10.0.0.236/trunk@161097 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 06:27:54 +00:00
bryner%brianryner.com
e49f4fa38e
Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@161096 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 05:09:50 +00:00
jst%mozilla.jstenback.com
daf8d7f24a
Fixing bug 198254. Fix crash when closing javascript created window. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@160932 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-18 22:13:10 +00:00
bzbarsky%mit.edu
bc3dc7ebe0
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
git-svn-id: svn://10.0.0.236/trunk@160587 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 03:24:41 +00:00
mats.palmgren%bredband.net
c3b56c8527
Fix keyboard scrolling for elements using overflow:scroll by scrolling the nearest scrollable view from the caret. b=251986 r=roc sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@160447 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-06 15:55:17 +00:00
neil%parkwaycc.co.uk
0bbab9b402
Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@160395 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 11:38:42 +00:00
bryner%brianryner.com
736c955c54
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
dbaron%dbaron.org
59572fab24
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
...
git-svn-id: svn://10.0.0.236/trunk@159965 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 07:08:41 +00:00
dbaron%dbaron.org
4fe0d9c583
Reframe all image box frames on theme change, as a workaround for chrome: URL comparison mess. b=252703 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159936 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-27 23:31:08 +00:00
roc+%cs.cmu.edu
3687f1ad35
Bug 217120. Make the scroll position restoration logic in nsPresShell actually use the right scroll and scrollbox frames. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@159918 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-27 18:16:10 +00:00
cbiesinger%web.de
b27e0031f5
Bug 252948 remove *WithConversion in layout
...
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@159832 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-25 12:18:04 +00:00
roc+%cs.cmu.edu
56a1f1002d
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
...
git-svn-id: svn://10.0.0.236/trunk@159746 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-23 21:39:47 +00:00
cbiesinger%web.de
9ab54454e8
Bug 113243 Get rid of (Compare|Equals)WithConversion
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@159612 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 20:18:39 +00:00
dbaron%dbaron.org
24cd030914
Add null-check. b=226791 r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@159450 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 21:55:24 +00:00
dbaron%dbaron.org
33a6ecdc76
Restore ReResolveMenusAndTrees code, which is needed for theme switching. b=226791 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159412 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 01:16:27 +00:00
aaronleventhal%moonset.net
68db552d54
Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@159341 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net
aac51e9f0b
Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
...
git-svn-id: svn://10.0.0.236/trunk@159268 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net
c361ea9f16
Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@159196 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:58:34 +00:00