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

Unified Diff: pages/testcases/generic/02.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/01.md ('k') | pages/testcases/generic/03.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/testcases/generic/02.md
diff --git a/pages/testcases/generic/02.md b/pages/testcases/generic/02.md
new file mode 100644
index 0000000000000000000000000000000000000000..88eebafec04470d9e210e69b5fd32242795cdcff
--- /dev/null
+++ b/pages/testcases/generic/02.md
@@ -0,0 +1,29 @@
+title = ABP Test Pages
+template = testcase
+testcaseid = GENERIC-02
+
+An image hidden with a generic hiding rule and then whitelisted with $generichide.
+
+<h3>Feature check</h3>
+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" src="/images/testcase-pass.png" />
+</div>
« no previous file with comments | « pages/testcases/generic/01.md ('k') | pages/testcases/generic/03.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld