131 Commits

Author SHA1 Message Date
joshmoz%gmail.com
b1e595f3b3 remove camino-specific CSS from forms.css. b=381539 r=cbarrett sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226799 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 19:44:01 +00:00
joshmoz%gmail.com
e2b41a002e this camino-only CSS is no longer necessary after bug 370282 landed. r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@226602 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-18 03:15:04 +00:00
masayuki%d-toybox.com
605efe68cb Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226522 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 15:51:39 +00:00
joshmoz%gmail.com
2a04b6e4c6 Use small control type for radio buttons and checkboxes in HTML. On Windows and Linux this has no effect because small and normal are the same thing, but it means we can differentiate on Mac OS X where they are not. b=380056 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@226204 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 19:17:18 +00:00
joshmoz%gmail.com
9194c9b997 Differentiate between single line and multiline text fields/areas so that we can render them differently. On Mac OS X render multiline text areas as Aqua text areas. b=377331 r=smorgan sr=roc
git-svn-id: svn://10.0.0.236/trunk@226018 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 02:06:59 +00:00
joshmoz%gmail.com
ed9e12c278 remove duplicate line of a CSS rule from forms.css. r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225313 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 01:51:47 +00:00
stuart.morgan%alumni.case.edu
e24bdae7f5 Bug 377110: Strip unnecessary rules from Camino-only forms.css. r=josh sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224476 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 23:02:37 +00:00
axel%pike.org
4f0bf16965 bug 361583, start using Preprocessor.py instead of preprocessor.pl in building Minefield, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@224402 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-11 16:35:03 +00:00
masayuki%d-toybox.com
7aac338174 Bug 335394 We should remove support for the 'invert' value ifdef MOZ_CAIRO_GFX r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@221918 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-15 16:16:20 +00:00
joshmoz%gmail.com
ec2f566245 fix chrome button heights, fix some native button rendering issues, clean up some CSS. b=371080 r=mano sr=vlad
git-svn-id: svn://10.0.0.236/trunk@221025 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-27 21:54:52 +00:00
joshmoz%gmail.com
6c7f3fb225 cocoa native text fields draw outside bounds, have incorrect border/padding setup. b=370593 r=smorgan sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@220416 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 18:18:48 +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
mozilla.mano%sent.com
f78b767b00 Bug 355354 - [Mac] native-styling for html content should be enabled only in Camino builds. r=josh, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@213152 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-05 07:05:58 +00:00
joshmoz%gmail.com
566b017cc1 fix image overlayed on select widgets in cocoa widgets. patch by Philippe Wittenbergh. b=350973 r=josh sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@213101 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-04 06:23:49 +00:00
cvshook%sicking.cc
a55f9fd9d1 Back out patch from bug 324501 as this is not the right fix. r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@207033 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-10 04:16:29 +00:00
mats.palmgren%bredband.net
8e6d4194c5 Add float:none and position:static !important for <option> and <optgroup>. b=343510 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@203632 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-25 16:16:30 +00:00
nick.kreeger%park.edu
d463bf7579 Fix bug 324501, Search field input box renders with unnecessary boder. Patch by Smokey Ardisson <alqahira@mindspring.com> r=Chris Lawson, sr=smfr, dveditz=branch approval 1.8.0 and 1.8.1. Landing 1.8.0, 1.8, and trunk.
git-svn-id: svn://10.0.0.236/trunk@199946 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 03:45:42 +00:00
uriber%gmail.com
1ed23fcb6e Bug 333243: Options inside <optgroup>s in RTL <selects>s are not indented. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@194454 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 07:39:46 +00:00
uriber%gmail.com
622758e82b Bug 326123: Add 1px horizontal padding to the anonymous div in text inputs and textareas. r=dbaron sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@189488 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 18:03:04 +00:00
mark%moxienet.com
7787f3ef80 323265 Disabled <input type="image"> has opaque/white background in Camino. Patch by Chris Lawson <bugzilla@chrislawson.net>. r=smorgan sr=smfr a/1.8.1=josh. 322828 File upload widget flickers when styled with font size. Patch by Wevah <mozilla@derailer.org>. r=sardisson sr=smfr a/1.8.1=josh
git-svn-id: svn://10.0.0.236/trunk@188827 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 04:35:02 +00:00
uriber%gmail.com
0c97107395 Bug 323040: RTL <select>s have incorrect horizontal padding. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@187881 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 06:45:53 +00:00
mark%moxienet.com
791295acd7 315203 <select> elements are transparent, background color shows through (Camino). 282941 margin on input[type="image"] breaks layout (Camino). Patch by Smokey Ardisson <alqahira@mindspring.com>. r=pink sr=smfr
git-svn-id: svn://10.0.0.236/trunk@187013 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-05 20:59:34 +00:00
gerv%gerv.net
76529f3fd6 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@185990 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 13:25:40 +00:00
bzbarsky%mit.edu
a2fcff918d Fix bug 315264, in a kinda-hacky way. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@184219 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-06 19:38:43 +00:00
bzbarsky%mit.edu
d490f00b7b Remove the dummy frame stuff from selects. Replace it with smarter focus rect
painting and sizing for empty selects.  Bug 314879, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@184162 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 23:36:27 +00:00
roc+%cs.cmu.edu
967cecfd9b Bug 258875. Make a file upload control's textbox be read-only and take it out of the tab order. Clicking on the textbox will open the filepicker. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@181339 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 22:01:54 +00:00
bzbarsky%mit.edu
bfc8c03ee8 Fix bug 307256, bug 307304, bug 307924 by disabling selection for XUL elements
by default.  r+sr=dbaron, with OKs from Neil and mconnor for the general idea
and the xul.css changes.


git-svn-id: svn://10.0.0.236/trunk@179996 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 19:22:57 +00:00
bsmedberg%covad.net
e907b43768 Bug 305767 - Allow a different marker character for preprocessing CSS files - r=hixie+mconnor
git-svn-id: svn://10.0.0.236/trunk@179041 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 12:49:37 +00:00
timeless%mozdev.org
6ba293a233 Bug 138403 text-align:left; for submit Button does not work
patch by martijn.martijn@gmail.com r=bz sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@176032 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 18:53:08 +00:00
cvshook%sicking.cc
57bf09cc27 Bug 296764: Move html keybindings to chrome to make sure they work even with js turned off
r=bsmedberg sr=jst a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@175355 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 22:41:59 +00:00
smfr%smfr.org
409beef04c Fix camino bug 298111: improve appearance of select and textarea form controls for Cocoa widgets (all inside #idef for Cocoa: only affects Camino). r=pinkerton, sr=me.
git-svn-id: svn://10.0.0.236/trunk@175105 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 19:32:54 +00:00
ginn.chen%sun.com
4e0213be41 Bug 260399 disabled textarea/input should use DEFAULT pointer
r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@171552 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 10:35:50 +00:00
mats.palmgren%bredband.net
d5dcb62486 Fix a few -moz-outline* problems and drop the prefix.
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@171246 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-27 11:36:08 +00:00
bzbarsky%mit.edu
8ea6ea6226 Put the quirky 1em bottom margin on forms only in quirks mode. Bug 41806,
patch by Anne van Kesteren <bug@annevankesteren.nl>, r=bzbarsky, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@169355 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 06:13:28 +00:00
bzbarsky%mit.edu
bd426af5a7 Fix percent heights of kids of fieldsets at the expense of height:inherit. Bug
240571, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168607 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 02:51:37 +00:00
aaronleventhal%moonset.net
07e4b5c6c0 Bug 279496. Can't copy and paste in text area. r=mats, sr=bz
git-svn-id: svn://10.0.0.236/trunk@168382 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 13:10:20 +00:00
aaronleventhal%moonset.net
c7b28dcb82 Bug 256003. Remove -moz-user-focus from html.css, forms.css, ua.css. It's been deprecated from use in HTML. Patch by Martijn Wargers. r=bryner, sr=roc
git-svn-id: svn://10.0.0.236/trunk@168182 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-23 03:48:00 +00:00
dbaron%dbaron.org
5096bc252b Use preprocessor instead of separate files for platform-specific parts of forms.css. b=272151 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@165932 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 06:04:04 +00:00
smontagu%smontagu.org
ba8768a8b1 Make form controls, scroll boxes and columns inherit "unicode-bidi" correctly. Also force file inputs to have left-to-right directionality. Bug 267459, r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@165628 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 09:42:23 +00:00
bzbarsky%mit.edu
874f1be4cf Factor out the code to insert a frame into the right childlist (used for
handling out-of-flows) into a function on the frame constructor state.  Enforce
some invariants via !important rules in html.css instead of hacking them into
the code.  Bug 263406, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164482 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 01:34:22 +00:00
bzbarsky%mit.edu
09bf6e10e5 Create a GetGeometricParent() function and make people use it instead of
(incorrectly, usually) rolling their own.  Bug 191151, initial cut of patch by
jkeiser back when, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@163044 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:39:28 +00:00
mats.palmgren%bredband.net
4424e43f2f Allow styling of SELECT border. b=244370 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162414 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-15 21:17:37 +00:00
mats.palmgren%bredband.net
1cbbbb7f10 Make 'letter-spacing' take effect in file input control. b=252863 r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162184 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 22:46:56 +00:00
dbaron%dbaron.org
3956b19b41 Backing out bug 167001, which I should not have reviewed without more careful consideration.
git-svn-id: svn://10.0.0.236/trunk@162168 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 19:32:50 +00:00
smontagu%smontagu.org
0abf27ba72 Bug 167001, Anything below the baseline goes out of input field. Patch by Masayuki Nakano, masayuki@d-toybox.com; r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@162131 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 05:44:33 +00:00
dbaron%dbaron.org
09307f3c9f Back out text input changes from bug 72747.
git-svn-id: svn://10.0.0.236/trunk@161742 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 03:17:18 +00:00
dbaron%dbaron.org
76aef2c246 Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161732 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 23:22:15 +00:00
dbaron%dbaron.org
dcf4bae71a Back out the rest of bug 72747 due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
ed6372cf2f Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
mats.palmgren%bredband.net
ccc2d90fde Added font-size:inherit to optgroup, so that the select font-size affects options. b=185098 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@160497 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-08 18:44:09 +00:00