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

Unified Diff: pages/exceptions/subdocument.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/subdocument.tmpl
===================================================================
new file mode 100644
--- /dev/null
+++ b/pages/exceptions/subdocument.tmpl
@@ -0,0 +1,30 @@
+title = $subdocument Exception - ABP Test Pages
+template = testcase
+
+{% set testcase_moreinfo = [
+ ("Filter Options", "https://adblockplus.org/filters#options"),
+] %}
+
+<link rel="stylesheet" href="/testcasefiles/subdocumentexception/stylesheet.css">
+
+<section class="site-panel">
+ <h2>$subdocument Exception</h2>
+ <p>Check that usage of the $subdocument filter option in an exception filter works as expected.</p>
+</section>
+
+<section class="site-panel">
+ <h2>Test case</h2>
+ <div class="testcase-container">
+ <div class="testcase-row">
+ <h3>Frame/Subdocument</h3>
+ <iframe src="/testcasefiles/subdocumentexception/frame.html"></iframe>
+ </div>
+ <div class="testcase-row">
+ <h3>Stylesheet</h3>
+ <div class="testcase-teststylesheet"></div>
+ </div>
+ </div>
+ <h3>Filters</h3>
+ ||testpages.adblockplus.org/testcasefiles/subdocumentexception/*<br>
+ @@testpages.adblockplus.org/testcasefiles/subdocumentexception/$subdocument
+</section>

Powered by Google App Engine
This is Rietveld