Skip to content

Commit a865b1b

Browse files
author
Bart Veneman
committed
remove duplicate test block
1 parent a8710c5 commit a865b1b

File tree

1 file changed

+0
-48
lines changed

1 file changed

+0
-48
lines changed

src/atrules/atrules.test.js

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -505,52 +505,4 @@ AtRules('analyzes container queries', () => {
505505
assert.equal(actual, expected)
506506
})
507507

508-
AtRules.skip('finds browserhacks', () => {
509-
const fixture = `
510-
@media screen and (min-width:0\\0) {}
511-
@supports (-webkit-appearance:none) {}
512-
@media \\0 screen {}
513-
@media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) { .selector {} }
514-
@media \\0 all {}
515-
@media screen and (-moz-images-in-menus:0) {}
516-
@media screen and (min--moz-device-pixel-ratio:0) {}
517-
@media all and (min--moz-device-pixel-ratio:0) and (min-resolution: .001dpcm) {}
518-
@media all and (-moz-images-in-menus:0) and (min-resolution: .001dpcm) {}
519-
@media all and (min--moz-device-pixel-ratio:0) { @media (min-width: 0px) {} }
520-
@media all and (-moz-images-in-menus:0) { @media (min-width: 0px) {} }
521-
@supports (-moz-appearance:meterbar) {}
522-
@supports (-moz-appearance:meterbar) and (display:flex) {}
523-
@supports (-moz-appearance:meterbar) and (cursor:zoom-in) {}
524-
@supports (-moz-appearance:meterbar) and (background-attachment:local) {}
525-
@supports (-moz-appearance:meterbar) and (image-orientation:90deg) {}
526-
@supports (-moz-appearance:meterbar) and (all:initial) {}
527-
@supports (-moz-appearance:meterbar) and (list-style-type:japanese-formal) {}
528-
@media all and (min--moz-device-pixel-ratio:0) and (min-resolution: 3e1dpcm) {}
529-
@supports (-moz-appearance:meterbar) and (background-blend-mode:difference,normal) {}
530-
@-moz-document url-prefix() {}
531-
@media screen\\9 {}
532-
@media \\0screen\,screen\\9 {}
533-
@media \\0screen {}
534-
@media screen and (min-width:0\\0) {}
535-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {}
536-
@media screen { @media (min-width: 0px) {} }
537-
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) {}
538-
@media (min-resolution: .001dpcm) { _:-o-prefocus, .selector {} }
539-
@media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) { .selector {} }
540-
@media screen and (min-width:0\\0) {}
541-
@media screen { @media (min-width: 0px) {} }
542-
@media \\0 screen {}
543-
`
544-
const result = analyze(fixture)
545-
const actual = result.atrules
546-
const expected = {
547-
total: 3,
548-
totalUnique: 3,
549-
uniquenessRatio: 1,
550-
unique: {}
551-
}
552-
553-
assert.equal(actual, expected)
554-
})
555-
556508
AtRules.run()

0 commit comments

Comments
 (0)