Commit Graph

190 Commits

Author SHA1 Message Date
Brian Marshall
7ff2a511e8 Bug 82711 - Support CSS white-space property on textareas. r=bz 2014-10-28 10:33:15 -07:00
Tim Nguyen
1a26e37638 Bug 1070657 - Simplify input[type=range] pseudo element CSS. r=dholbert 2014-09-23 11:37:00 +02:00
Daniel Holbert
0d8943c0db Bug 1021913: Explicitly give the textfield in input[type="number"] a min-width of 0, so that "min-width:auto" won't block it from shrinking. r=jwatt 2014-06-11 15:35:18 -07:00
Arnaud Bienner
a1f697372c Bug 1007278: Restore the distinct text-color on disabled buttons. r=dholbert 2014-05-13 20:43:10 +02:00
Gijs Kruitbosch
a355409993 Bug 979653 - fix dir attribute checks for url field in rtl mode, r=ehsan
--HG--
extra : rebase_source : 58b0ea3e75fd8237df5ab5fadaa2feaee9cb47b9
2014-04-08 22:47:39 +01:00
Mats Palmgren
bd2b36541b Bug 992447 - Make <select> have 'overflow-clip-box:padding-box!important' for now since 'content-box' doesn't really work there. r=roc 2014-04-04 19:39:00 +02:00
Boris Zbarsky
d316554447 Bug 610733. Vertically center the text in the combobox display area when a non-default height is set for the combobox. r=dbaron 2014-03-25 22:48:46 -04:00
Boris Zbarsky
816c3b9f57 Bug 349259 patch 3 - Allow pages to override line-height on form controls, except for <select>. r=dbaron
This re-lands the part of the patch not backed out in
https://hg.mozilla.org/mozilla-central/rev/b97aef275b5e
2014-03-12 20:33:21 -07:00
Mats Palmgren
be95c28b5a Bug 971955 - Make overflow-clip-box:content-box the default for all <input> @type values except type=file/button/reset/submit. r=roc 2014-03-06 10:03:38 +00:00
Jonathan Watt
a8ab69c5db Bug 974430 - Put the |input[type=number]| rule in forms.css into a separate sheet so we can make it respect the dom.forms.number pref. r=dbaron
--HG--
extra : rebase_source : 450ffd1ca743868d75dda6ce0f89078216934e79
2014-02-26 12:26:14 +00:00
Mats Palmgren
48ecc0938d Bug 965237 - Make overflow-clip-box:content-box be the default for <input type=text/password/number> and <textarea>. r=roc 2014-02-22 01:18:24 +00:00
Ehsan Akhgari
8577cd5685 Backed out 5 changesets (bug 966992, bug 965237) because of a PGO only build failure on Linux, landed on a CLOSED TREE
Backed out changeset f11cad93ceee (bug 966992)
Backed out changeset c84d530c9a51 (bug 965237)
Backed out changeset 740b13866bac (bug 966992)
Backed out changeset 8c3420cc77d8 (bug 966992)
Backed out changeset 7ddfc587edda (bug 966992)
2014-02-19 13:28:33 -05:00
Mats Palmgren
577be9658b Bug 965237 - Make overflow-clip-box:content-box be the default for <input type=text/password/number> and <textarea>. r=roc 2014-02-19 14:14:53 +00:00
Jonathan Watt
a17ad57477 Bug 932410 - Implement the focus ring for -moz-appearance:none styled <input type=range> in a different way so that content authors can change/remove it. r=bz 2014-02-18 23:35:07 +00:00
Jonathan Watt
4c00c30331 Bug 973344 - Remove workaround introduced by bug 947718 now that bug 946184 is fixed, especially since it causes crashes with the dom.forms.number pref disabled. r=ehsan 2014-02-17 20:06:45 +00:00
Ehsan Akhgari
b870bb3fe9 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Robert O'Callahan
f5372eac13 Bug 947588. Part 4: Set -moz-text-discard:none in devtools, XUL, text inputs, plaintext documents, view-source documents. r=heycam
--HG--
extra : rebase_source : 2db920396d9c5f8de51c4385250f2903629441fc
2014-02-05 23:23:08 +13:00
Alex Henrie
13975faf63 Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron 2014-02-06 12:32:05 -07:00
Mats Palmgren
3d7093b296 Bug 959311 - Splitting nsComboboxControlFrame makes no sense so it should always report COMPLETE reflow status. Also, make them page-break-inside:avoid by default. r=bz 2014-01-30 12:12:02 +00:00
Robert O'Callahan
bd921d1878 Bug 960277. Part 3: nsFieldSetFrame's anonymous child should not inherit CSS 'position', but should still be an abs-pos containing block if the fieldset is. r=mats
--HG--
extra : rebase_source : 9e1109c3c1216df58281b7c81447e44da97f681b
2014-01-17 23:39:04 +13:00
Alex Henrie
52fcd58533 Bug 157846. Main patch: Propagate text <input> padding down to its scrolled child and add 1px left/right padding to stylesheets as needed. Fix tests. r=roc
Original patch by Charly Molter. Help from Robert O'Callahan and Jim Mathies.

--HG--
extra : rebase_source : eacfe5696e9831f149157bbd7fe697c0f8020604
2014-01-13 08:13:10 -05:00
Jonathan Watt
9b47b8e150 Bug 947728 part 2 - Make |-moz-appearance:number-input| the UA style sheet default for <input type=number>, and make the value 'textfield' hide the spinner. r=roc 2013-12-08 23:26:07 +00:00
Jonathan Watt
b9c0b3f28e Bug 947718 - Work around bug 946184 for Aurora. r=bz 2013-12-08 21:27:28 +00:00
Jonathan Watt
811e91f1d5 Bug 935508 follow-up - Put back the |height:100%| on ::-moz-number-wrapper in forms.css.
--HG--
extra : rebase_source : 191dad15f5c4e00146b29dace462eeb5fcbba878
2013-12-06 12:15:57 +00:00
Jonathan Watt
182f35a50b Bug 935508 - Implement native theming of <input type=number>. r=roc 2013-12-05 16:20:34 +00:00
Ryan VanderMeulen
e95b9d9a2e Backed out changesets 1b268ec6b81e, b68f5c69dce2 (bug 935508) and changesets 29db440280c8, 64f359e4e054 (bug 945784) for mochitest failures.
CLOSED TREE
2013-12-05 13:00:23 -05:00
Jonathan Watt
37febbd150 Bug 935508 - Implement native theming of <input type=number>. r=roc 2013-12-05 16:20:34 +00:00
Arnaud Bienner
9ac6db7f6c Bug 943966 - Reduce color swatch min size + add a default size for input type color. r=dholbert 2013-11-30 12:36:08 +01:00
Jonathan Watt
03a02156e0 Bug 935544 - Inherit 'text-align' through <input type=number>'s anonymous content. r=dholbert 2013-11-22 13:24:55 +00:00
Jonathan Watt
7bc78d38ee Bug 665884 - Redirect focus from <input type=number> to its anonymous text control, and get autofocus working. r=dbaron 2011-06-21 16:13:12 +02:00
Jonathan Watt
0cbbb98ce1 Bug 635240 - Implementation of the layout and anonymous shadow tree portion of <input type=number>. r=dholbert 2013-09-04 11:30:36 +01:00
Arnaud Bienner
8e0c9b178a Bug 931619 - Add a tiny border to the color swatch. r=dholbert 2013-11-13 17:59:56 +01:00
Daniel Holbert
feec828e46 Bug 932066: Turn input[type="color"] style on or off based on a -moz-system-metric pseudoclass instead of an %ifdef. r=jimm 2013-11-11 12:08:40 -08:00
Mats Palmgren
54757f971f Bug 891018 - CSS cursor property does not work properly on disabled inputs. r=bz 2013-11-01 20:31:06 +00:00
Arnaud Bienner
b30f71f6b2 Bug 930277 - Toggle dom.forms.color on everywhere but on B2G, Android and Metro as these platforms don't have a color picker ready yet. r=dholbert 2013-10-28 19:56:59 +01:00
Arnaud Bienner
ac765f199d Bug 928891 part 2 - Add input[type=color] to forms.css. r=dholbert 2013-10-27 01:16:42 +02:00
Arnaud Bienner
38710b2f27 Bug 928891 part 1 - Split button properties in forms.css (text vs non-text). r=dholbert 2013-10-27 00:25:58 +02:00
Robert O'Callahan
38913f080a Bug 261037. Support scrolled fieldsets. r=mats
--HG--
extra : rebase_source : 248521189921b2a46f0805582a3789b27c26ecbd
2013-10-23 00:46:40 +02:00
Ed Morley
d9500c0e98 Backed out changeset ce20f4b16d56 (bug 261037) for reftest failures in 478811-1.html on a CLOSED TREE 2013-10-24 10:28:44 +01:00
Robert O'Callahan
8941abb074 Bug 261037. Support scrolled fieldsets. r=mats
The main change here is to have nsCSSFrameConstructor able to construct
a scrollframe for nsFieldSetFrame's inner frame.
To make this work properly (as much like normal scrolled elements, and
to be consistent with Chrome), we need another major change, which is to move
the padding from the nsFieldSetFrame to its inner frame. We do this by copying
the padding to the inner frame and ignoring the padding on the outer frame.
To get this right for percentage padding and intrinsic widths is a little
tricky. For that, we need nsLayoutUtils::IntrinsicForContainer to be able to
ignore the padding on a frame so we don't add it twice.
Overriding nsFieldSetFrame::GetScrollTargetFrame makes setting scrollTop/
scrollLeft on a <fieldset> work as expected.
* * *
Bug 261037 - A fieldset overflow:auto reftest.

--HG--
extra : rebase_source : d737eebdc25b3b748a84de676d5e8e066505e00b
2013-10-23 00:46:40 +02:00
Ed Morley
415d4a667f Backed out changeset ffd9c7bbd2fe (bug 261037) for compilation failures in nsCSSFrameConstructor on a CLOSED TREE 2013-10-23 15:44:19 +01:00
Robert O'Callahan
6954853252 Bug 261037. Support scrolled fieldsets. r=mats
The main change here is to have nsCSSFrameConstructor able to construct
a scrollframe for nsFieldSetFrame's inner frame.
To make this work properly (as much like normal scrolled elements, and
to be consistent with Chrome), we need another major change, which is to move
the padding from the nsFieldSetFrame to its inner frame. We do this by copying
the padding to the inner frame and ignoring the padding on the outer frame.
To get this right for percentage padding and intrinsic widths is a little
tricky. For that, we need nsLayoutUtils::IntrinsicForContainer to be able to
ignore the padding on a frame so we don't add it twice.
Overriding nsFieldSetFrame::GetScrollTargetFrame makes setting scrollTop/
scrollLeft on a <fieldset> work as expected.
* * *
Bug 261037 - A fieldset overflow:auto reftest.

--HG--
extra : rebase_source : 6ca585f685965d3a538bde64ad4057c5fd7b538f
2013-10-23 00:46:40 +02:00
Daniel Holbert
376a58f5a1 Bug 875275 part 2: simplify forms.css for input[type="color"]. r=arnaud.bienner 2013-10-22 17:29:20 +02:00
Arnaud Bienner
28e6e2c644 Bug 875275 part 1: Implement layout support for <input type="color">. r=dbaron,dholbert 2013-07-10 00:25:27 +02:00
Mounir Lamouri
cb1c146f85 Bug 874600 - Make <input type='file'> label colour inherits from the parent's colour. r=bz 2013-05-23 14:09:45 +01:00
Mounir Lamouri
7d8984e3e9 Bug 52500 - Allow styling <input type='file'> like any other form control. r=bz
--HG--
rename : layout/reftests/forms/input-file-width-clip-ref.html => layout/reftests/forms/input/file/input-file-width-clip-ref.html
rename : layout/reftests/forms/input-file-width-clip-1.html => layout/reftests/forms/input/file/input-file-width-clip.html
2013-05-17 18:40:14 +01:00
Jonathan Watt
c8d8188483 Bug 864120 - Use a display list item to create the focus ring for <input type=range>. r=roc 2013-04-22 10:11:56 +01:00
Masatoshi Kimura
a7b906a433 Bug 771975 - Remove -moz-prefixed gradients usage from rest of the tree. r=roc 2013-04-09 07:44:26 +09:00
Mounir Lamouri
550eb0ad4e Bug 857536 - Cleanup the CSS properties applied on <input type='file'> from forms.css. r=bz 2013-04-04 10:39:29 +01:00
Jonathan Watt
023c73bf41 Bug 857034 - Add support for native theming of <input type=range> on Windows. r=roc 2013-04-03 11:07:12 +01:00