150 Commits

Author SHA1 Message Date
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
aaronleventhal%moonset.net
8d953e2a0a Bug 251614. Get rid of black squares on input type=submit buttons and return focus appearance to normal. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@160219 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 14:15:51 +00:00
bzbarsky%mit.edu
61611d381f Instead of setting inline style for every text input's anonymous div, have a
rule in forms.css to set the style.  Bug 243588, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@156425 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-15 05:09:37 +00:00
bzbarsky%mit.edu
598f949492 Let pages set explicit line-height on textarea if they want to. Bug 243100, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156173 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-09 19:42:53 +00:00
bzbarsky%mit.edu
9e5c0504eb Don't allow text in a combobox to wrap. Bug 206937, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155358 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-22 22:20:29 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
varga%nixcorp.com
d7c38982c0 Fix for bug 234740. <fieldset> default view is nicer under IE
r+sr=dbaron patch by aha


git-svn-id: svn://10.0.0.236/trunk@153700 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-08 20:57:31 +00:00
bzbarsky%mit.edu
4c0aeaa73b Set text-indent:0 on all form controls to keep it from inheriting down to the
anonymous blocks inside.  Bug 56253, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@149323 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-14 23:00:56 +00:00
bzbarsky%mit.edu
0c68306303 Fix bug 101320 -- padding on small border-box sizing things with non-auto
widths is not a good idea.  Very old patch by rods, r=bzbarsky (now),
sr=attinasi (then).  Did I mention this patch is old?


git-svn-id: svn://10.0.0.236/trunk@149061 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-09 07:40:09 +00:00
bzbarsky%mit.edu
0f24116727 Make <select size="0"> act like <select size="1">, and some tweaks to make
<select size="1" multiple> work better.  Bug 182681, patch idea from
the_great_spam_bin@yahoo.com (Ari), r=bryner, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147287 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 05:44:51 +00:00
dbaron%dbaron.org
c997dd0ad0 Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@146973 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 22:09:18 +00:00
bsmedberg%covad.net
1b71e7ac3e Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
git-svn-id: svn://10.0.0.236/trunk@146844 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 17:55:56 +00:00
bzbarsky%mit.edu
4f63a75a74 Move to the double-'::' notation for various pseudo-elements.
Bug 211657, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@144534 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 21:57:01 +00:00
dbaron%dbaron.org
fdcaf9d022 Specify 'word-spacing: normal; letter-spacing: normal' for input and textarea so that 'word-spacing' and 'letter-spacing' on ancestors of text inputs don't mess up the spacing inside. b=209615 r=jkeiser sr=bz
git-svn-id: svn://10.0.0.236/trunk@143807 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 18:01:51 +00:00
roc+%cs.cmu.edu
dad14022d0 Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@142738 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 01:46:13 +00:00
neil%parkwaycc.co.uk
43ff870e5d Bug 190281 Focus doesn't skip disabled inputs properly r=aaronl sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@142007 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-01 10:42:33 +00:00
bzbarsky%mit.edu
8a2051dddd Fix sizing of disabled buttons to match enabled ones. Bug 147463,
r=jkeiser, sr=roc+moz, a=asa


git-svn-id: svn://10.0.0.236/trunk@141941 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-29 18:45:51 +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
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
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
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
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
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
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
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
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