61 Commits

Author SHA1 Message Date
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
dbaron%fas.harvard.edu
2e1a7eb839 Give LABEL element a pointer cursor. b=158043 r=jkeiser sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@129700 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 14:15:58 +00:00
jkeiser%netscape.com
b43245e234 Make input type=hidden style="display: inline" not show artifacts from input type=text (bug 166438), r=rods@netscape.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@129563 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 21:30:11 +00:00
bzbarsky%mit.edu
3027587244 Make <button> align sorta like <input type="button"> does vertically.
Bug 162573, patch by dbaron, r=bzbarsky, sr=roc


git-svn-id: svn://10.0.0.236/trunk@129203 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 02:12:24 +00:00
dbaron%fas.harvard.edu
e5167cdc5d Fix regression in graying of disabled radio buttons and checkboxes. b=164484 r=bbaetz sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@128782 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 00:39:19 +00:00
bzbarsky%mit.edu
d8011d3ad6 Do not inherit text-transform into inputs and textareas. Bug 150341,
r=glazman, sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@128613 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-31 04:38:57 +00:00
dbaron%fas.harvard.edu
e02d3833a4 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
git-svn-id: svn://10.0.0.236/trunk@127253 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 12:42:03 +00:00
jkeiser%netscape.com
decd49ffba Make input type=file disabled work properly and look right. bug 92858, r=rods@netscape.com, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@123144 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 07:58:26 +00:00
dbaron%fas.harvard.edu
554bf97dfe 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
git-svn-id: svn://10.0.0.236/trunk@121986 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:14:51 +00:00
dbaron%fas.harvard.edu
1ec44c55ea Rename Mozilla-extension values for real CSS properties to begin with -moz-. Remove some unused code. b=3935 r=hixie sr=waterson
git-svn-id: svn://10.0.0.236/trunk@120368 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:17:04 +00:00
axel%pike.org
e715087165 bug 139989, Fieldset needs prettier default border, patch by mabus@runbox.no, r=me, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@119823 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 12:28:39 +00:00
bzbarsky%mit.edu
a8131904c6 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


git-svn-id: svn://10.0.0.236/trunk@119596 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 02:40:44 +00:00
gerv%gerv.net
845e4a7761 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.
git-svn-id: svn://10.0.0.236/trunk@119384 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 08:07:11 +00:00
caillon%returnzero.com
fd3d1e0079 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
git-svn-id: svn://10.0.0.236/trunk@118453 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-07 23:35:24 +00:00
caillon%returnzero.com
da236fd8dc 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.
git-svn-id: svn://10.0.0.236/trunk@117793 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 14:24:53 +00:00
aaronl%netscape.com
04a25f1b3f Bug 132557 - show focus on input type=file button (fix from Pete Zha). r=jkeiser, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@117771 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 04:52:19 +00:00
kmcclusk%netscape.com
b138982f7d 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
git-svn-id: svn://10.0.0.236/trunk@117509 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 21:36:22 +00:00
bryner%netscape.com
01634657fa - 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.


git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +00:00
rods%netscape.com
3f1aeb458d disable user-input for Print Preview
Bug 120745 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@115350 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 03:30:51 +00:00
rods%netscape.com
e97e909b21 Give checkbox and radio face color on active
Bug 56585 r=bryner sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109197 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:54:38 +00:00
bzbarsky%mit.edu
f243d1dcf3 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


git-svn-id: svn://10.0.0.236/trunk@109002 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 15:36:33 +00:00
rods%netscape.com
1100db8190 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


git-svn-id: svn://10.0.0.236/trunk@107260 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 14:59:39 +00:00
jst%netscape.com
81bf1f1956 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
git-svn-id: svn://10.0.0.236/trunk@107083 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 07:40:01 +00:00
dbaron%fas.harvard.edu
9b135c4afe 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
git-svn-id: svn://10.0.0.236/trunk@106640 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 06:02:05 +00:00
rods%netscape.com
8612bf6bb6 Make labels inline !important
Bug 100801 r=rods sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@105930 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 10:39:35 +00:00
rods%netscape.com
44d4b425d4 make it so the select's borders can't be changed by user's style
Bug 94387 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@105448 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 00:37:05 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
rods%netscape.com
e5b30caae0 the dropdown will have a top border now.
Bug 88399 r=dcone sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@101904 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-28 19:40:02 +00:00
rods%netscape.com
9b5ed6bff4 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


git-svn-id: svn://10.0.0.236/trunk@101853 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 23:28:24 +00:00
dbaron%fas.harvard.edu
107dbc9e85 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


git-svn-id: svn://10.0.0.236/trunk@101841 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 20:56:12 +00:00
rods%netscape.com
845510c32c Refixing style for buttons for fix Bug 96630
git-svn-id: svn://10.0.0.236/trunk@101834 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 13:59:37 +00:00
rods%netscape.com
3c1670a022 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


git-svn-id: svn://10.0.0.236/trunk@101833 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 12:22:48 +00:00
rods%netscape.com
4511e22fcf 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


git-svn-id: svn://10.0.0.236/trunk@101831 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 11:44:28 +00:00
rods%netscape.com
48fbd4f113 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


git-svn-id: svn://10.0.0.236/trunk@101502 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 14:01:55 +00:00
dbaron%fas.harvard.edu
58ae25a010 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
git-svn-id: svn://10.0.0.236/trunk@99162 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-13 05:19:34 +00:00
blakeross%telocity.com
3a0024504a Textarea scrollbars have wrong cursor (65540). r=kerz sr=hewitt a=asa
git-svn-id: svn://10.0.0.236/trunk@97083 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 21:33:19 +00:00
rods%netscape.com
820b95f106 Backing change for Bug 82626, looks like round-off error in line height calculation
git-svn-id: svn://10.0.0.236/trunk@96877 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-11 19:29:14 +00:00
dbaron%fas.harvard.edu
78ac4ca4b3 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
git-svn-id: svn://10.0.0.236/trunk@96767 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 01:32:19 +00:00
rods%netscape.com
95b1c939cc setting line-height to 1em ! important, selects should not inherit the line height
nor should users be able to set it.
Bug 82626 r=kmcclusk sr=hyatt a=asa


git-svn-id: svn://10.0.0.236/trunk@96711 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 13:04:17 +00:00
anthonyd%netscape.com
8bf80dd0cf rechecking in fix for 59005
r=rods
sr=kin


git-svn-id: svn://10.0.0.236/trunk@94564 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 02:33:50 +00:00