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

Unified Diff: pages/testcases/generic/06.md

Issue 29325987: Issue 616 - Add some tests for generic hide + block (Closed)
Patch Set: Created Sept. 5, 2015, 3:27 p.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/testcases/generic/06.md
diff --git a/pages/testcases/generic/06.md b/pages/testcases/generic/06.md
new file mode 100644
index 0000000000000000000000000000000000000000..223d1e63f768353f589b81070a237b93cf13fd57
--- /dev/null
+++ b/pages/testcases/generic/06.md
@@ -0,0 +1,29 @@
+title = ABP Test Pages
+template = testcase
+testcaseid = GENERIC-06
+
+An image hidden with an exception-only generic hiding rule should not be whitelisted by $generichide.
+
+<h3>Feature check</h3>
+Exception only generic hiding rules should be whitelisted:
+<table class="abp-feature-table">
+<tr>
+ <th>IE</th>
+ <th>Firefox</th>
+ <th>Chrome</th>
+ <th>Opera</th>
+ <th>Safari</th>
+</tr>
+<tr>
+ <td>No</td>
+ <td>Yes</td>
+ <td>Yes</td>
+ <td>???</td>
+ <td>???</td>
+</tr>
+</table>
+
+<h3>Test case</h3>
+<div style="background-image: url(/images/testcase-fail.png); width: 235px; height: 50px;">
+ <img id="abp-testsuite-tohide-exceptiononly" src="/images/testcase-pass.png" />
+</div>

Powered by Google App Engine
This is Rietveld