OLD | NEW |
1 title = $document Exception - ABP Test Pages | 1 title = $document Exception |
2 template = testcase | 2 template = testcase |
3 | 3 |
4 {% set testcase_moreinfo = [ | 4 {% set testcase_moreinfo = [ |
5 ("Filter Options", "https://adblockplus.org/filters#options"), | 5 ("Filter Options", "https://adblockplus.org/filters#options"), |
6 ] %} | 6 ] %} |
7 | 7 |
8 <section class="site-panel"> | 8 <section class="site-panel"> |
9 <h2>$document Exception</h2> | 9 <h2>$document Exception</h2> |
10 <p>Check that usage of the $document filter option works as expected.</p> | 10 <p>Check that usage of the $document filter option works as expected.</p> |
| 11 <p>With the filter(s) displayed below each test case added to ABP (or with the
testcase subscription installed and active), none of the green elements should
be hidden.</p> |
11 </section> | 12 </section> |
12 | 13 |
13 <section class="site-panel"> | 14 <section class="site-panel"> |
14 <h2>Test case</h2> | 15 <h2>Test case</h2> |
15 <div class="testcase-container"> | 16 <div class="testcase-container"> |
16 <div class="testcase-contentaside stripes-green testcase-ex-document">Target<
/div> | 17 <div class="testcase-contentaside stripes-green testcase-ex-document">Target<
/div> |
17 <div class="testcase-contentaside stripes-green testcase-ex-document">Target<
/div> | 18 <div class="testcase-contentaside stripes-green testcase-ex-document">Target<
/div> |
18 <img class="testcase-contentaside stripes-green" src="/testcasefiles/document
/image.jpg"> | 19 <img class="testcase-contentaside stripes-green" src="/testcasefiles/document
/image.jpg"> |
19 <div class="testcase-content stripes-grey">Content</div> | 20 <div class="testcase-content stripes-grey">Content</div> |
20 </div> | 21 </div> |
21 <h3>Filters</h3> | 22 <h3>Filters</h3> |
22 testpages.adblockplus.org##.testcase-ex-document<br> | 23 <pre>testpages.adblockplus.org##.testcase-ex-document</pre> |
23 ||testpages.adblockplus.org/testcasefiles/document/*<br> | 24 <pre>||testpages.adblockplus.org/testcasefiles/document/*</pre> |
24 @@testpages.adblockplus.org/en/exceptions/document^$document<br> | 25 <pre>@@testpages.adblockplus.org/en/exceptions/document^$document</pre> |
25 </section> | 26 </section> |
OLD | NEW |