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

test(function(t) {
  var sheet = makeSheet(t);
  sheet.insertRule('@media not all {}');
  sheet.insertRule('@media not print {}');
  sheet.insertRule('@media not screen {}');
  sheet.insertRule('@media not speech {}');

  assert_equals(sheet.cssRules.leng