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
roc+%cs.cmu.edu
cb8c6e3a11
Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc
...
git-svn-id: svn://10.0.0.236/trunk@231012 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:03:31 +00:00
bzbarsky%mit.edu
43d165c801
Avoid doing some work when initializing textfields. Bug 221150, patch by
...
peterv and a little bit me, r=me, sr=roc
git-svn-id: svn://10.0.0.236/trunk@230820 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 00:11:23 +00:00
Olli.Pettay%helsinki.fi
e21cc9e7c8
Bug 355367, textbox onchange doesn't fire if user tabs out and value changed in onkeydown, r=jst, sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@230399 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 23:19:19 +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
peterv%propagandism.org
6dccfe3ea8
Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@229697 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 13:05:06 +00:00
mrbkap%gmail.com
0f2e50a177
Backing out this change to see if it fixes the test failures.
...
git-svn-id: svn://10.0.0.236/trunk@229576 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-09 23:05:44 +00:00
mrbkap%gmail.com
f073d03512
Attempt to re-enable async reflow and painting in editor. bug 174823, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@229573 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-09 21:55:18 +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
bzbarsky%mit.edu
5b50f03234
Fix bug 387154 -- rendering of narrow buttons (for which we need to scoot the
...
text over to the left) regressed. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@229460 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-07 00:48:29 +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
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
aaronleventhal%moonset.net
19e7b69cf6
Fixing bustage
...
git-svn-id: svn://10.0.0.236/trunk@228047 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 13:47:23 +00:00
aaronleventhal%moonset.net
ce9ef4fb31
Bug 384265. No accessible focus events fired during incremental find in an HTML <select>. r=mats, sr=neil
...
git-svn-id: svn://10.0.0.236/trunk@228046 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 13:18:16 +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
45b1135f52
clean up unused methods and virualized methods in nsButtonFrameRenderer. Patch by Rob Arnold. b=315347 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226907 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 20:32:56 +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
1788f844d4
Make computed style handle "normal" for line-height by computing an actual
...
numeric height. Bug 371041, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225943 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 05:30:10 +00:00
dbaron%dbaron.org
03a83ad9f2
Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@225554 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 23:11:02 +00:00
bzbarsky%mit.edu
d2d337437c
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
...
GetShellAt(0) to using this API. Bug 378780. API introduction part by me,
r+sr=jst. Mass-changes done by taras using squash, r+sr=me
git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +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
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