bzbarsky%mit.edu
271b9a66d3
Fix the width computations for the dropdown to actually account for the border
...
and padding. Bug 365837, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218208 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 17:59:41 +00:00
bzbarsky%mit.edu
ad3d5b6079
Notify correctly about legend frames being added -- need to mark all our
...
ancestors as having a dirty child, not just the immediate ancestor. Bug
366537, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218206 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 17:56:25 +00:00
bzbarsky%mit.edu
9e56e89a01
deCOMtaminate nsIFrame::GetMinSize/GetPrefSize/GetMaxSize. Bug 243370, patch
...
by Andreas Lange <anlan@lange.cx>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217973 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 02:57:59 +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
jwatt%jwatt.org
c08a026ac8
Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc
...
git-svn-id: svn://10.0.0.236/trunk@217719 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 10:53:59 +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
9332796f42
Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@217223 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 01:23:45 +00:00
bzbarsky%mit.edu
78cfdd7ca8
Remove the consumers of GetScrollBarDimensions so that we can work on removing
...
the API too. Bug 364301, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217200 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 15:08:34 +00:00
dbaron%dbaron.org
866a194991
Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@216965 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 23:04:57 +00:00
uriber%gmail.com
774e156325
Use the containing block's direction (LTR/RTL) instead of this frame's direction when deciding on default alignment of the frame. bug=328181 r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@216942 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 16:16:25 +00:00
roc+%cs.cmu.edu
95b9c792e0
Bug 344894. Process mContentFrame before mLegendFrame in nsFieldSetFrame::BuildDisplayList, because mContentFrame might have out-of-flow frames whose placeholders are in mLegendFrame and we always need to visit out-of-flow frames before their placeholders while building display lists. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@216829 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 21:53:53 +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
mats.palmgren%bredband.net
428dc5e234
Make sure text input onchange handler is called before onblur. b=357684 r=Olli.Pettay sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@215968 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 13:08:23 +00:00
bzbarsky%mit.edu
ee561228eb
Back out bug 354600 to fix regressions.
...
git-svn-id: svn://10.0.0.236/trunk@215446 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 20:23:56 +00:00
Olli.Pettay%helsinki.fi
08df7735f7
Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply
...
git-svn-id: svn://10.0.0.236/trunk@215370 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:35:39 +00:00
bzbarsky%mit.edu
77b17ef48c
Make block frames that are not kids of blocks automatically have space managers
...
(and margin roots, except in the columns case) so we don't have to play
whack-a-framestate-flag. Bug 354600, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215356 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 17:51:53 +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
masayuki%d-toybox.com
f9d0bdd858
Bug 359496 focus outline on combobox <select>s is always drawn in black r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@214721 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 17:28:39 +00:00
bzbarsky%mit.edu
da39432a29
Fix combobox outlines. Bug 328340, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@214649 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 00:22:31 +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
Olli.Pettay%helsinki.fi
ec1522a216
Bug 328907, Remove selectHas(No)Groups events, r+sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@213080 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-03 20:16:51 +00:00
mats.palmgren%bredband.net
b8a8f64bb5
Make sure we fire onchange also after selectedIndex was set to -1 through DOM. Thanks to Pablo Greco for helping fix this. b=317078 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@212915 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-30 05:07:49 +00:00
bzbarsky%mit.edu
b869f56794
Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@211969 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 04:26:20 +00:00
bzbarsky%mit.edu
8945cce7f6
Remove the business about not knowing our collapsed state at first. We do know
...
it, and we're collapsed. Bug 352394, r=mats, sr=roc
git-svn-id: svn://10.0.0.236/trunk@210092 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-14 00:54:44 +00:00
sayrer%gmail.com
4b8ca2af78
bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@209419 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-08 04:35:17 +00:00
timeless%mozdev.org
46444dd782
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
git-svn-id: svn://10.0.0.236/trunk@208659 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 20:12:37 +00:00
uriber%gmail.com
82db7c90c5
When the control is RTL, align the drop-down with the right edge of the control. bug=203353 r=smontagu sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@207268 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-13 19:34:58 +00:00
Olli.Pettay%helsinki.fi
f45fdfb0d8
Bug 231830, crash on style.display = 'none' for select element when event onchange occurs [@ nsStyleContext::GetRuleNode ][@ nsIFrame::Invalidate ], r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@207128 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-11 12:09:30 +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
bzbarsky%mit.edu
57d2fa8d15
Don't convert non-breaking spaces to spaces in text controls. Bug 218277,
...
patch by jst and jpl24 <jlurz24@gmail.com>, r=bryner, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@206701 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 03:27:49 +00:00
pkasting%google.com
0f0eee34d2
Bug 339127: Add "spellcheck" attribute to control spellchecking.
...
r=brettw
sr=sicking
git-svn-id: svn://10.0.0.236/trunk@205107 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 00:04:40 +00:00
Olli.Pettay%helsinki.fi
3c7e9a9c0c
Bug 345600, Crash [@ nsTextInputListener::UpdateTextInputCommands] using onselect and removing textarea, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@203722 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-26 07:58:18 +00:00
aaronleventhal%moonset.net
27289958a9
Bug 241015. Remote XUL is not accessible. Patch by Alexander Surkov. r=aaronlev. Chrome r='s by neil and mano
...
git-svn-id: svn://10.0.0.236/trunk@203507 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 16:12:08 +00:00
mats.palmgren%bredband.net
bf19436661
Ignore mLegendFrame as previous sibling since it does not live in the content area frame. b=345249 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@203225 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 04:54:51 +00:00
cvshook%sicking.cc
222232fd6a
Fix error in last checkin for bug 344050.
...
git-svn-id: svn://10.0.0.236/trunk@203083 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 08:55:36 +00:00
cvshook%sicking.cc
365266c686
Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
uriber%gmail.com
635bd815f7
Fix bidi behavior of ctrl+backspace and ctrl+del. bug=344226 r=smontagu sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@202304 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 07:28:38 +00:00
sharparrow1%yahoo.com
8a0863dee7
Bug 344471: cleanups for checkbox and radio frames. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@201990 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 05:05:54 +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
jst%mozilla.jstenback.com
e2f9b9dd68
Fixing bug 313337. Make input control onchange events only fire when the change is made by the user, not by script. r=bzbarsky@mit.edu, sr=bugmail@sicking.cc
...
git-svn-id: svn://10.0.0.236/trunk@201614 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-05 22:15:01 +00:00
mats.palmgren%bredband.net
1bbaeed419
Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@201187 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 02:32:36 +00:00
roc+%cs.cmu.edu
a31e732a88
Fixing bustage
...
git-svn-id: svn://10.0.0.236/trunk@199485 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 03:22:44 +00:00
roc+%cs.cmu.edu
e71eeec88a
Bug 339889. Propagate invalidation through the frame hierarchy to topmost widgets. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@199477 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 01:11:43 +00:00
timeless%mozdev.org
7185e837bc
Bug 337917 Make consumers stop using cids from other modules
...
r=smontagu sr=darin
git-svn-id: svn://10.0.0.236/trunk@198973 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:35:59 +00:00
Olli.Pettay%helsinki.fi
fe4e09853e
Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@197990 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:26:44 +00:00
Olli.Pettay%helsinki.fi
e68ad696a2
Bug 336381, Crash [@ nsRange::InsertNode] involving ranges in detached nodes, r=sicking,glazman,sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@196563 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 19:35:12 +00:00
timeless%mozdev.org
9e290713e9
Bug 336975 Function: nsIsIndexFrame::GetEncoder does not dereference "encoder" after assigning to *encoder
...
r=bz sr=bz
git-svn-id: svn://10.0.0.236/trunk@196297 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-11 13:23:55 +00:00
darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
cvshook%sicking.cc
cec9ea1123
Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00