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

Delta Between Two Patch Sets: pages/exceptions/document.tmpl

Issue 29874607: Issue 6769 - Avoid hardcoding the URL (Closed)
Left Patch Set: Created Sept. 4, 2018, 4:23 p.m.
Right 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « pages/abp-testcase-subscription.txt.tmpl ('k') | pages/exceptions/element-hiding.tmpl » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 title = $document Exception 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 <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>
12 </section> 12 </section>
13 13
14 <section class="site-panel"> 14 <section class="site-panel">
15 <h2>Test case</h2> 15 <h2>Test case</h2>
16 <div class="testcase-container"> 16 <div class="testcase-container">
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 <div class="testcase-contentaside stripes-green testcase-ex-document">Target< /div>
19 <img class="testcase-contentaside stripes-green" src="/testcasefiles/document /image.jpg"> 19 <img class="testcase-contentaside stripes-green" src="/testcasefiles/document /image.jpg">
20 <div class="testcase-content stripes-grey">Content</div> 20 <div class="testcase-content stripes-grey">Content</div>
21 </div> 21 </div>
22 <h3>Filters</h3> 22 <h3>Filters</h3>
23 <pre>{{ site_url|strip_proto }}##.testcase-ex-document</pre> 23 <pre>{{ site_url|domain }}##.testcase-ex-document</pre>
24 <pre>||{{ site_url|strip_proto }}/testcasefiles/document/*</pre> 24 <pre>||{{ site_url|strip_proto }}/testcasefiles/document/*</pre>
25 <pre>@@{{ site_url|strip_proto }}/en/exceptions/document^$document</pre> 25 <pre>@@{{ site_url|strip_proto }}/en/exceptions/document^$document</pre>
26 </section> 26 </section>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld