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

Side by Side Diff: pages/filters/script.tmpl

Issue 29865555: Issue 6885 - Indicate the expected outcome of the test pages though CSS (Closed)
Patch Set: Created Aug. 26, 2018, 5:56 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pages/filters/object.tmpl ('k') | pages/filters/stylesheet.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 title = $script 1 title = $script
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 8
9 <section class="site-panel"> 9 <section class="site-panel">
10 <h2>$script</h2> 10 <h2>$script</h2>
11 <p>Check that usage of the $script filter option works as expected.</p> 11 <p>Check that usage of the $script filter option works as expected.</p>
12 <p>With the filter displayed below each test case added to ABP (or with the te stcase subscription installed and active), the scripts in each test case panel s hould be blocked but the images should not.</p> 12 <p>With the filter displayed below each test case added to ABP (or with the te stcase subscription installed and active), the scripts in each test case panel s hould be blocked but the images should not.</p>
13 </section> 13 </section>
14 14
15 <section class="site-panel"> 15 <section class="site-panel">
16 <h2>Test case</h2> 16 <h2>Test case</h2>
17 <p>The script should be blocked. The image should not be blocked.</p> 17 <p>The script should be blocked. The image should not be blocked.</p>
18 <div class="testcase-container"> 18 <div class="testcase-container">
19 <div class="testcase-row"> 19 <div class="testcase-row">
20 <h3>Script</h3><div id="testcase-scripttarget"></div> 20 <h3>Script</h3><div id="testcase-scripttarget" class="trap">&nbsp;</div>
21 </div> 21 </div>
22 <div class="testcase-row"> 22 <div class="testcase-row">
23 <h3>Image</h3><img class="testcase-image" src="/testcasefiles/script/image .jpg"/> 23 <h3>Image</h3><img class="testcase-image" src="/testcasefiles/script/image .jpg"/>
24 </div> 24 </div>
25 </div> 25 </div>
26 <h3>Filters</h3> 26 <h3>Filters</h3>
27 <pre>testpages.adblockplus.org/testcasefiles/script/$script</pre> 27 <pre>testpages.adblockplus.org/testcasefiles/script/$script</pre>
28 </section> 28 </section>
29 29
30 <script src="/testcasefiles/script/script.js"></script> 30 <script src="/testcasefiles/script/script.js"></script>
OLDNEW
« no previous file with comments | « pages/filters/object.tmpl ('k') | pages/filters/stylesheet.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld