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

Side by Side Diff: pages/exceptions/stylesheet.tmpl

Issue 29874607: Issue 6769 - Avoid hardcoding the URL (Closed)
Patch Set: Rebased Created Sept. 24, 2018, 1:37 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/exceptions/script.tmpl ('k') | pages/exceptions/subdocument.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 = $stylesheet Exception 1 title = $stylesheet 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 <link rel="stylesheet" href="/testcasefiles/stylesheetexception/stylesheet.css"> 8 <link rel="stylesheet" href="/testcasefiles/stylesheetexception/stylesheet.css">
9 9
10 <section class="site-panel"> 10 <section class="site-panel">
11 <h2>$stylesheet Exception</h2> 11 <h2>$stylesheet Exception</h2>
12 <p>Check that usage of the $stylesheet filter option in an exception filter wo rks as expected.</p> 12 <p>Check that usage of the $stylesheet filter option in an exception filter wo rks as expected.</p>
13 <p>With the filter(s) displayed below each test case added to ABP (or with the testcase subscription installed and active), the image should be blocked while the stylesheet should not be.</p> 13 <p>With the filter(s) displayed below each test case added to ABP (or with the testcase subscription installed and active), the image should be blocked while the stylesheet should not be.</p>
14 </section> 14 </section>
15 15
16 <section class="site-panel"> 16 <section class="site-panel">
17 <h2>Test case</h2> 17 <h2>Test case</h2>
18 <div class="testcase-container"> 18 <div class="testcase-container">
19 <div class="testcase-row"> 19 <div class="testcase-row">
20 <h3>Image</h3> 20 <h3>Image</h3>
21 <img class="blocked" src="/testcasefiles/stylesheetexception/image.jpg"/> 21 <img class="blocked" src="/testcasefiles/stylesheetexception/image.jpg"/>
22 </div> 22 </div>
23 <div class="testcase-row"> 23 <div class="testcase-row">
24 <h3>Stylesheet</h3> 24 <h3>Stylesheet</h3>
25 <div class="testcase-teststylesheet"></div> 25 <div class="testcase-teststylesheet"></div>
26 </div> 26 </div>
27 </div> 27 </div>
28 <h3>Filters</h3> 28 <h3>Filters</h3>
29 <pre>||testpages.adblockplus.org/testcasefiles/stylesheetexception/*</pre> 29 <pre>||{{ site_url|strip_proto }}/testcasefiles/stylesheetexception/*</pre>
30 <pre>@@testpages.adblockplus.org/testcasefiles/stylesheetexception/$stylesheet </pre> 30 <pre>@@{{ site_url|strip_proto }}/testcasefiles/stylesheetexception/$styleshee t</pre>
31 </section> 31 </section>
OLDNEW
« no previous file with comments | « pages/exceptions/script.tmpl ('k') | pages/exceptions/subdocument.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld