Index: pages/exceptions/image.tmpl |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/pages/exceptions/image.tmpl |
@@ -0,0 +1,29 @@ |
+title = $image Exception - ABP Test Pages |
+template = testcase |
+ |
+{% set testcase_moreinfo = [ |
+ ("Filter Options", "https://adblockplus.org/filters#options"), |
+] %} |
+ |
+<link rel="stylesheet" href="/testcasefiles/imageexception/stylesheet.css"> |
+ |
+<section class="site-panel"> |
+ <h2>$image Exception</h2> |
+ <p>Check that usage of the $image filter option in an exception filter works as expected.</p> |
+</section> |
+ |
+<section class="site-panel"> |
+ <h2>Test case</h2> |
+ <p>The image should not be blocked (exception). The stylesheet should be blocked.</p> |
+ <div class="testcase-container"> |
+ <div class="testcase-row"> |
+ <h3>Image</h3><img class="testcase-image" src="/testcasefiles/imageexception/image.jpg"/> |
+ </div> |
+ <div class="testcase-row"> |
+ <h3>Stylesheet</h3><div class="testcase-teststylesheet"></div> |
+ </div> |
+ </div> |
+ <h3>Filters</h3> |
+ ||testpages.adblockplus.org/testcasefiles/imageexception/*<br> |
+ @@testpages.adblockplus.org/testcasefiles/imageexception/$image |
+</section> |