Index: LayoutTests/fast/media/mq-append-delete.html |
diff --git a/LayoutTests/fast/media/mq-append-delete.html b/LayoutTests/fast/media/mq-append-delete.html |
index c855e7d6c081cacc6ec23999ae9108d4016f9881..0d1ea7b4e3dbacd06504b8d3d76dbdd571d62004 100644 |
--- a/LayoutTests/fast/media/mq-append-delete.html |
+++ b/LayoutTests/fast/media/mq-append-delete.html |
@@ -77,6 +77,13 @@ test(function () { |
assert_equals(mediaList.mediaText, "screen, tv, not all"); |
}, "Add 'not all' to 'screen, tv'"); |
+test(function () { |
+ mediaList.mediaText = "screen, tv"; |
+ mediaList.appendMedium("#?:/"); |
+ assert_equals(mediaList.mediaText, "screen, tv"); |
+ // Ignored; terminate steps. |
+}, "Add '#?:/' to 'screen, tv'"); |
+ |
// - deleteMedium() |
test(function () { |
@@ -141,4 +148,11 @@ test(function () { |
// CSSOM 4.1: Parsing media query returns none as |
// there are more than one; terminate steps. |
}, "Remove 'tv, print' from 'screen, tv, screen'"); |
+ |
+test(function () { |
+ mediaList.mediaText = "screen, tv, not all"; |
+ mediaList.deleteMedium("#?:/"); |
+ // Ignored; terminate steps. |
+ assert_equals(mediaList.mediaText, "screen, tv, not all"); |
+}, "Remove '#?:/' from 'screen, tv, not all'"); |
</script> |