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
Mounir Lamouri
ae5d0ee136
Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz
2013-03-29 12:32:47 +00:00
Ryan VanderMeulen
372ed9fb2e
Backed out changeset fa9cde226b2a (bug 839788) for breaking mochitests the same way it did the first time it landed on a CLOSED TREE.
2013-03-28 21:17:42 -04:00
Mounir Lamouri
5b8eb7518f
Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz
2013-03-28 11:24:14 +00:00
Jonathan Watt
517e3b12aa
Bug 855301 - Add support for native theming of <input type=range> on Linux. r=roc
2013-03-28 20:25:05 +00:00
Ryan VanderMeulen
d7d90b559c
Backed out changeset f0b16aba4df7 (bug 839788) for mochitest failures on a CLOSED TREE.
2013-03-28 08:49:04 -04:00
Mounir Lamouri
04c2037b50
Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz
2013-03-28 11:24:14 +00:00
Jonathan Watt
2c85ff8dcf
Bug 854538 - Add a ::-moz-range-progress pseudo-element to <input type=range> for Firefox OS. r=dholbert
2013-03-26 23:04:41 +00:00
Mounir Lamouri
5663a2096f
Bug 762270 - Align the file name to the right when direction is RTL. r=smontagu
2013-02-13 14:47:59 +00:00
Mounir Lamouri
3473000c3d
Bug 838694 - Move the text showing the file name to the right of the browse button. r=bz
2013-02-09 15:09:14 +00:00
Mounir Lamouri
01c5c4a59d
Bug 345195 - Replace the anonymous <input type='text'> in <input type='file'> by a xul:label. r=bz
2013-02-09 14:57:30 +00:00
Daniel Holbert
134870baba
Backout e912de49c12b (Bug 854538) due to M5 & crashtest oranges on a CLOSED TREE
2013-03-26 17:28:14 -07:00
Jonathan Watt
2cdfef6c8b
Bug 854538 - Add a ::-moz-range-progress pseudo-element to <input type=range> for Firefox OS. r=dholbert
2013-03-26 23:04:41 +00:00
Jonathan Watt
71d7e34437
Bug 840820 - Make <input type=range> display as a vertical slider if it has an orient="vertical" attribute. r=mounir
2013-03-26 13:54:05 +00:00
Jonathan Watt
210bd9128b
Bug 846380 - Add support for dragging of <input type=range>'s thumb using mouse/touch events. r=smaug, r=mounir.
2013-03-08 09:40:12 +00:00
Jonathan Watt
e818e914b5
Bug 843725 - Add support for changing the value of <input type=range> using the up/down/left/right/pgup/pgdn/home/end keys. r=mounir, r=smaug.
2013-03-01 15:34:06 +00:00
Ryan VanderMeulen
cdce03a204
Backed out changeset 96c03dab9222 (bug 843725) for mochitest-5 failures on a CLOSED TREE.
2013-03-01 11:48:04 -05:00
Jonathan Watt
36034bb99e
Bug 843725 - Add support for changing the value of <input type=range> using the up/down/left/right/pgup/pgdn/home/end keys. r=mounir, r=smaug.
2013-03-01 15:34:06 +00:00
Mounir Lamouri
2bea4e4640
Bug 375008 - Clicking a disabled element should not cause a focus change. r=Enn
2013-03-01 00:15:59 +00:00
Mounir Lamouri
c0a032bb5b
No Bug - Backout bug 375008 (6c59b73c8c4b) and re-enable test_focus.xul. r=distress
2013-02-27 15:53:41 +00:00
Mounir Lamouri
bcb7449d05
Bug 375008 - Clicking a disabled element should not cause a focus change. r=Enn
2013-02-27 14:17:43 +00:00
Jonathan Watt
35a0c32302
Bug 842163 - Show a focus ring around <input type=range>. r=mounir.
2013-02-26 21:26:41 +00:00
Jonathan Watt
9a999c1cb4
Bug 838256, part 2 - Overhaul and complete the layout pieces for <input type=range>. r=dholbert for the combined diff with the previous changeset.
2013-02-16 17:57:21 +00:00
Wes Johnston
e38c741da9
Bug 838256, part 1 - Initial work on the layout pieces for <input type=range>. DONTBUILD separately from jwatt's changeset (the next one) to finish this work. r=dholbert for the combined diff.
2013-02-16 17:57:21 +00:00
Mounir Lamouri
dbbb67d3ea
Bug 841828 - Show the appropriate cursor on disabled text fields. r=bz
2013-02-16 10:58:28 +00:00
Dão Gottwald
e7a08c52ce
Bug 813550 - Location bar's placeholder in an RTL chrome should be aligned on the right. r=ehsan a=nonlibxul
2013-01-22 00:13:04 +01:00
Mounir Lamouri
ece08c4ea9
Bug 810796 - Fix invalid CSS in forms.css. r=bz
2012-11-20 18:21:39 +00:00
Mounir Lamouri
33e851046c
Bug 556145 - Use opacity instead of GrayText for ::-moz-placeholder UA's style. r=bz,davidb
2012-11-09 10:30:54 +00:00
Mounir Lamouri
7fcb75455c
Bug 737786 - 5/5 - Add pointer-events: none; in ::-moz-placeholder styling and test it. r=bz
2012-11-09 10:27:03 +00:00
Mounir Lamouri
95886455ae
Bug 737786 - 3/5 - Restrictions for ::-moz-placeholder. r=bz
...
The restrictions are basicially the one used for ::first-line with a few additions required to style the placeholder by the UA or for the users. See the bug comments for more details (hopefully, there will be a doc and a spec soon enough).
2012-11-09 10:25:52 +00:00
Mounir Lamouri
58aa0a96d8
Bug 737786 - 2/5 - Use a pseudo-element instead of a pseudo-class for placeholder styling. r=bz
2012-11-09 10:24:23 +00:00
Mounir Lamouri
b48108567b
Bug 737786 - 1/5 - Show/hide placeholder based on display lists instead of CSS class. r=bz
2012-11-09 10:22:29 +00:00
Boris Zbarsky
b5a77a4846
Bug 786946. Don't propagate text-decoration to <select> by default. r=dbaron
...
--HG--
rename : layout/reftests/text-decoration/underline-button-1-ref.html => layout/reftests/text-decoration/underline-select-1-ref.html
rename : layout/reftests/text-decoration/underline-button-1.html => layout/reftests/text-decoration/underline-select-1.html
rename : layout/reftests/text-decoration/underline-button-1-ref.html => layout/reftests/text-decoration/underline-select-2-ref.html
rename : layout/reftests/text-decoration/underline-button-1.html => layout/reftests/text-decoration/underline-select-2.html
2012-09-07 10:51:34 -04:00
Boris Zbarsky
a3c0607d95
Back out bug 786946 because it fails <select> font-inflation tests. r=bustage
2012-09-07 12:18:48 -04:00
Boris Zbarsky
019411646c
Bug 786946. Don't propagate text-decoration to <select> by default. r=dbaron
...
--HG--
rename : layout/reftests/text-decoration/underline-button-1-ref.html => layout/reftests/text-decoration/underline-select-1-ref.html
rename : layout/reftests/text-decoration/underline-button-1.html => layout/reftests/text-decoration/underline-select-1.html
rename : layout/reftests/text-decoration/underline-button-1-ref.html => layout/reftests/text-decoration/underline-select-2-ref.html
rename : layout/reftests/text-decoration/underline-button-1.html => layout/reftests/text-decoration/underline-select-2.html
2012-09-07 10:51:34 -04:00
Laurent Dulary
0bbaa121db
Bug 662251 - Default style and colors for the meter element. f=mounir r=bz,davidb
2012-05-16 12:26:42 +02:00
Yoan TEBOUL
72e9bc2b32
Bug 659999 - Add a meterbar and meterchunk appearances. f=mounir r=roc
2012-05-16 12:24:55 +02:00
Vincent LAMOTTE
bcc3cf4e81
Bug 657953 (1/2) - Implement the layout part of the meter element. r=roc
2012-05-16 17:47:10 +02:00
Boris Zbarsky
f13a1c00de
Bug 731447. Make buttons display:inline-block by default so that underlines don't reach into them. r=dbaron
2012-06-01 11:45:37 -04:00
Frank Yan
0a903d1211
Bug 673873 - Display placeholder when focusing empty input. r=mounir
2012-05-24 03:54:25 -07:00