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
e6dfc5e889
Make file input frames correctly store their value in the content node even if
...
the whole presentation is coming down. Bug 287120, r=sicking, sr=jst, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172813 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 17:11:22 +00:00
bzbarsky%mit.edu
dad862ec1c
Make text control state restoration work right even in subframes loaded from a
...
different website. Bug 287446, r+sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172725 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-26 03:31:29 +00:00
roc+%cs.cmu.edu
037ed527e7
Bug 291443. Listboxes should always direct mouse capture to their scrolled frame, to ensure that events reach the DOM event listener. r+sr=bzbarsky,a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@172722 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-26 03:14:38 +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
roc+%cs.cmu.edu
242a80aa53
Bug 289179. Fix regression by having nsTextControlFrame find its scrollable view again. r+sr+a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171822 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 20:50:58 +00:00
ginn.chen%sun.com
4e0213be41
Bug 260399 disabled textarea/input should use DEFAULT pointer
...
r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171552 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 10:35:50 +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
roc+%cs.cmu.edu
c504b2c5ee
Bug 287592. Make buttons return the correct overflow area from reflow. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171416 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 02:19:48 +00:00
roc+%cs.cmu.edu
3b6fa5f822
Bug 287338. Free up unused frame state bit NS_SYNC_FRAME_AND_VIEW. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171281 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-28 21:08:22 +00:00
mats.palmgren%bredband.net
d5dcb62486
Fix a few -moz-outline* problems and drop the prefix.
...
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171246 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-27 11:36:08 +00:00
aaronleventhal%moonset.net
67424635be
Bug 287390. Problems with accessibility of image, submit, reset and file control buttons. r=pkwarren, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@171243 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-27 03:03:11 +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
ginn.chen%sun.com
d4a631b933
Bug 262236 Can't select listitems which are not next to.
...
patch=neo.liu at sun.com, r=aaronleventhal sr=neil
git-svn-id: svn://10.0.0.236/trunk@170356 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 03:05:03 +00:00
roc+%cs.cmu.edu
b22eed2277
Bug 267037. Buttons should delegate child frames to the wrapped block, and tell the style system that legends are always blocks. Fixes a couple of crashes. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@170308 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 19:08:26 +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
bryner%brianryner.com
0e2b73e3fb
Fix autocomplete in message compose by making oninput start off enabled, and just disabling it within SetValue. Bug 282645, r= (and lots of ideas from) neil, sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@170069 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-02 01:19:19 +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
bzbarsky%mit.edu
952aaf5063
Setting selectedIndex should clear all "previous value" state so that onchange
...
won't fire unless the user actually changes the value from the one set by
setting selectedIndex. r=mats, sr=roc, a=roc
git-svn-id: svn://10.0.0.236/trunk@169304 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-17 04:29:37 +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
bryner%brianryner.com
15e54a9461
Don't dispatch oninput events when the value of an input is changed programatically. This prevents unwanted opening of the autocomplete popup when a username is prefilled. Bug 272002, r+sr=bzbarsky, a=caillon.
...
git-svn-id: svn://10.0.0.236/trunk@169224 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-15 23:14:42 +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
bryner%brianryner.com
7de757ef1d
Remove unneeded nsIFrameLoader interface (bug 280992). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@168946 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 23:53:47 +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
bzbarsky%mit.edu
2bea98552c
Remove prescontext args for some nsIFrame methods
...
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land. Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:58:25 +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
mats.palmgren%bredband.net
a0cf4a2fbd
If text is scrolled out-of-view to the left and there is room for it to be visible then scroll it in to view. b=268352 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168816 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 21:56:07 +00:00
bzbarsky%mit.edu
a42f09bc20
Make fieldsets return false for CanPaintBackground, since they don't paint it
...
over their whole rect. Bug 277313, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@168681 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 00:32:11 +00:00
dbaron%dbaron.org
16f4991e84
Put the null-check *before* the crash it's supposed to prevent (which timeless saw, somehow).
...
git-svn-id: svn://10.0.0.236/trunk@168616 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 07:35:20 +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
mats.palmgren%bredband.net
0299a01715
Make Fieldset reparent its children correctly and trigger a reflow when needed. Fix a couple of sizing/invalidation problems in Reflow(). b=276104 r=bzbarsky sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@168270 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 00:06:38 +00:00
cvshook%sicking.cc
12f074b44e
Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
...
r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@168269 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 00:02:58 +00:00
aaronleventhal%moonset.net
9cc5baf69d
Attempt to fix Neil's bustage
...
git-svn-id: svn://10.0.0.236/trunk@167968 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-19 03:34:38 +00:00
neil%parkwaycc.co.uk
e717d9b1f9
Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@167959 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-18 23:46:59 +00:00
mats.palmgren%bredband.net
9c18d9f96a
Add NS_FRAME_INDEPENDENT_SELECTION to ListControlFrame (and children) and skip such frames (TextControlFrame also) in GetContentAndOffsetsFromPoint() when the point is only "near" (not inside) the frame. b=268497 r=bzbarsky sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167833 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-16 18:44:01 +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
mats.palmgren%bredband.net
fc17bec870
Propagate NS_FRAME_HAS_CHILD_WITH_VIEW to the area frame. b=276236 r=bzbarsky sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167195 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 07:27:11 +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
mats.palmgren%bredband.net
bb956e086b
Swap the order between the legend and area frames in a fieldset to fix selection and tabbing problems. b=236071 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@167179 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-02 14:30:24 +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
bugzilla%arlen.demon.co.uk
e4daffa10a
Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
...
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167124 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-31 01:13:27 +00:00
cbiesinger%web.de
a8dbace73d
38447 layout,content,dom and xpwidget part: Implement Handling of URI Values on
...
CSS "cursor" Properties
for dom,layout,content: r+sr=bz
for widget: r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@167117 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-30 21:56:11 +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
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
dbaron%dbaron.org
13decbac15
Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@166823 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 20:40:48 +00:00