swc/crates/swc_css_prefixer/tests/fixture/resolution/output.defaults-not-ie-11.css

85 lines
2.2 KiB
CSS

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx), (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
.class {
color: red;
}
}
@media (-webkit-min-device-pixel-ratio: 2.5), (min-resolution: 2.5dppx) {
.class {
color: red;
}
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
.class {
color: red;
}
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2x) {
.class {
color: red;
}
}
@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
.class {
color: red;
}
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
.class {
color: red;
}
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min-resolution: 124.8dpi) {
.class {
color: red;
}
}
@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 113.38dpcm) {
.class {
color: red;
}
}
::-webkit-input-placeholder {
color: gray;
}
:-moz-placeholder {
color: gray;
}
::-moz-placeholder {
color: gray;
}
:-ms-input-placeholder {
color: gray;
}
::-ms-input-placeholder {
color: gray;
}
::placeholder {
color: gray;
}
.image {
background-image: url(image@1x.png);
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
.image {
background-image: url(image@2x.png);
}
}
@media (-webkit-min-device-pixel-ratio: 0.34), (min-resolution: 33dpi) {
.class {
color: red;
}
}
@media (-webkit-min-device-pixel-ratio: 0), (min-resolution: 0dpi) {
.class {
color: red;
}
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx), (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {}
@media (-webkit-min-device-pixel-ratio: 2.5), (min-resolution: 2.5dppx) {}
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2x) {}
@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {}
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min-resolution: 124.8dpi) {}
@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 113.38dpcm) {}