From 8ddf2451de1843cb60050c36df697473d5d1c560 Mon Sep 17 00:00:00 2001 From: Yoshi Huang Date: Tue, 6 Jun 2017 16:31:27 +0800 Subject: [PATCH] Bug 1267075 - Part 6: test state pseudo class for image blocking. r=bz Verify when image is blocked, the style of the following state pseudo class will apply: :-moz-suppressed :-moz-broken :-moz-user-disabled --- dom/base/test/chrome.ini | 3 + dom/base/test/test_blocking_image.html | 110 +++++++++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 dom/base/test/test_blocking_image.html diff --git a/dom/base/test/chrome.ini b/dom/base/test/chrome.ini index f991aacd130c..7dc48150da2c 100644 --- a/dom/base/test/chrome.ini +++ b/dom/base/test/chrome.ini @@ -2,6 +2,7 @@ skip-if = os == 'android' support-files = file_empty.html + file_blocking_image.html file_bug945152.jar file_bug945152_worker.js file_bug1008126_worker.js @@ -11,9 +12,11 @@ support-files = file_external_script.xhtml file_script.js mozbrowser_api_utils.js + !/image/test/mochitest/shaver.png [test_anonymousContent_xul_window.xul] [test_blockParsing.html] +[test_blocking_image.html] [test_bug715041.xul] [test_bug715041_removal.xul] [test_bug945152.html] diff --git a/dom/base/test/test_blocking_image.html b/dom/base/test/test_blocking_image.html new file mode 100644 index 000000000000..57f5f6df390a --- /dev/null +++ b/dom/base/test/test_blocking_image.html @@ -0,0 +1,110 @@ + + + + + Test for Bug 1267075 + + + + + +Mozilla Bug 1267075 +
+
+
+

+
+
+ +