Jonathan Watt
f3ea3c7d86
Bug 1428676 pt 3. Change our existing consumers of 'menulist-button' to use '-moz-menulist-button'. r=emilio
2018-06-20 13:50:23 +01:00
shindli
0a48a3cd3c
Backed out 3 changesets (bug 1428676) for bc failures in browser/base/content/test/static/browser_parsable_css.js on a CLOSED TREE
...
Backed out changeset 6ba5975115fc (bug 1428676)
Backed out changeset 7f1270a9ec3d (bug 1428676)
Backed out changeset 662bfc31a950 (bug 1428676)
2018-07-31 19:30:46 +03:00
Jonathan Watt
449e0fddad
Bug 1428676 pt 3. Change our existing consumers of 'menulist-button' to use '-moz-menulist-button'. r=emilio
...
--HG--
extra : rebase_source : 5fd3de8c33cd0d168c63accbf98f50e9947bf31c
2018-06-20 13:50:23 +01:00
Emilio Cobos Álvarez
d7bfa8a3bb
Bug 1460382: Make element-backed pseudos inherit from NAC subtree roots and other NAC inherit from their parents. r=heycam
...
Currently, NAC always inherits from the closest non-NAC ancestor element,
regardless of whether it is for an element-backed pseudo or not.
This patch changes the inheritance so that for element-backed pseudos, we
inherit from the closest native anonymous root's parent, and for other NAC we
inherit from the parent.
This prevents the following two issues and allows us to remove the
NODE_IS_NATIVE_ANONYMOUS flag:
* Avoiding inheriting from the non-NAC ancestor in XBL bindings bound to NAC.
- This is no longer a problem since we apply the rule only if we're a
pseudo-element, and all pseudo-elements are in native anonymous subtrees.
- This also allows to remove the hack that propagates the
NODE_IS_NATIVE_ANONYMOUS flag from the ::cue pseudo-element from
BindToTree.
* Inheriting from the wrong thing if we're a nested NAC subtree.
- We no longer look past our NAC subtree, with the exception of
::-moz-number-text's pseudo-elements, for which we do want to propagate
::placeholder to.
A few rules from forms.css have been modified because they're useless or needed
to propagate stuff to the anonymous form control in input[type="number"] which
previously inherited from the input itself.
MozReview-Commit-ID: IDKYt3EJtSH
2018-05-30 10:14:46 +02:00
Emilio Cobos Álvarez
c2d8ef1e49
Bug 1463511: Remove impossible combinations from forms.css. r=heycam
...
Those classes are only applied when !IsSingleLineTextControl(). No need for the
rules.
MozReview-Commit-ID: KOIWJVaw4pt
--HG--
extra : rebase_source : f4c738b7b1637c9cc7ad6958b53705cd82966864
2018-05-22 19:54:18 +02:00
Emilio Cobos Álvarez
10ce8b38a0
Bug 1463511: Remove useless form.css rule and nsTextControlFrame anon class. r=heycam
...
Only <textarea> has GetWrapRows() > 0, and the rule for textarea disappeared in
bug 82711.
MozReview-Commit-ID: ERcoLVcufbH
--HG--
extra : rebase_source : 687ae89ce94e0e7f3682f434264661f7b9554819
2018-05-22 19:52:41 +02:00
Cameron McCormack
3a70eaa88b
Bug 1317541 - Merge number-control.css back into forms.css. r=mats
...
MozReview-Commit-ID: AGfsSF4dORN
--HG--
extra : rebase_source : b0fbe05bcef3e7228f43f6fb417fdaf430961f03
2018-04-10 11:04:41 +10:00
Emilio Cobos Álvarez
82778d6954
Bug 1405087: Nix -moz-user-input: disabled. r=bz
...
It does nothing, and there's only one use of it anyway.
See the intent to unship for research on out of the tree usage:
https://groups.google.com/d/msg/mozilla.dev.platform/E6tfP__wkwg/YVW6nPX9CQAJ
MozReview-Commit-ID: 5XnsewYdvgQ
2018-02-15 21:48:59 +01:00
KuoE0
4c91f63774
Bug 1428960 - Use universal selector for -moz-dropdown-list r=heycam
...
-moz-dropdown-list is only allowed to use universal selector, so change
it back to universal selector.
MozReview-Commit-ID: 5E9Z98xIadh
--HG--
extra : rebase_source : fa6406cbe1b6bab582a1ee8dd2c7e89a4c66591e
2018-01-09 11:48:29 +08:00
KuoE0
0bcba466df
Bug 1425088 - (Part 2) Change the dropdown frame to a top-level absolute frame when content-select is enabled. r=mats
...
MozReview-Commit-ID: E77XdiELqhm
--HG--
extra : rebase_source : 19cc0bccf5dc4160e2b8dff9a710961d0cc38adc
2017-12-13 17:59:29 -06:00
Botond Ballo
c1cb97c6d8
Bug 1425485 - Propagate overscroll-behavior on a text input to the anonymous scrollable <div> inside it. r=tnikkel
...
MozReview-Commit-ID: Ey1Ns34GXJL
--HG--
extra : rebase_source : 67676a085787170ff99bae8142890616cc3e774c
2017-12-15 13:23:24 -05:00
Mats Palmgren
feb949d1a8
Bug 752790 - Allow <input> content to overflow into the padding area in the block-axis (but not in the inline-axis). r=dholbert
...
MozReview-Commit-ID: FnPW6mKxWE6
2017-12-06 12:36:50 +01:00
Emilio Cobos Álvarez
2b97da363f
Bug 1417200: Stop using -moz-border-*-colors in forms.css. r=xidorn
...
On a CLOSED TREE, since the servo patch got in.
This removes one px of "padding" in:
<progress style="-moz-appearance: none"></progress>
But it'd be worse to not be able as an author to override those somehow.
MozReview-Commit-ID: EFZIBHaUskM
2017-12-01 23:25:17 +01:00
Jessica Jong
93235e7dd3
Bug 1404327 - Move CSS font-family property to date/time input so that it can be overriden. r=dholbert
...
MozReview-Commit-ID: 4sqXQSZMlmd
2017-10-16 15:24:50 +08:00
Emilio Cobos Álvarez
e808575ca4
Bug 1406631: Remove the color-picker-available system metric. r=xidorn
...
All our widgets support it with a constant true.
MozReview-Commit-ID: JMEItUsxYWq
--HG--
extra : rebase_source : e7e0a3f83001813239338bc5b3895252e1fb3ea6
2017-10-07 14:06:44 +02:00
Sebastian Hengst
b29f365446
Backed out changeset f70d6fcdb760 (bug 1406631) for failing color related reftests like layout/reftests/writing-mode/ua-style-sheet-input-color-1.html on Android. r=backout
2017-10-07 20:08:12 +02:00
Emilio Cobos Álvarez
b7befbe6b5
Bug 1406631: Remove the color-picker-available system metric. r=xidorn
...
All our widgets support it with a constant true.
MozReview-Commit-ID: JMEItUsxYWq
--HG--
extra : rebase_source : a2661dce1ac191fdf098e631cd7878f0215643d5
2017-10-07 14:06:44 +02:00
Dão Gottwald
1b2ab142df
Bug 1400092 - Move RTL direction and aligment styling for the location bar input field to a chrome stylesheet since it doesn't need to access .anonymous-div anymore. r=Gijs
...
MozReview-Commit-ID: 5qutEsTojVt
--HG--
extra : rebase_source : 7d2b20ed1e34d90e0bc3a5de3b7c147e581700b9
2017-09-15 14:41:19 +02:00
Louis Chang
0d46442004
Bug 1352238 Part 2 - Remove default styling of checkbox/radio in UA sheets. r=mats
...
MozReview-Commit-ID: 6sd18LI3yw2
--HG--
extra : rebase_source : f0efd383fd4e51be1a4c99691a4455b6f6686798
2017-09-05 22:44:29 +08:00
Jessica Jong
e105f0644d
Bug 1311857 - Adjust CSS for date/time widget internals to prevent them from overflowing the widget. r=dholbert
...
MozReview-Commit-ID: FhHdjGayUB1
--HG--
extra : rebase_source : e8de2487583e30fbd5618988f051fd73928917b9
2017-04-21 16:18:19 +08:00
Mats Palmgren
297b9d70e1
Bug 1365614
part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
...
MozReview-Commit-ID: IbwWM0FL6HF
--HG--
extra : source : bbb688fe1ba3f5201a190c6e25b693ef7272ea2d
2017-05-21 17:15:00 +08:00
Mats Palmgren
f7e4384ac8
Bug 1365614
part 2 - Backout bug 1357655. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
...
MozReview-Commit-ID: Ig0RVKSQw4r
--HG--
extra : source : e528713f882cfc92f4c7acaf41e00dd302105ed0
2017-05-18 11:09:00 +08:00
Carsten "Tomcat" Book
2565b104f7
Backed out changeset e528713f882c (bug 1365614
)
2017-05-22 15:45:34 +02:00
Carsten "Tomcat" Book
00d4ea331d
Backed out changeset bbb688fe1ba3 (bug 1365614
)
2017-05-22 15:45:31 +02:00
Mats Palmgren
e706869580
Bug 1365614
part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
2017-05-21 17:15:00 +08:00
Mats Palmgren
a928a1b1f6
Bug 1365614
part 2 - Backout bug 1357655. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
2017-05-18 11:09:00 +08:00
Ray Lin
fb62d2146b
Bug 1361244 - Add an internal -moz-autofill-preview pseudo class for styling preview fields. r=heycam
...
MozReview-Commit-ID: 6siKEgBPTKt
2017-05-04 13:54:34 +08:00
Mike Conley
73847411fd
Bug 1357169 - Manual back out of changeset eecb0af8a88f (bug 418833). r=mats
...
This also puts the Gecko-drawing of the checkbox / radio frames inside
nsGfxRadioControlFrame and nsGfxCheckboxControlFrame behind the
MOZ_WIDGET_ANDROID pragma for now.
MozReview-Commit-ID: BEyRfEmwjZY
--HG--
extra : rebase_source : fe42a65f55d822a2c7babd95898ec7520cc01616
extra : source : 9e2440ee6715204e88c7ae709a96ef7e1f707bdc
2017-03-31 09:47:57 -04:00
Carsten "Tomcat" Book
975e251aff
merge mozilla-inbound to mozilla-central a=merge
2017-04-21 10:57:02 +02:00
Luke Chang
03c1939e54
Bug 1355438 - [Form Autofill] Implement an internal-only pseudo-class for highlighting elements with an autofilled value. r=heycam
...
MozReview-Commit-ID: BUqAWSekPsh
--HG--
extra : rebase_source : c3c9b7a98ca5895eb56c8b07b4c3845e6ac71de0
2017-04-20 17:44:14 +08:00
Astley Chen
bc4e66e602
Bug 1355752 - Remove B2G code from nsFormControlFrame.cpp & forms.css. r=dholbert
...
MozReview-Commit-ID: I1PeSxMLFbn
--HG--
extra : rebase_source : eafb99a5df41053e7ea51b8d9529b6a343152cfd
2017-04-20 13:16:43 +08:00
Mats Palmgren
c8ff2283ea
Bug 1357655 part 1 - [css-ui] Make 'none' the initial value for 'appearance' for web and UA compatibility. Add 'appearance:auto' to UA sheets for form controls, XUL etc where needed. r=bz
...
MozReview-Commit-ID: 2h5ndqHresm
2017-04-21 02:24:19 +02:00
Ray Lin
9800f2b30a
Bug 1340483 - Part 5. Add basic layout style for preview node. r=heycam
...
MozReview-Commit-ID: IuTnIy7r0w8
--HG--
extra : rebase_source : c2b94c3d51a3bf7ff8a066e92329b1aeaf6af91e
2017-03-31 14:02:03 +08:00
cam@mcc.id.au
35e68ba276
Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time, and eliminate explicit style contexts in nsIAnonymousContentCreator::ContentInfo. r=bholley
...
MozReview-Commit-ID: LO0t92orjWZ
--HG--
extra : rebase_source : 56611b57af30555f46e8d417f95690fb5d6ab115
2017-01-13 03:21:11 +00:00
Phil Ringnalda
d2fa909610
Backed out 4 changesets (bug 1331322) for Android reftest failures in 1169331-1.html and forced-bg-color-outside-visible-region.html
...
Backed out changeset 96c6b5a11284 (bug 1331322)
Backed out changeset 15877d32de7d (bug 1331322)
Backed out changeset 841d608704d7 (bug 1331322)
Backed out changeset 02096c5eb029 (bug 1331322)
2017-02-15 21:24:00 -08:00
cam@mcc.id.au
34be31a2d7
Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time, and eliminate explicit style contexts in nsIAnonymousContentCreator::ContentInfo. r=bholley
...
MozReview-Commit-ID: LO0t92orjWZ
--HG--
extra : rebase_source : 56611b57af30555f46e8d417f95690fb5d6ab115
2017-01-13 03:21:11 +00:00
Mats Palmgren
bfafc0f173
Bug 1338293 - Make <input type=checkbox/radio> with '-moz-appearance:none' have default border/outline color. r=dholbert
2017-02-12 01:44:05 +01:00
L. David Baron
53a46a6356
Bug 605985 part 2 - Make -moz-appearance:none on radio and checkbox inputs make them non-replaced elements. r=dholbert
2017-02-09 21:22:40 +01:00
Mats Palmgren
e84ea3a684
Bug 605985 part 1 - Remove most default styling for checkbox and radio buttons and make the instrinsic size be zero for -moz-appearance:none checkbox/radios. r=dholbert
2017-02-09 21:22:40 +01:00
Boris Zbarsky
6d33c26700
Bug 1326163 part 2. Inherit a fieldset's border-radius down into its content wrapper box, so it doesn't leak out and mess up hit-testing in the corner areas when it has rounded borders. r=dbaron
2016-12-29 18:10:24 -08:00
Thomas Wisniewski
4c82121568
Bug 140562 - Part 2: Remove the 2px extra padding on buttons for a prospective -moz-focus-inner ring, and just size that ring the same as the content frame (inflated by its CSS padding). r=dbaron
2016-12-02 01:11:48 -05:00
Boris Zbarsky
c2aae6a433
Bug 504622 part 2. Allow fieldsets to shrink below their intrinsic min-width and below the width of their legend if their min-width is explicitly overridden. r=dbaron
2016-11-29 15:52:55 -05:00
Wes Kocher
f0071bb179
Backed out 2 changesets (bug 504622) for android reftest failures a=backout
...
Backed out changeset c024721d9b03 (bug 504622)
Backed out changeset 056f728704e7 (bug 504622)
2016-11-29 14:04:40 -08:00
Boris Zbarsky
6f55f6fce6
Bug 504622 part 2. Allow fieldsets to shrink below their intrinsic min-width and below the width of their legend if their min-width is explicitly overridden. r=dbaron
2016-11-29 15:52:55 -05:00
Botond Ballo
1a3f01bf7e
Bug 1320200 - Propagate scroll-behavior on a text input to the anonymous scrollable <div> inside it. r=tnikkel
...
MozReview-Commit-ID: Cur3x41wAfU
--HG--
extra : rebase_source : 0db4979a2717d54da258dbd83c6be31fdb6c1537
2016-11-25 19:39:17 -05:00
Mike Conley
a4fdeba2e9
Bug 418833 - Remove !important padding and border-radius rules for checkbox and radio form controls. r=tnikkel
...
MozReview-Commit-ID: 86X3PHxmKFg
--HG--
extra : rebase_source : fa55a2d4f585d62a48aeb190a29afa327ab1d4e9
2016-10-21 14:07:43 -04:00
Wes Johnston
5b987fba4a
Bug 418833 - Move default checkbox/radio drawing to images. Allow overriding checkbox/radio styling. r=tnikkel
...
MozReview-Commit-ID: HqyXXuYzjrE
--HG--
extra : rebase_source : 9d2c887e0bdef26b4b32b7b45c80ac456ea6ebd3
2016-11-03 16:54:49 -04:00
Wes Kocher
aee76f4bf5
Backed out 2 changesets (bug 418833) for android reftest failures a=backout
...
Backed out changeset 872ebe45f2f6 (bug 418833)
Backed out changeset c875e87e5301 (bug 418833)
2016-11-02 17:13:21 -07:00
Mike Conley
949078ffb1
Bug 418833 - Remove !important padding and border-radius rules for checkbox and radio form controls. r=tnikkel
...
MozReview-Commit-ID: 86X3PHxmKFg
--HG--
extra : rebase_source : f6aa36240ef89401613f293ec69c9e56e47e66cd
2016-10-21 14:07:43 -04:00
Wes Johnston
61a6cc0a69
Bug 418833 - Move default checkbox/radio drawing to images. Allow overriding checkbox/radio styling. r=tnikkel
...
MozReview-Commit-ID: HqyXXuYzjrE
--HG--
extra : rebase_source : 76d7d84173970a5656d7aac360d9c35b9639bf9d
2016-06-24 09:35:14 -07:00