Issue #2975388 by NickWilde, idebr: Replace Firefox @-moz-document url-prefix() css selector, since its support is being removed

8.7.x
Alex Pott 2018-10-01 16:40:58 +01:00
parent f8f869f223
commit 3c15e75d32
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
4 changed files with 8 additions and 5 deletions

View File

@ -11,7 +11,10 @@
"no-duplicate-selectors": null,
"no-unknown-animations": true,
"media-feature-name-no-unknown": [true, {
"ignoreMediaFeatureNames": ["prefers-reduced-motion"]
"ignoreMediaFeatureNames": [
"prefers-reduced-motion",
"min--moz-device-pixel-ratio"
]
}],
"number-leading-zero": "always",
"plugin/no-browser-hacks": [true, {

View File

@ -6,7 +6,7 @@
/**
* Fix problem with details/summary lines missing the drop arrows.
*/
@-moz-document url-prefix() {
@media (min--moz-device-pixel-ratio: 0) {
summary {
display: list-item;
}

View File

@ -23,7 +23,7 @@ fieldset {
* @todo remove once this Mozilla bug is fixed.
* See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
*/
@-moz-document url-prefix() {
@media (min--moz-device-pixel-ratio: 0) {
fieldset {
display: table-cell;
}

View File

@ -19,7 +19,7 @@ fieldset:not(.fieldgroup) {
* @todo remove once this Mozilla bug is fixed.
* See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
*/
@-moz-document url-prefix() {
@media (min--moz-device-pixel-ratio: 0) {
fieldset:not(.fieldgroup) {
display: table-cell;
}
@ -41,7 +41,7 @@ fieldset:not(.fieldgroup) > legend {
* @todo remove once this Mozilla bug is fixed.
* See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
*/
@-moz-document url-prefix() {
@media (min--moz-device-pixel-ratio: 0) {
.fieldgroup {
display: table-cell;
}