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
bzbarsky%mit.edu
120bd0f922
Fix parent style context warnings by being consistent about parent contexts.
...
Bug 380116, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@228164 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-16 05:11:20 +00:00
joshmoz%gmail.com
a0823a7996
don't let comboboxes render their labels over the native combobox button on Mac OS X. b=382043 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@227136 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-29 05:31:05 +00:00
joshmoz%gmail.com
2d8394f491
don't add scrollbar width to getPrefWidth in nsComboboxControlFrame if the themed widget has set the internal button width to 0. b=381669 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226897 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 19:16:27 +00:00
joshmoz%gmail.com
c36c8cb71d
Don't paint the background for the text frame in comboboxes if the combobox is themed. b=381268 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226797 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 19:42:01 +00:00
joshmoz%gmail.com
1ecbf501ec
don't put a dropmarker in comboboxes if nsITheme says not to. b=370282 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226601 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-18 03:04:05 +00:00
mats.palmgren%bredband.net
e14885ac03
Protect against frame destruction during event handling and document when that can occur. b=378670 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@226572 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-17 11:12:31 +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
ba5badedcb
Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
...
the method, instead of setting them before calling the method. That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children. This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.
git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
bzbarsky%mit.edu
9e011d6aac
Fixing build bustage
...
git-svn-id: svn://10.0.0.236/trunk@225951 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:37:05 +00:00
bzbarsky%mit.edu
c9d1ba7b1a
Don't cut off the right-hand side of empty comboboxes. Bug 364510, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@225949 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:20:10 +00:00
bzbarsky%mit.edu
c3f6f64793
Make assertion reflect reality better. Bug 357044, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@225062 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 01:17:05 +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
joshmoz%gmail.com
78d4f44ff6
remove app-specific code from tier-9 code. add a pref to handle native popup windows on Mac OS X instead. b=323062 r=smorgan sr=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@222655 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 19:51:52 +00:00
Olli.Pettay%helsinki.fi
6de13cdbca
375196, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@222385 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 05:38:22 +00:00
bzbarsky%mit.edu
c6883a6983
Make the display frame resize correctly when the <select>'s width changes. Bug
...
370422, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@221058 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 03:04:38 +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
bzbarsky%mit.edu
ee4ee8ea0b
Make blocks whose ancestors are not blocks have the NS_BLOCK_MARGIN_ROOT and
...
NS_BLOCK_SPACE_MGR bits as necessary. Bug 354600, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220533 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 23:53:25 +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
joshmoz%gmail.com
e7da86e63d
extend nsITheme to support native focus drawing. b=370549 r=dbaron sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@220364 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 01:53:43 +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
sharparrow1%yahoo.com
948ceb9772
Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@219988 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-12 19:31:59 +00:00
sharparrow1%yahoo.com
dd459d0a71
Bug 177805: Fix the use of units in Gecko. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
bzbarsky%mit.edu
78ccec5f86
Remove some no longer needed code. Bug 368273, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@219168 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 05:52:27 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
343ced44ba
Make mComputedWidth private, with a getter/setter, and make the setter update
...
the resize flags. Bug 367442, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218933 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:05:12 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
roc+%cs.cmu.edu
02b50c231a
Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@195412 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 02:01:07 +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
dbaron%dbaron.org
9911a9b756
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +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