Unverified Commit 3c15e75d authored by alexpott's avatar alexpott

Issue #2975388 by NickWilde, idebr: Replace Firefox @-moz-document...

Issue #2975388 by NickWilde, idebr: Replace Firefox @-moz-document url-prefix() css selector, since its support is being removed
parent f8f869f2
...@@ -11,7 +11,10 @@ ...@@ -11,7 +11,10 @@
"no-duplicate-selectors": null, "no-duplicate-selectors": null,
"no-unknown-animations": true, "no-unknown-animations": true,
"media-feature-name-no-unknown": [true, { "media-feature-name-no-unknown": [true, {
"ignoreMediaFeatureNames": ["prefers-reduced-motion"] "ignoreMediaFeatureNames": [
"prefers-reduced-motion",
"min--moz-device-pixel-ratio"
]
}], }],
"number-leading-zero": "always", "number-leading-zero": "always",
"plugin/no-browser-hacks": [true, { "plugin/no-browser-hacks": [true, {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
/** /**
* Fix problem with details/summary lines missing the drop arrows. * Fix problem with details/summary lines missing the drop arrows.
*/ */
@-moz-document url-prefix() { @media (min--moz-device-pixel-ratio: 0) {
summary { summary {
display: list-item; display: list-item;
} }
......
...@@ -23,7 +23,7 @@ fieldset { ...@@ -23,7 +23,7 @@ fieldset {
* @todo remove once this Mozilla bug is fixed. * @todo remove once this Mozilla bug is fixed.
* See https://bugzilla.mozilla.org/show_bug.cgi?id=504622 * See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
*/ */
@-moz-document url-prefix() { @media (min--moz-device-pixel-ratio: 0) {
fieldset { fieldset {
display: table-cell; display: table-cell;
} }
......
...@@ -19,7 +19,7 @@ fieldset:not(.fieldgroup) { ...@@ -19,7 +19,7 @@ fieldset:not(.fieldgroup) {
* @todo remove once this Mozilla bug is fixed. * @todo remove once this Mozilla bug is fixed.
* See https://bugzilla.mozilla.org/show_bug.cgi?id=504622 * See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
*/ */
@-moz-document url-prefix() { @media (min--moz-device-pixel-ratio: 0) {
fieldset:not(.fieldgroup) { fieldset:not(.fieldgroup) {
display: table-cell; display: table-cell;
} }
...@@ -41,7 +41,7 @@ fieldset:not(.fieldgroup) > legend { ...@@ -41,7 +41,7 @@ fieldset:not(.fieldgroup) > legend {
* @todo remove once this Mozilla bug is fixed. * @todo remove once this Mozilla bug is fixed.
* See https://bugzilla.mozilla.org/show_bug.cgi?id=504622 * See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
*/ */
@-moz-document url-prefix() { @media (min--moz-device-pixel-ratio: 0) {
.fieldgroup { .fieldgroup {
display: table-cell; display: table-cell;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment