328 Commits

Author SHA1 Message Date
mats.palmgren%bredband.net
99b957d891 Call 'RemoveMappingsForFrameSubtree()' before destroying 'mPopupFrames'. b=117984 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@180672 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-20 20:28:02 +00:00
roc+%cs.cmu.edu
aeacb4d477 Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu
d1afb179ba Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
gavin%gavinsharp.com
10fb8add5d Bustage fix #1, remnant from another patch
git-svn-id: svn://10.0.0.236/trunk@177835 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 12:42:34 +00:00
gavin%gavinsharp.com
c08a5451cc Bug 301313 : Remove mPresContext in /layout/forms/, patch by Andreas Lange <mozilla@lange.cx>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@177834 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 12:20:58 +00:00
roc+%cs.cmu.edu
290874fce6 Restoring fix for bug 295571
git-svn-id: svn://10.0.0.236/trunk@174984 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-22 01:38:49 +00:00
roc+%cs.cmu.edu
887b5d232f Backing out fix for bug 295571 to see if that caused Tp hurt
git-svn-id: svn://10.0.0.236/trunk@174969 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 23:22:33 +00:00
roc+%cs.cmu.edu
efe34d1206 Bug 295571. Make sure we resize the combobox dropdown's view and widget if we reflow the combobox while its dropdown is showing. r+sr=dbaron,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@174924 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 04:04:12 +00:00
mats.palmgren%bredband.net
f1ffae0752 Stop trying to observe content changes for the selected option, instead rely on getting a combobox reflow if it changed. b=297389 r+sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@174908 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 00:00:14 +00:00
mats.palmgren%bredband.net
1542a75ce7 Adjust current index of combobox when options are added or removed. b=286170 r+sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@174900 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 23:26:35 +00:00
roc+%cs.cmu.edu
61b5716719 Bug 292656. 'Fully unconstrained' reflows should only depend on the width being unconstrained, since the dropdown layout doesn't depend on the computed height. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@174748 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 02:42:29 +00:00
aaronleventhal%moonset.net
5211cf48fd Bug 289376. Fix description and value for combo boxes. r=louie.zhao, sr=jst. a=asa
git-svn-id: svn://10.0.0.236/trunk@173072 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-05 15:05:34 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
131435cb9a Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@172836 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:57:22 +00:00
bzbarsky%mit.edu
e2e0f7bfab Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172410 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 22:58:35 +00:00
bzbarsky%mit.edu
66359456de Flush out content model construction before messing with the DOM, since we plan
to insert frames into our display frame and putting options in there is a bad
idea.  Bug 289730, r+sr=roc, a=asa


git-svn-id: svn://10.0.0.236/trunk@172028 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 15:31:03 +00:00
mats.palmgren%bredband.net
803edc9a31 Revoke outstanding events before posting a new RedisplayTextEvent to avoid potential out-of-order events which could mean displaying the wrong text. b=288821 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171542 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 22:16:07 +00:00
mats.palmgren%bredband.net
23c6b2b004 Remove code that does not work with outstanding RedisplayText events. b=288821 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171537 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 19:58:40 +00:00
bmlk%gmx.de
e6648c930b fix for build warnings (shadow & strange null pointer treatment) bug 287102 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171160 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-24 18:41:39 +00:00
mats.palmgren%bredband.net
1f48cfd6ec Avoid recursive frame construction by using an event to call ActuallyDisplayText(). b=283117 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@170932 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-21 01:58:17 +00:00
jst%mozilla.jstenback.com
07f72886c9 Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@170153 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-04 02:01:54 +00:00
mats.palmgren%bredband.net
b65e6945b6 Redirect frame insertions during RedisplayText(). b=282607 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@169508 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 23:54:36 +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
smfr%smfr.org
981d5897ee Fix bug 281732: event handling in camino's native popup got broken when screen-relative coordinates in Cocoa widget were fixed (bug 281470), which caused the nsComboboxControlFrame/nsListControlFrame code to start doing mouse capture, and showing the XUL popup. So add a static method, ToolkitHasNativePopup(), and query that (rather than #ifdeffing). r/sr=roc, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@169230 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-16 05:13:16 +00:00
aaronleventhal%moonset.net
a41619de7b Bug 280871. Fix various problems with how we expose HTML and XUL combo boxes via accessibility APIs
git-svn-id: svn://10.0.0.236/trunk@168937 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 23:11:30 +00:00
mats.palmgren%bredband.net
571aea44de Make assignments to DOM 'selectedIndex' change the focused index for lists/comboboxes. b=279868 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168819 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 22:56:13 +00:00
bryner%brianryner.com
3437ee229a Remove nsIPresState (bug 279699). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@168423 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 22:52:53 +00:00
bryner%brianryner.com
2474296ae5 Remove nsIHTMLContent interface (bug 276959). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167619 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 19:45:38 +00:00
bmlk%gmx.de
1b640dbf19 remove forgotten prescontext bug 276719 p=bugmail@q1n.org r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167180 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-02 15:46:53 +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
dbaron%dbaron.org
41499fd2db Fix misspellings of 'pseudo' in comments. Bug 106386. Patch by Alex Vincent <ajvincent@gmail.com>. r=timeless sr=peterv
git-svn-id: svn://10.0.0.236/trunk@166869 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-19 21:45:51 +00:00
aaronleventhal%moonset.net
f1a16fe838 Bug 269212. CSS select:focus outline too large on combobox, extending past the right side. Make sure to FinishAndStoreOverflow() even if returning early from nsComboboxFrame::Reflow(). r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@166058 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 16:17:44 +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
roc+%cs.cmu.edu
7587dd2afc Bug 62384. Invalidate cached height when it's not equal to the current height. r+sr=roc, patch by Hideo Saito.
git-svn-id: svn://10.0.0.236/trunk@162928 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 01:44:29 +00:00
aaronleventhal%moonset.net
ef893ae0a8 Bug 255569. HTML combo box drop downs should not be in tab order. r=neil, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@161935 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-08 19:32:29 +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
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
bmlk%gmx.de
4ea73ea2f9 frames with a percentage based width should report a 0 MEW bug 246999 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@161543 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-31 18:50:40 +00:00
peterv%propagandism.org
ca3bbc8275 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@160598 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 10:22:36 +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
neil%parkwaycc.co.uk
fc3edfffcf Fix regression from bug 244761 so that only user actions will enable onChange after blur b=251833 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@159723 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-23 08:25:44 +00:00
rbs%maths.uq.edu.au
a41b8a61ef Cleanup font usage in form input controls, b=251637, r=jshin, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159562 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 01:05:44 +00:00
roc+%cs.cmu.edu
c820f47543 Bug 251501. Refactor handling where frames get inserted on content insertion. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159417 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 12:02:53 +00:00
peterv%propagandism.org
0a98e68e54 Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
neil%parkwaycc.co.uk
817b0ea605 Bug 245096 Clicking on combo box inhibits change event patch in bug 244761 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@157204 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 23:22:08 +00:00
neil%parkwaycc.co.uk
bd1da66475 Bug 244761 ESC shouldn't change displayed selection also improve consistency of change events for drop-downs r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@157059 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-28 16:25:04 +00:00
bzbarsky%mit.edu
73690f9d73 Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@157037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 22:08:42 +00:00
jst%mozilla.jstenback.com
8e7086deb2 Fixing regression bug 243345. Make nsITextContent::SetText() work with non-null terminated strings, and fix silly mistake in nsComboboxControlFrame::GetIndexOfDisplayArea(). Patch partly by bzbarsky@mit.edu, and partly by myself. r+sr=bzbarsky@mit.edu and jst@mozilla.jstenback.com
git-svn-id: svn://10.0.0.236/trunk@156331 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 01:12:10 +00:00
jst%mozilla.jstenback.com
b91a41077c Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +00:00
tor%cs.brown.edu
fba58fbb27 Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@155393 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 15:21:24 +00:00