Граф коммитов

163 Коммитов

Автор SHA1 Сообщение Дата
uriber%gmail.com 811a61a06e Bug 326123: Add 1px horizontal padding to the anonymous div in text inputs and textareas. r=dbaron sr=bzbarsky 2006-02-09 18:03:04 +00:00
mark%moxienet.com 965f7e18f1 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 2006-02-03 04:35:02 +00:00
uriber%gmail.com 7ace7af7a3 Bug 323040: RTL <select>s have incorrect horizontal padding. r+sr=dbaron 2006-01-20 06:45:53 +00:00
mark%moxienet.com 18e7b7ce3a 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 2006-01-05 20:59:34 +00:00
gerv%gerv.net 5956d34127 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-13 13:25:40 +00:00
bzbarsky%mit.edu 308c992f1b Fix bug 315264, in a kinda-hacky way. r+sr=dbaron 2005-11-06 19:38:43 +00:00
bzbarsky%mit.edu d777663fe3 Remove the dummy frame stuff from selects. Replace it with smarter focus rect
painting and sizing for empty selects.  Bug 314879, r+sr=dbaron
2005-11-04 23:36:27 +00:00
roc+%cs.cmu.edu 69d1e6fc62 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 2005-09-30 22:01:54 +00:00
bzbarsky%mit.edu bcad5934f1 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.
2005-09-11 19:22:57 +00:00
bsmedberg%covad.net 7445dc3000 Bug 305767 - Allow a different marker character for preprocessing CSS files - r=hixie+mconnor 2005-08-26 12:49:37 +00:00
timeless%mozdev.org 7028a5e748 Bug 138403 text-align:left; for submit Button does not work
patch by martijn.martijn@gmail.com r=bz sr=bz a=asa
2005-07-13 18:53:08 +00:00
cvshook%sicking.cc 0e9ae70de9 Bug 296764: Move html keybindings to chrome to make sure they work even with js turned off
r=bsmedberg sr=jst a=bsmedberg
2005-06-29 22:41:59 +00:00
smfr%smfr.org 51a9606263 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. 2005-06-24 19:32:54 +00:00
ginn.chen%sun.com 8eb0a2c4cc Bug 260399 disabled textarea/input should use DEFAULT pointer
r+sr=bzbarsky
2005-04-04 10:35:50 +00:00
mats.palmgren%bredband.net 78343a58c1 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
2005-03-27 11:36:08 +00:00
bzbarsky%mit.edu 2ff9654c6f 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
2005-02-18 06:13:28 +00:00
bzbarsky%mit.edu 9f398856f9 Fix percent heights of kids of fieldsets at the expense of height:inherit. Bug
240571, r+sr=roc
2005-02-01 02:51:37 +00:00
aaronleventhal%moonset.net 843ab05ace Bug 279496. Can't copy and paste in text area. r=mats, sr=bz 2005-01-27 13:10:20 +00:00
aaronleventhal%moonset.net e20fafca39 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 2005-01-23 03:48:00 +00:00
dbaron%dbaron.org 10efb45442 Use preprocessor instead of separate files for platform-specific parts of forms.css. b=272151 r+sr=bryner 2004-11-30 06:04:04 +00:00
smontagu%smontagu.org 835b927b77 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. 2004-11-23 09:42:23 +00:00
bzbarsky%mit.edu 8ed40532bb 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
2004-10-27 01:34:22 +00:00
bzbarsky%mit.edu c9f57ef686 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
2004-09-30 22:39:28 +00:00
mats.palmgren%bredband.net 2ad2efc0a1 Allow styling of SELECT border. b=244370 r+sr=bzbarsky 2004-09-15 21:17:37 +00:00
mats.palmgren%bredband.net 357f6511f2 Make 'letter-spacing' take effect in file input control. b=252863 r=bzbarsky sr=dbaron 2004-09-12 22:46:56 +00:00
dbaron%dbaron.org ed550ca2e5 Backing out bug 167001, which I should not have reviewed without more careful consideration. 2004-09-12 19:32:50 +00:00
smontagu%smontagu.org 7e5b251b94 Bug 167001, Anything below the baseline goes out of input field. Patch by Masayuki Nakano, masayuki@d-toybox.com; r+sr=dbaron. 2004-09-11 05:44:33 +00:00
dbaron%dbaron.org 4db1f75805 Back out text input changes from bug 72747. 2004-09-04 03:17:18 +00:00
dbaron%dbaron.org 462cb0cabd 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 2004-09-03 23:22:15 +00:00
dbaron%dbaron.org 67e0ee1634 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org 0430fe1b67 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 2004-08-26 17:11:20 +00:00
mats.palmgren%bredband.net c3758b628f Added font-size:inherit to optgroup, so that the select font-size affects options. b=185098 r+sr=bzbarsky 2004-08-08 18:44:09 +00:00
aaronleventhal%moonset.net dacd3438ae Bug 251614. Get rid of black squares on input type=submit buttons and return focus appearance to normal. r+sr=roc 2004-08-02 14:15:51 +00:00
bzbarsky%mit.edu b99b4c4d2d 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
2004-05-15 05:09:37 +00:00
bzbarsky%mit.edu cf68f1193c Let pages set explicit line-height on textarea if they want to. Bug 243100, r+sr=dbaron 2004-05-09 19:42:53 +00:00
bzbarsky%mit.edu cf959b0687 Don't allow text in a combobox to wrap. Bug 206937, r+sr=dbaron 2004-04-22 22:20:29 +00:00
gerv%gerv.net 85ce8c146b Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
varga%nixcorp.com ef9e94e02c Fix for bug 234740. <fieldset> default view is nicer under IE
r+sr=dbaron patch by aha
2004-03-08 20:57:31 +00:00
bzbarsky%mit.edu ca3762c23e Set text-indent:0 on all form controls to keep it from inheriting down to the
anonymous blocks inside.  Bug 56253, r+sr=dbaron
2003-11-14 23:00:56 +00:00
bzbarsky%mit.edu f8183c4c87 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?
2003-11-09 07:40:09 +00:00
bzbarsky%mit.edu 0947b9f322 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
2003-09-25 05:44:51 +00:00
dbaron%dbaron.org b57afa4a19 Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky 2003-09-16 22:09:18 +00:00
bsmedberg%covad.net 3c7f6e517d Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
bzbarsky%mit.edu fd6654ba6d Move to the double-'::' notation for various pseudo-elements.
Bug 211657, r+sr=dbaron
2003-07-07 21:57:01 +00:00
dbaron%dbaron.org 5027dbc6d2 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 2003-06-17 18:01:51 +00:00
roc+%cs.cmu.edu 2654a045b4 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 2003-05-22 01:46:13 +00:00
neil%parkwaycc.co.uk 33efefa39e Bug 190281 Focus doesn't skip disabled inputs properly r=aaronl sr=jst a=asa 2003-05-01 10:42:33 +00:00
bzbarsky%mit.edu 2529f5a5e5 Fix sizing of disabled buttons to match enabled ones. Bug 147463,
r=jkeiser, sr=roc+moz, a=asa
2003-04-29 18:45:51 +00:00
roc+%cs.cmu.edu f2dc5c2442 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 2003-04-08 20:50:57 +00:00
bryner%netscape.com 7ce4b290a0 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser. 2003-03-12 04:57:33 +00:00
bzbarsky%mit.edu 288daf55e1 Make %-height kids of fieldsets do the right thing. Bug 191135, r=jkeiser,
sr=roc+moz, a=asa
2003-02-13 19:09:04 +00:00
bzbarsky%mit.edu 763ca67975 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
2003-01-31 10:21:52 +00:00
bzbarsky%mit.edu 8df408f044 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
2003-01-05 05:18:50 +00:00
bzbarsky%mit.edu d3cde4e823 <button> should not have preformatted whitespace. Bug 55285, r=jkeiser, sr=dbaron 2002-11-19 03:34:49 +00:00
bzbarsky%mit.edu bdc9d8929a Fix regression in rendering buttons that people manually size to less
than desired size.  Bug 180085, r=jkeiser, sr=roc+moz
2002-11-16 19:32:49 +00:00
bzbarsky%mit.edu 20bae565b3 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
2002-11-12 19:17:51 +00:00
bzbarsky%mit.edu 565f23fe6e disabled selects should still take the colors the page sets. Bug
177569, r=jkeiser, sr=dbaron
2002-11-06 21:35:36 +00:00
bzbarsky%mit.edu f82de7c2e4 line-height settings should not affect internal layout of form
controls.  Bug 82265, r=jkeiser, sr=dbaron
2002-11-06 02:12:18 +00:00
jkeiser%netscape.com fd1a1dc6b6 Back out bug 167236 due to regressions 171214 and 171465 2002-09-30 10:22:06 +00:00
jkeiser%netscape.com 792885863f Make buttons line up correctly with textboxes again (bzbarsky's patch, bug 171214), r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu 2002-09-29 02:55:24 +00:00
jkeiser%netscape.com 816123f03b 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 2002-09-27 00:04:22 +00:00
hyatt%netscape.com 86927b69b6 More 169373 goodness. 2002-09-23 05:38:30 +00:00
hyatt%netscape.com 369f0ad4fd Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake 2002-09-21 01:03:38 +00:00
dbaron%fas.harvard.edu 0184768607 Give LABEL element a pointer cursor. b=158043 r=jkeiser sr=bzbarsky 2002-09-16 14:15:58 +00:00
jkeiser%netscape.com 8e01bfc196 Make input type=hidden style="display: inline" not show artifacts from input type=text (bug 166438), r=rods@netscape.com, sr=bzbarsky@mit.edu 2002-09-13 21:30:11 +00:00
bzbarsky%mit.edu 7eb4bb4235 Make <button> align sorta like <input type="button"> does vertically.
Bug 162573, patch by dbaron, r=bzbarsky, sr=roc
2002-09-11 02:12:24 +00:00
dbaron%fas.harvard.edu 61be130089 Fix regression in graying of disabled radio buttons and checkboxes. b=164484 r=bbaetz sr=bzbarsky 2002-09-04 00:39:19 +00:00
bzbarsky%mit.edu ae944cb845 Do not inherit text-transform into inputs and textareas. Bug 150341,
r=glazman, sr=roc+moz
2002-08-31 04:38:57 +00:00
dbaron%fas.harvard.edu 5a1a0bf7ae Make the declarations of colors for radio buttons and check boxes important, so they are unstylable (and styles in web pages don't cause them to disappear). b=58755 r=jkeiser sr=bzbarsky 2002-08-14 12:42:03 +00:00
jkeiser%netscape.com f8179e2720 Make input type=file disabled work properly and look right. bug 92858, r=rods@netscape.com, sr=roc+moz 2002-06-12 07:58:26 +00:00
dbaron%fas.harvard.edu 4ae6c30b20 Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst 2002-05-22 00:14:51 +00:00
dbaron%fas.harvard.edu 814b3d3030 Rename Mozilla-extension values for real CSS properties to begin with -moz-. Remove some unused code. b=3935 r=hixie sr=waterson 2002-05-01 00:17:04 +00:00
axel%pike.org f678aae58a bug 139989, Fieldset needs prettier default border, patch by mabus@runbox.no, r=me, sr=ben. 2002-04-25 12:28:39 +00:00
bzbarsky%mit.edu d973fe3069 Make disabled checked radio/checkbox elements have a visible mark. Make
other disabled controls look more clearly disabled.

Bug 138737, r=neil@parkwaycc.co.uk,jkeiser.  sr=attinasi
2002-04-23 02:40:44 +00:00
gerv%gerv.net 8ac92b6724 Bug 3935 - mozilla-native psuedo classes and properties should be marked as such. This fixes a number of them; still a few more to do. Patch by gerv, r=dbaron, sr=jst, a=asa. 2002-04-19 08:07:11 +00:00
caillon%returnzero.com a90eb7c30b Bug 134927. Backing out part of the fix for 106317 in order to make text boxes stylable once again. Patch by fantasai@escape.com, r=bzbarsky, sr=hyatt, a=roc+moz 2002-04-07 23:35:24 +00:00
caillon%returnzero.com 5d14154a8d Bug 106317. Allow styling of 'border-color' property on HTML selects, cleanup of rules in forms.css; Patch by fantasai@escape.com; r=rods; sr=hyatt; a=dbaron. 2002-03-31 14:24:53 +00:00
aaronl%netscape.com 5e0f74eb90 Bug 132557 - show focus on input type=file button (fix from Pete Zha). r=jkeiser, sr=jst, a=asa 2002-03-31 04:52:19 +00:00
kmcclusk%netscape.com 3a33c96d02 give an explicit height to <input type=file> elements when printing to prevent the input file control from expanding vertically to fill the entire page during printing and print preview bug 112156 r=rods sr=attinas a=asa 2002-03-26 21:36:22 +00:00
bryner%netscape.com ec00895936 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
rods%netscape.com 81cea4f0c0 disable user-input for Print Preview
Bug 120745 r=dcone sr=attinasi a=asa
2002-02-26 03:30:51 +00:00
rods%netscape.com c906c1a450 Give checkbox and radio face color on active
Bug 56585 r=bryner sr=attinasi
2001-11-29 09:54:38 +00:00
bzbarsky%mit.edu 6629087552 Make sure the <input type="hidden"> never takes up space by setting it
to use display:none (now that it'll submit fine with that setting).
Bug 109847, r=jkeiser, sr=attinasi
2001-11-27 15:36:33 +00:00
rods%netscape.com 760f64245a Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-03 14:59:39 +00:00
jst%netscape.com 5bf2cf4e7e Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com 2001-11-02 07:40:01 +00:00
dbaron%fas.harvard.edu 10e3bbbb58 Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi 2001-10-30 06:02:05 +00:00
rods%netscape.com d71bbaadaa Make labels inline !important
Bug 100801 r=rods sr=attinasi
2001-10-22 10:39:35 +00:00
rods%netscape.com 214ca7373c make it so the select's borders can't be changed by user's style
Bug 94387 r=kmcclusk sr=attinasi
2001-10-16 00:37:05 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
rods%netscape.com 67be8fb464 the dropdown will have a top border now.
Bug 88399 r=dcone sr=attinasi a=dbaron
2001-08-28 19:40:02 +00:00
rods%netscape.com aeb2696125 Having it always size in Quirks mode, changing the sizing from clamping down to Nav 4.x size
to now obey border and padding.
Bug 96630, Bug 97139 r=dcone sr=attinasi a=dbaron
2001-08-27 23:28:24 +00:00
dbaron%fas.harvard.edu 7fb8f86ae2 Correct fix for 96414: the 'font' shorthand requires both size and face. r=rods sr=attinasi a=chofmann
Forgotten half of fix for 47149: make LABEL a normal inline element.  r=rods  sr=attinasi  a=asa
2001-08-27 20:56:12 +00:00
rods%netscape.com 6360a749f5 Refixing style for buttons for fix Bug 96630 2001-08-27 13:59:37 +00:00
rods%netscape.com 897e19484a Using -moz-fixed for textareas, the size is not "hooked" to the browser's default fixed size now
but will be when fixed to -moz-fixed get put in for 0.9.5
Bug 96414 r=rbs sr=hyatt a=asa
2001-08-27 12:22:48 +00:00
rods%netscape.com 8e7a17e8ff Having it always size in Quirks mode, changing the sizing from clamping down to Nav 4.x size
to now obey border and padding.
Bug 96630 r=dcone sr=attinasi a=dbaron
2001-08-27 11:44:28 +00:00
rods%netscape.com 974b9579d7 Disabling Quirks sizing for form controls, it can be put back in via a pref
and uncommenting a line in quirk.css
Bug 91602 r=dcone sr=attinasi
2001-08-21 14:01:55 +00:00
dbaron%fas.harvard.edu 2121901d8a Changing vertical alignment of some form controls from 'bottom' to 'text-bottom', which is a good thing in itself but also fixes one of the many conditions needed to trigger bug 78066. b=87981 r=attinasi sr=waterson 2001-07-13 05:19:34 +00:00
blakeross%telocity.com feed6f83dd Textarea scrollbars have wrong cursor (65540). r=kerz sr=hewitt a=asa 2001-06-13 21:33:19 +00:00
rods%netscape.com ccf6bd06d0 Backing change for Bug 82626, looks like round-off error in line height calculation 2001-06-11 19:29:14 +00:00
dbaron%fas.harvard.edu 65490b586d Make implied universal selectors be equivalent to ns|* where ns is the default namespace, and make appropriate changes to our CSS files. This brings us into conformance with the CSS3 selectors draft and improves performance by reducing the number of universally hashed selectors. Most of this patch is by attinasi. (35847, 83482) Also make first-node/last-node rules in quirks.css non-universal to improve performance. (83839) r=rbs sr=waterson a=asa b=35847 2001-06-09 01:32:19 +00:00