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: Adjust for new dimensions of test + fail images Created Sept. 11, 2015, 2:14 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
« no previous file with comments | « pages/testcases/generic/05.md ('k') | pages/testcases/generic/index.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ce9722d81ef68b11195a7bc2e1df67647035a16d
--- /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: 250px; height: 50px;">
+ <img id="abp-testsuite-tohide-exceptiononly" src="/images/testcase-pass.png" />
+</div>
« no previous file with comments | « pages/testcases/generic/05.md ('k') | pages/testcases/generic/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld