Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: pages/exceptions/elemhide.tmpl

Issue 29755578: Issue 2148 - Rewrite the testpages test suite (Closed)
Patch Set: Created April 18, 2018, 11:54 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pages/exceptions/elemhide.tmpl
===================================================================
new file mode 100644
--- /dev/null
+++ b/pages/exceptions/elemhide.tmpl
@@ -0,0 +1,25 @@
+title = $elemhide Exception - ABP Test Pages
+template = testcase
+
+{% set testcase_moreinfo = [
+ ("Filter Options", "https://adblockplus.org/filters#options"),
+] %}
+
+<section class="site-panel">
+ <h2>$elemhide Exception</h2>
+ <p>Check that usage of the $elemhide filter option works as expected.</p>
+</section>
+
+<section class="site-panel">
+ <h2>Test case</h2>
+ <div class="testcase-container">
+ <div class="testcase-contentaside stripes-green testcase-ex-elemhide">Target</div>
+ <div class="testcase-contentaside stripes-green testcase-ex-elemhide">Target</div>
+ <img class="testcase-contentaside" src="/testcasefiles/elemhide/image.jpg">
+ <div class="testcase-content stripes-grey">Content</div>
+ </div>
+ <h3>Filters</h3>
+ testpages.adblockplus.org##.testcase-ex-elemhide<br>
kzar 2018/04/19 13:08:20 Perhaps put the example filters inside pre tags an
kzar 2018/04/23 09:57:27 Well I think you should do it now personally, you
+ ||testpages.adblockplus.org/testcasefiles/elemhide/image.jpg<br>
+ @@testpages.adblockplus.org/en/exceptions/elemhide^$elemhide<br>
+</section>

Powered by Google App Engine
This is Rietveld