th, 4);
  assert_equals(sheet.cssRules[0].cssText, '@media not speech {\n}');
  assert_equals(sheet.cssRules[1].cssText, '@media not screen {\n}');
  assert_equals(sheet.cssRules[2].cssText, '@media not print {\n}');
  assert_equals(sheet.cssRules[3].cssText, '@media not all {\n}');
}, 'type - no features - negation');

test(function(t) {
  var sheet = makeSheet(t);
  sheet.insertRule('@media aLL {}');
  sheet.insertRule('@media pRiNt {}');
  sheet.insertRule('@media screEN {}');
  sheet.insertRule('@media 