221 Commits

Author SHA1 Message Date
reed%reedloden.com
cf9c2a7620 Bug 409587 - "input[type="file"] cropped when narrow width specified" [p=kinetik@flim.org (Matthew Gregan) r+sr=roc a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@242601 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-07 22:18:06 +00:00
reed%reedloden.com
3a6465fa17 Bug 363696 - "Crash [@ nsHTMLReflowState::ComputeContainingBlockRectangle] with file upload control in xul" [p=kinetik@flim.org (Matthew Gregan) r=bzbarsky sr=roc a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@239959 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-27 03:35:50 +00:00
aaronleventhal%moonset.net
94761c472a Bug 385070. Accessible subtrees for anonymous content need to be shut down. Patch by Evan Yan. r=aaronlev, r+sr=roc for layout part, a=dsicor
git-svn-id: svn://10.0.0.236/trunk@239742 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-20 20:39:37 +00:00
Evan.Yan%Sun.COM
33d406ae8a back out patch of bug 385070 which broke accessible tree, to make
nightly build safe


git-svn-id: svn://10.0.0.236/trunk@239531 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-16 09:12:59 +00:00
aaronleventhal%moonset.net
7726b232c1 Bug 385070. Nodes in anonymous content trees that are hidden not being shut down. Patch by Evan Yan. r=aaronlev, r+sr=roc, a=mconnor
git-svn-id: svn://10.0.0.236/trunk@239515 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-16 01:38:46 +00:00
neil%parkwaycc.co.uk
23304f0ec3 Bug 399968 Back out some parts from bug 258875 that have no effect r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@237902 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 08:51:28 +00:00
aaronleventhal%moonset.net
27463ea0c8 bug 397644. File control not exposed correctly to a11y apis. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@236818 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 01:09:14 +00:00
bzbarsky%mit.edu
890ca46349 When a file has already been selected, correctly prefill the filepicker with
that file.  Bug 374013, r+sr=sicking, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@232058 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-14 18:42:10 +00:00
bzbarsky%mit.edu
3524c6eee1 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@231323 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 18:08:07 +00:00
bzbarsky%mit.edu
85b795adfa Update the visual look of a file input when privileged script sets its value.
Bug 387978, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@229943 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 04:46:09 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
mats.palmgren%bredband.net
fd18364353 Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229301 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 02:15:35 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0 backout Bug 363089
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
bzbarsky%mit.edu
116d69628c Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.


git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
dbaron%dbaron.org
32d54152c9 Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220874 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 18:33:33 +00:00
mats.palmgren%bredband.net
fd8fe96280 Make nsFileControlFrame, nsIsIndexFrame and nsLegendFrame QI to kBlockFrameCID. b=370933 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@220859 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 04:42:53 +00:00
asqueella%gmail.com
11bad405e3 bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@220517 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 17:34:09 +00:00
sharparrow1%yahoo.com
db1730f015 Bug 370303: Cleanup in layout/forms. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220186 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 10:58:31 +00:00
smontagu%smontagu.org
a2b9c77fed Remove obsolete state bit NS_BLOCK_SHRINK_WRAP. Bug 369243, r=bz, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@220168 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 05:07:57 +00:00
mats.palmgren%bredband.net
394b6ebb90 OnChange is sometimes triggered for scripted changes. b=265047 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@217827 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 16:31:07 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
1ca9f3f372 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
9fa229d896 Additional tweak to the patch for bug 355931 -- fix QI too.
git-svn-id: svn://10.0.0.236/trunk@215230 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 22:20:39 +00:00
bzbarsky%mit.edu
a141643e32 Don't use frames to implement interfaces, dammit. Just don't! Bug 355931, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215229 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 22:05:25 +00:00
bzbarsky%mit.edu
4fe7e728a5 When setting the textfield value via the filepicker, tell it that it's not
focused so that onchange will fire as it should.  Bug 355362, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@213672 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-15 15:39:35 +00:00
smontagu%smontagu.org
e3caee4f08 Remove unnecessary hack for right-to-left file inputs. Bug 346726, r=uriber, sr=roc
git-svn-id: svn://10.0.0.236/trunk@206706 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 06:31:55 +00:00
mats.palmgren%bredband.net
14e56648c0 Remove the special painting code for a 165-twips checkbox. Move the remaining parts of nsFormControlHelper to its consumers and remove nsFormControlHelper.{cpp,h} from the tree. b=343495 r+sr=roc (r=me on roc's part)
git-svn-id: svn://10.0.0.236/trunk@201677 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 10:43:51 +00:00
cvshook%sicking.cc
ea199784e9 Bug 334977. Separate mFileName from mValue. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@195344 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 09:18:42 +00:00
roc+%cs.cmu.edu
b6ebd9961d Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
roc+%cs.cmu.edu
140fbb3377 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
pavlov%pavlov.net
b5c7a440ef backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
bzbarsky%mit.edu
fae3f2c95b Add comment as promised; still bug 326019.
git-svn-id: svn://10.0.0.236/trunk@189053 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 22:27:58 +00:00
bzbarsky%mit.edu
9c52465218 Fix bug 326019. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@189049 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 22:08:10 +00:00
bzbarsky%mit.edu
35162da718 Make sure to always produce our value. Bug 324377, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@188866 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 18:45:01 +00:00
roc+%cs.cmu.edu
df8627e29b Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
dbaron%dbaron.org
5feaef5f29 Give the extra reflow state a correct parent so it doesn't confuse the auto-offset code. b=317502 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@186352 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-21 03:31:47 +00:00
roc+%cs.cmu.edu
6c53a55208 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@185980 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 00:57:56 +00:00
roc+%cs.cmu.edu
74858f37ce Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185977 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 23:53:06 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
timeless%mozdev.org
a05383ef1b Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
roc+%cs.cmu.edu
c4e0410c6e Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
cvshook%sicking.cc
b26f9f52fb Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
roc+%cs.cmu.edu
967cecfd9b Bug 258875. Make a file upload control's textbox be read-only and take it out of the tab order. Clicking on the textbox will open the filepicker. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@181339 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 22:01:54 +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
c3d2c5e7a2 Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@179800 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 16:49:21 +00:00
bzbarsky%mit.edu
9104cb9303 Make frames know whether they're leaves or not from the frame construction
point of view; use this in the frame constructor.  Bug 265367, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@177914 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 22:52:48 +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