1531 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
eefaa620cb Make iframes and objects obey CSS max-width/height and min-width/height if
their sizes are unconstrained.  Bug 181875, r+sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@141192 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 19:28:06 +00:00
mkaply%us.ibm.com
ec948a34ff No bug
r/sr=dbaron
use -moz-fixed instead of Courier for XML error messages so they are always fixed regardless of prefs


git-svn-id: svn://10.0.0.236/trunk@140990 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 19:01:47 +00:00
bryner%netscape.com
11c14d03d4 fix textarea borders for cocoa (bug 200841). r=pinkerton, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@140918 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 21:04:16 +00:00
roc+%cs.cmu.edu
d4ac9a5795 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140858 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:50:57 +00:00
roc+%cs.cmu.edu
9fdb0cfc22 Bug 198479. nsFrameOuterFrame doesn't actually handle CSS 'visibility', just hide its view. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140768 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-06 20:14:54 +00:00
roc+%cs.cmu.edu
4dfef42d7f Bug 197065. Do more complete invalidation on block size changes. r=jkeiser,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140754 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 21:27:45 +00:00
bryner%netscape.com
5a0715030c Fix several problems with aqua form controls:
- don't disable -moz-appearance because the textfield has a transparent background
- don't draw a focus border for buttons, because of an OS bug that causes ugly lines through them
- make sure button text doesn't move when the button is pressed
- make sure buttons don't get a dotted internal focus border
- don't allow colors to be overridden on buttons for now

Also fixes dependencies in gfx/src/mac/Makefile.in. Bug 197094, r=pinkerton, sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@140729 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 23:37:35 +00:00
aaronl%netscape.com
affc2f4d4e Bug 199060. Move most accessibility code out of widget. Merge MSAA-specific and XP accessibility object hierarchies into one tree of objects. Paves way for XP accessibility caching, more stability, and it's just better. r=kyle, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140501 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 20:02:51 +00:00
bzbarsky%mit.edu
05bc13b022 Make scrollDelay settable; make height/width attrs work on standards-mode
pages. Bug 197461, r=doron, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@139598 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 06:58:17 +00:00
mkaply%us.ibm.com
72af02be10 OS/2 only - oops - don't modify XUL buttons in here
git-svn-id: svn://10.0.0.236/trunk@139414 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 01:50:41 +00:00
bryner%netscape.com
a40b1536d0 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@139317 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 04:57:33 +00:00
mkaply%us.ibm.com
79e305eac8 Better fix for 168391 from dbaron
git-svn-id: svn://10.0.0.236/trunk@139113 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 21:32:39 +00:00
aaronl%netscape.com
60b1c05bf1 Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@139051 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 23:07:00 +00:00
mkaply%us.ibm.com
b42d65abce #168391
r=pedemont, sr=blizzard (platform specific)
OS/2 only - only inherit font famly, not other stuff


git-svn-id: svn://10.0.0.236/trunk@138919 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 03:56:35 +00:00
bryner%netscape.com
c44337949a Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu
8b9d8cd100 Make %-height kids of fieldsets do the right thing. Bug 191135, r=jkeiser,
sr=roc+moz, a=asa


git-svn-id: svn://10.0.0.236/trunk@137777 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 19:09:04 +00:00
bzbarsky%mit.edu
967f0132fe Don't use quirky box-sizing for image inputs. Bug 191967, r+sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@137775 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 19:02:28 +00:00
timeless%mozdev.org
f104e2ff56 Bug 156405 Tabbed browsing frequently crashes Mozilla - Trunk M130A [@ nsXULWindow::ContentShellAdded]
patch by bsmedberg@covad.net r=roc+moz, sr=roc+moz, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@137216 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 21:31:48 +00:00
bzbarsky%mit.edu
d017e2b06c Make sure we drop native theming of form controls in various situations when we
need to.  Bug 184359 and its dependencies (171598, 181490, 184218, 185708,
188785, 189907, 190610).  Patch by tim@prismelite.com (Tim Hill), r=bryner,
sr=bzbarsky, a=asa


git-svn-id: svn://10.0.0.236/trunk@137191 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 10:21:52 +00:00
bernd.mielke%snafu.de
b28c0284b2 enable color for <hr> borders bug 38370 r=hixie sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136231 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 12:10:11 +00:00
dbaron%dbaron.org
a569c670f5 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
bryner%netscape.com
6278746fdf Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
dbaron%dbaron.org
c278517282 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136010 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:19:10 +00:00
bzbarsky%mit.edu
223f64687a bug 187428 -- cursor should just inherit down to images within links instead of
being set explicitly.  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@135862 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 19:05:14 +00:00
bzbarsky%mit.edu
1852e5070f Make more inputs use border-box sizing in standards mode, since that's what IE6
does in standards mode.  Keep quirks sizing as it was. Bug 184478, r=jkeiser,
sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@135853 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 05:18:50 +00:00
dbaron%fas.harvard.edu
ffb8d9cca7 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
git-svn-id: svn://10.0.0.236/trunk@135757 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 23:53:20 +00:00
caillon%returnzero.com
8a1bf17a45 Re-landing these because I don't believe this are responsible for the Txul spike.
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@135125 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:05:41 +00:00
caillon%returnzero.com
d751688cb9 Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
git-svn-id: svn://10.0.0.236/trunk@135111 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:11:02 +00:00
caillon%returnzero.com
6b60a8affb Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@135068 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:41:12 +00:00
bzbarsky%mit.edu
0258e6972f Fix crash if a site overrides one of our "magic" rules. Make some of the rules
!important, make nsViewportFrame a containing block no matter what the CSS
says. Bug 181692, r=karnaze, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@134425 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 23:40:58 +00:00
bernd.mielke%snafu.de
d89ffec36a Initialize text-indent at the table boundary, this cuts inheritance of text-indent inside tables. plus removal of a conflicting border specification bug 140682 r=hixie sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134366 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 17:56:44 +00:00
bzbarsky%mit.edu
462e73c79e <button> should not have preformatted whitespace. Bug 55285, r=jkeiser, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@134071 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 03:34:49 +00:00
peterlubczynski%netscape.com
9979a08e6e Fixing bug 173938 with a hack for full-page plugins to be destroyed before the frame. r=av sr=jst
git-svn-id: svn://10.0.0.236/trunk@134037 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-18 07:48:10 +00:00
dbaron%fas.harvard.edu
307f43b5a1 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
bzbarsky%mit.edu
263a259da7 Fix regression in rendering buttons that people manually size to less
than desired size.  Bug 180085, r=jkeiser, sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@133980 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 19:32:49 +00:00
bzbarsky%mit.edu
87e0051c3e Align text inputs, buttons, comboboxes to baseline with respect to the
text around them (bug 167236).  Fix width sizing issues for <input
type="button/reset/submit"> (bugs 79927, 36364).  Fix nonuniform heights
of form controls (bug 70251).  Patch is on bug 167236, r=jkeiser,
sr=roc+moz, moa=rods


git-svn-id: svn://10.0.0.236/trunk@133674 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:17:51 +00:00
bernd.mielke%snafu.de
63c27e6db9 Implement for table captions caption-side: left and right, also <caption align="left"> and right, further vertical-align:top, middle and bottom for table captions bug 3166 r=karnaze sr=kin
git-svn-id: svn://10.0.0.236/trunk@133384 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 05:29:34 +00:00
bzbarsky%mit.edu
24e5e9dd08 disabled selects should still take the colors the page sets. Bug
177569, r=jkeiser, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@133196 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 21:35:36 +00:00
bzbarsky%mit.edu
1e7cef8072 line-height settings should not affect internal layout of form
controls.  Bug 82265, r=jkeiser, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@133078 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 02:12:18 +00:00
jaggernaut%netscape.com
3961099bb6 Bug 171274: check parent shell type for primary content frames. r=dbaron, sr=jst, a=drivers
git-svn-id: svn://10.0.0.236/trunk@132475 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 00:00:54 +00:00
akkana%netscape.com
2557fc84c3 176505: Fix composer/mail compose regression, back out jag. a=blizzard & #mozilla
git-svn-id: svn://10.0.0.236/trunk@132467 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 19:58:36 +00:00
jaggernaut%netscape.com
5bc0accd00 Bug 171274: check shell type for primary content frames. r=/sr=jst,hyatt, a=drivers
git-svn-id: svn://10.0.0.236/trunk@132443 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 04:32:20 +00:00
seawood%netscape.com
f9eb727003 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
bzbarsky%mit.edu
10a3e31964 Fix bug 168737 -- two-byte-encoded pages got no syntax highlighting.
r=caillon, sr=rbs, a=asa.


git-svn-id: svn://10.0.0.236/trunk@131844 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 23:46:11 +00:00
roc+%cs.cmu.edu
91eaac234c Bug 171802. Make sure views are initialized with the right properties! r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@130921 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 21:45:33 +00:00
jkeiser%netscape.com
f2d14853a0 Back out bug 167236 due to regressions 171214 and 171465
git-svn-id: svn://10.0.0.236/trunk@130791 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 10:22:06 +00:00
jkeiser%netscape.com
8697a6f032 Make buttons line up correctly with textboxes again (bzbarsky's patch, bug 171214), r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@130707 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-29 02:55:24 +00:00
jkeiser%netscape.com
d59bc1b4f8 Align input type=text/radio/checkbox/button so that text is on baseline (bzbarsky's patch, bug 167236), r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@130554 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 00:04:22 +00:00
hyatt%netscape.com
f4af415247 More 169373 goodness.
git-svn-id: svn://10.0.0.236/trunk@130232 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 05:38:30 +00:00
hyatt%netscape.com
231ada71e5 Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
git-svn-id: svn://10.0.0.236/trunk@130192 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 01:03:38 +00:00