aboutsummaryrefslogtreecommitdiff
path: root/exampleData/ruleSets/colorRulesRF.json
diff options
context:
space:
mode:
Diffstat (limited to 'exampleData/ruleSets/colorRulesRF.json')
-rw-r--r--exampleData/ruleSets/colorRulesRF.json20
1 files changed, 0 insertions, 20 deletions
diff --git a/exampleData/ruleSets/colorRulesRF.json b/exampleData/ruleSets/colorRulesRF.json
deleted file mode 100644
index 36ef0af..0000000
--- a/exampleData/ruleSets/colorRulesRF.json
+++ /dev/null
@@ -1,20 +0,0 @@
-/* colorRules.json
- * Author: Benjamin Jones <bjones@galois.com>
- *
- * Simple rules for checking that the colors of specific elements are in a specific set.
- * Test using exampleData/basic/testColorRules.html
- */
-
-{ 'name': "Colors are in a specified set"
-, 'description': "All background and foreground colors used on a page should be in a specificed set"
-, 'rules': [
- { 'name': "Foregrounds"
- , 'description': "Foreground colors should be in the set:"+
- "'#0, #FFFFFF, #3D3D3D, #B4B4B4, #4E4E4E, #C2C2C2, #F7F7F7"
- , 'rule': function () {
- (fiveui.color.colorCheck(':visible', [ '#0', '#000000', '#FFFFFF', '#3D3D3D', '#B4B4B4', '#4E4E4E', '#C2C2C2', '#F7F7F7' ]))();
- },
- 'id': 1
- }
- ]
-}