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
benjamin%smedbergs.us
7262cdad6d
Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
...
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
sharparrow1%yahoo.com
84d51fb79d
Bug 378129: Consistently pass the right frame to InvalidateInternal. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@224818 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 23:51:13 +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
dbaron%dbaron.org
e81955cfa2
When drawing images, track full source and dest regions (unclipped) or use floats, to avoid rounding problems with advanced image resizing algorithms. b=371434 r=vlad r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@222053 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 00:58:20 +00:00
bugzilla%standard8.demon.co.uk
77037381ed
Bug 373240 Uppercase the VK_* bits for consistency with the rest of the codebase (Dv1, layout) p=Serge Gautherie <sgautherie.bz@free.fr>,r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@222041 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-19 20:00:12 +00:00
Olli.Pettay%helsinki.fi
27faae2f65
Bug 373586 , r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@222032 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-19 10:23:29 +00:00
Olli.Pettay%helsinki.fi
a01e4e1bd7
Backout bug 373586
...
git-svn-id: svn://10.0.0.236/trunk@222029 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-19 08:13:01 +00:00
Olli.Pettay%helsinki.fi
e39d41de6e
Bug 373586 , r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@222026 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-19 06:30:41 +00:00
sharparrow1%yahoo.com
33a123151f
Bug 373381: Rendering of radios/checkboxes with auto width has regressed. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@221862 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-14 02:47:05 +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
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
sharparrow1%yahoo.com
ac106dc516
Bug 370379: Create views less frequently. Stops creating views for -moz-hidden-unscrollable, opacity, fixed backgrounds, and scrollbars, plus removes some unneeded methods from views and view managers. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@220852 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 00:23:42 +00:00
bzbarsky%mit.edu
dfad41fa5a
deCOMtaminate SetBounds(), GetChildBox(), GetNextBox(), GetParentBox(),
...
GetVAlign(), GetHAlign(). Remove GetInset(). Bug 243370, patch by Andreas
Lange <anlan@lange.cx>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220744 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 18:05:14 +00:00
asqueella%gmail.com
76551b6a3c
fix 370967 - crash when focusing the input of an <isindex> and then reloading the document
...
(move the (mInputContent)->RemoveEventListenerByIID call from the destructor to Destroy() so that it actually gets called.)
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220595 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-20 20:25:14 +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
asqueella%gmail.com
36991ec039
bug 370371 - remove nsIImageControlFrame, have the frame set the last clicked point as a property on its mContent instead.
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220514 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 16:49:54 +00:00
martijn.martijn%gmail.com
158f362c3e
Bug 336147 Changing innerHTML for input type=button causes miss-rendering, patch by Ryan Jones, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@220478 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-17 14:14:08 +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
joshmoz%gmail.com
8809958a62
cleanup. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@220133 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-14 21:00:15 +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
Olli.Pettay%helsinki.fi
ba610d02ec
Bug 243370, deCOMtaminate parts of nsIFrame that come from nsIBox, part 2, p=anlan@lange.cx, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219259 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 16:02:42 +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
dbaron%dbaron.org
103e95ab15
Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 04:06:56 +00:00
bzbarsky%mit.edu
ba27ed1b22
Remove some redundant (but not quite identical, hence asserting) logic. Bug
...
367587, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218738 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 04:29:35 +00:00
bzbarsky%mit.edu
d9d0d2a935
Don't do XUL collapsing stuff with HTML text inputs or HTML scrollframes. Bug
...
335628, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218737 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 04:27:31 +00:00
bzbarsky%mit.edu
1c2a9ec997
Fix painting of focus outline for empty <select>s. Bug 362995, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@218561 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 23:17:30 +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
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