44 Commits

Author SHA1 Message Date
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
timeless%mac.com
20927967f9 fix Bugzilla Bug 75632 [FIX]Bad HTML <button> CSS causes jiggling when clicked
patch by bzbarsky@mit.edu r=rods, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@92635 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 02:56:12 +00:00
dbaron%fas.harvard.edu
5b34044fae Fix form controls and Windows/Unix classic skin to use new system colors -moz-FieldText, -moz-Dialog, and -moz-DialogText where appropriate to allow accurate representation of system colors on GTK.
Fix various CSS errors in themes.
b=67448  r=hewitt@netscape.com  sr=blizzard@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@92498 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 02:54:21 +00:00
pinkerton%netscape.com
b85c14bc74 make combo-box dropdown stand out more from the page. especially needed since the mac WDEF no longer draws an outline for popups. r=rods/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@92166 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 03:53:40 +00:00
rods%netscape.com
7c04a2478c Fixing height of btns and btn in file input in strict mode
Bug 67207 r=kmcclusk a=attinasi


git-svn-id: svn://10.0.0.236/trunk@89284 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 13:26:55 +00:00
rods%netscape.com
8501b8009c Explicitly setting the padding to zero
Bug 69130 r=kmcclusk sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@88904 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:58:12 +00:00
blakeross%telocity.com
d5518335ea HTML tabindex attribute doesn't work for <button> and <input type="button"> (36217). r=hixie a=ben
git-svn-id: svn://10.0.0.236/trunk@86399 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:39:29 +00:00
rods%netscape.com
5301e853f6 makes optgroups so they you can't click on them and it fixes the focus issue.
Bug 63006 r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@86003 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 22:45:32 +00:00
attinasi%netscape.com
6a0e976941 <input type=image> now shows focus. b=2504 r=rods sr=buster
git-svn-id: svn://10.0.0.236/trunk@84310 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 23:34:54 +00:00
blakeross%telocity.com
f6256f739f Fix 38416: entire textarea should have edit cursor. patch proposed by neil@parkwaycc.co.uk. r=blake sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84058 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 09:03:31 +00:00
rods%netscape.com
ba3e6cf8d0 The changes to the select are to bring it back inline with what the rules were before they were optimized
The checkbox changes are to give it margins in standard mode and themake the vertical-align bottom so it is positioned correctly on the line.
Bug 62445, Bug 62350 r=kmcclusk, sr=buster


git-svn-id: svn://10.0.0.236/trunk@83628 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 15:18:45 +00:00
hyatt%netscape.com
62ff2d462c breaking out forms style rules into their own style sheet. a=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83179 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 08:26:36 +00:00