Emilio Cobos Álvarez
d73b4b0679
Bug 1464782: Rename offset-* logical properties to inset-*. r=xidorn
...
MozReview-Commit-ID: BW44sru99RF
2018-06-27 16:12:01 +02:00
Emilio Cobos Álvarez
c3ac8b8b46
Bug 1470150: noscript rules should not apply to non-HTML elements. r=heycam
...
Differential Revision: https://phabricator.services.mozilla.com/D1749
MozReview-Commit-ID: JhNFlHbtDw6
2018-06-22 03:48:34 +02:00
Emilio Cobos Álvarez
7aa7348ecc
Bug 1468127: Move slot UA rule to html.css. r=xidorn
...
MozReview-Commit-ID: FRBioGS4Gbe
--HG--
extra : rebase_source : dfb6748d6346bf74dbaabda7d125d9d6f7a8d11f
2018-06-11 03:26:57 +02: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
Timothy Guan-tin Chien
a2a559db3e
Bug 1234008 - Recompress some png images with zopflipng r=Dolske,Grisha,jryans
...
MozReview-Commit-ID: Cr2iMSB04uu
--HG--
extra : rebase_source : 49f69cca3a4f27af1060ed82283b5cc96f717229
2018-01-27 15:57:42 +08: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
Dorel Luca
bea662dd30
Merge mozilla-central to autoland r=merge
...
--HG--
rename : layout/reftests/webcomponents/basic-insertion-point-1-ref.html => layout/reftests/webcomponents/basic-slot-5-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-1.html => layout/reftests/webcomponents/basic-slot-5.html
rename : layout/reftests/webcomponents/basic-insertion-point-2-ref.html => layout/reftests/webcomponents/basic-slot-6-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-2.html => layout/reftests/webcomponents/basic-slot-6.html
extra : rebase_source : 483a0fb85738c5459165efca8ec6bc971e31b4c2
2017-12-04 12:49:40 +02:00
Jessica Jong
306e4bafc3
Bug 1409975 - Part 2: Include slots in the flat tree. r=smaug,emilio
...
We should consider slot as a parent in ChildIterator: if slot's
`assignedNodes` is not empty, use `assignedNodes`, otherwise, use direct
children as fallback content.
Also, GetFlattenedTreeParentNodeInternal should be changed to use
`assignedSlot` instead of `DestInsertionPoints`.
2017-12-04 16:06:37 +08: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
Emilio Cobos Álvarez
75f51aafd5
Bug 1417701: Remove some useless rules and importance declarations in ua.css. r=heycam
...
There's no need to set anon boxes reset properties to their defaults.
Also, there's no need to use !important, since they have no other rules. There's
::-moz-pagecontent which is tricky, because it can be affected by @page rules,
but only margin properties are allowed on those.
MozReview-Commit-ID: Gtl9jTLYyXA
--HG--
extra : rebase_source : c151a61f112a7e2fe402663bb32e76514ddb69c9
2017-11-16 19:13:41 +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
Boris Zbarsky
4f6bea99ba
Bug 1403293. Make sure that anonymous table columns and column groups never affect hit testing. r=heycam
...
Per spec, these boxes shouldn't even exist.
MozReview-Commit-ID: 9tQdqSgXg76
2017-09-28 22:03:54 -04:00
Emilio Cobos Álvarez
b550117c8d
Bug 1396073: Remove some never matching rules for applet. r=xidorn
...
MozReview-Commit-ID: HSSiPWA0RjI
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-28 12:26:34 +02:00
Emilio Cobos Álvarez
88eef10615
Bug 1396073: Remove :-moz-empty-except-children-with-local-name. r=xidorn
...
<applet> is not a thing anymore, and that selector in our UA sheet will never
match anyway, since an <applet> element will never have the BROKEN state.
MozReview-Commit-ID: 7UOMKOv55uJ
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-28 12:26:26 +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
Jonathan Watt
720999f3d7
Bug 1377188, part 1 - Change the UA 'box-sizing' style to 'content-box' for <hr>. r=dholbert
...
MozReview-Commit-ID: 4s5Cj5FhkDe
2017-07-26 11:44:16 +01:00
Boris Zbarsky
bb957aa6c9
Bug 1373798 part 5. Use the new "dir" attribute pseudoclasses in html.css. r=emilio
...
MozReview-Commit-ID: AdxjsDBpbZs
2017-06-19 23:25:00 -04:00
Wes Kocher
84816f4647
Backed out 5 changesets (bug 1373798) for browser_parseable_css.js failures a=backout CLOSED TREE
...
Backed out changeset ef2e6aa3ae88 (bug 1373798)
Backed out changeset 0970ac62b245 (bug 1373798)
Backed out changeset dc19b4db7e51 (bug 1373798)
Backed out changeset a5dd7744170e (bug 1373798)
Backed out changeset 2c8752c4b6fb (bug 1373798)
MozReview-Commit-ID: J1WkPvRqELs
2017-06-19 15:56:47 -07:00
Boris Zbarsky
9a158066fe
Bug 1373798 part 5. Use the new "dir" attribute pseudoclasses in html.css. r=emilio
...
MozReview-Commit-ID: AdxjsDBpbZs
--HG--
extra : rebase_source : 8e9512b4229365c1c21972d14954695ca740fdff
2017-06-19 14:44:58 -04: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
bechen
e59ddbbcaa
Bug 1353689 - selectors/cue : Enable testcases under */selector/* . Fix the padding and overflow issue. r=rillian
...
MozReview-Commit-ID: 6jdlx01hEv7
--HG--
extra : rebase_source : 93a63954d5b64cb8a33de1ce560da8f97a5a2001
2017-04-17 17:27:23 +08:00
Carsten "Tomcat" Book
975e251aff
merge mozilla-inbound to mozilla-central a=merge
2017-04-21 10:57:02 +02:00
Iris Hsiao
7aacf33d10
Backed out 9 changesets (bug 1353689) for web platform reftest failures
...
Backed out changeset 80ac3ea1427e (bug 1353689)
Backed out changeset 9a5b36fefb22 (bug 1353689)
Backed out changeset 44c5f4b4cdfc (bug 1353689)
Backed out changeset 7f2790b4c963 (bug 1353689)
Backed out changeset 8d8d2824a763 (bug 1353689)
Backed out changeset d3ced5751998 (bug 1353689)
Backed out changeset 5179ebf1e982 (bug 1353689)
Backed out changeset ebf24732e9b3 (bug 1353689)
Backed out changeset e81924e4cff3 (bug 1353689)
2017-04-21 13:38:28 +08:00
bechen
d116c9373e
Bug 1353689 - selectors/cue : Enable testcases under */selector/* . Fix the padding and overflow issue. r=rillian
...
MozReview-Commit-ID: 6jdlx01hEv7
--HG--
extra : rebase_source : 93a63954d5b64cb8a33de1ce560da8f97a5a2001
2017-04-17 17:27:23 +08: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
bechen
30f3430251
Bug 1318542 - Make CueStyleBox apply ::cue. r=heycam,rillian
...
MozReview-Commit-ID: CNhFlffGAfh
* * *
[mq]: trash
MozReview-Commit-ID: KY2DfqPDmx0
--HG--
extra : rebase_source : fb16313ac5715ec1f544f8a80d0bad26aa42013d
2017-04-05 10:47:36 +08:00
Iris Hsiao
c16160a194
Backed out 4 changesets (bug 1318542) for xpcshell and mochitest failures
...
Backed out changeset c92af084fbfa (bug 1318542)
Backed out changeset 14e0332a1b84 (bug 1318542)
Backed out changeset 8ca158aca790 (bug 1318542)
Backed out changeset 57efe450b180 (bug 1318542)
2017-03-29 18:11:50 +08:00
bechen
62653e4c60
Bug 1318542 - Make CueStyleBox apply ::cue. r=heycam,rillian
...
MozReview-Commit-ID: CNhFlffGAfh
* * *
[mq]: trash
MozReview-Commit-ID: KY2DfqPDmx0
--HG--
extra : rebase_source : dff5410f25a4bdae83d195a10b85a4b03075fea7
2017-03-28 15:01:07 +08:00