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

Unified Diff: pages/circumvention/anoniframe-documentwrite.tmpl

Issue 29984560: Noissue - Make circumvention test automatable and add missing filters (Closed)
Patch Set: Created Jan. 17, 2019, 7:30 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
« no previous file with comments | « no previous file | pages/circumvention/inline-style-important.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/circumvention/anoniframe-documentwrite.tmpl
===================================================================
--- a/pages/circumvention/anoniframe-documentwrite.tmpl
+++ b/pages/circumvention/anoniframe-documentwrite.tmpl
@@ -16,12 +16,26 @@
}, 0);
</script>
+<style>
+iframe {
+ overflow: hidden;
+ width: 200px;
+ height: 200px;
+}
+
+.expected iframe {
+ width: 98px;
+ height: 98px;
+ padding: 98px;
+}
+</style>
+
<section class="site-panel">
<h2>Test case</h2>
<div class="testcase-container">
<p>
- Top frame: [<span class="testcase-circ-anoniframe-docwrite">This text should be hidden</span>]
+ Top frame: [<span class="testcase-circ-anoniframe-docwrite blocked">This text should be hidden</span>]
</p>
<p>
@@ -32,6 +46,8 @@
Subframe (document.write): [<iframe id="write"></iframe>]
</p>
</div>
+ <h3>Filters</h3>
+ <pre>{{ site_url|domain }}##.testcase-circ-anoniframe-docwrite</pre>
<h3>Related links</h3>
<p><a href="https://issues.adblockplus.org/ticket/3185">Issue #3185</a></p>
-</section>
+</section>
« no previous file with comments | « no previous file | pages/circumvention/inline-style-important.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld