Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Unified Diff: LayoutTests/fast/media/mq-append-delete.html

Issue 15679021: Parse media attributes and CSSOM media text as media_query_list. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed review issues. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 0d1ea7b4e3dbacd06504b8d3d76dbdd571d62004..65354b8f538fd5888e70ea85d00831f87a7b4013 100644
--- a/LayoutTests/fast/media/mq-append-delete.html
+++ b/LayoutTests/fast/media/mq-append-delete.html
@@ -67,7 +67,7 @@ test(function () {
test(function () {
mediaList.mediaText = "screen, tv";
mediaList.appendMedium("&invalid");
- assert_equals(mediaList.mediaText, "screen, tv");
+ assert_equals(mediaList.mediaText, "screen, tv, not all");
// Ignored; terminate steps.
}, "Add '&invalid' to 'screen, tv'");
@@ -80,7 +80,7 @@ test(function () {
test(function () {
mediaList.mediaText = "screen, tv";
mediaList.appendMedium("#?:/");
- assert_equals(mediaList.mediaText, "screen, tv");
+ assert_equals(mediaList.mediaText, "screen, tv, not all");
// Ignored; terminate steps.
}, "Add '#?:/' to 'screen, tv'");
@@ -90,7 +90,7 @@ test(function () {
mediaList.mediaText = "screen, tv, not all";
mediaList.deleteMedium("&invalid");
// Ignored; terminate steps.
- assert_equals(mediaList.mediaText, "screen, tv, not all");
+ assert_equals(mediaList.mediaText, "screen, tv");
}, "Remove '&invalid' from 'screen, tv, not all'");
test(function () {
@@ -153,6 +153,6 @@ test(function () {
mediaList.mediaText = "screen, tv, not all";
mediaList.deleteMedium("#?:/");
// Ignored; terminate steps.
- assert_equals(mediaList.mediaText, "screen, tv, not all");
+ assert_equals(mediaList.mediaText, "screen, tv");
}, "Remove '#?:/' from 'screen, tv, not all'");
</script>
« no previous file with comments | « LayoutTests/fast/media/media-query-list-01-expected.txt ('k') | LayoutTests/fast/media/mq-js-media-except-01.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698