|
@@ -268,7 +268,7 @@ var policies = {
|
|
"message": "<p>Universal selectors are the most expensive CSS selectors.</p><p>More informations <a href=\"http://perfectionkills.com/profiling-css-for-fun-and-profit-optimization-notes/\" target=\"_blank\">here</a>.</p>",
|
|
"message": "<p>Universal selectors are the most expensive CSS selectors.</p><p>More informations <a href=\"http://perfectionkills.com/profiling-css-for-fun-and-profit-optimization-notes/\" target=\"_blank\">here</a>.</p>",
|
|
"isOkThreshold": 0,
|
|
"isOkThreshold": 0,
|
|
"isBadThreshold": 40,
|
|
"isBadThreshold": 40,
|
|
- "isAbnormalThreshold": 80
|
|
|
|
|
|
+ "isAbnormalThreshold": 150
|
|
},
|
|
},
|
|
"cssRedundantBodySelectors": {
|
|
"cssRedundantBodySelectors": {
|
|
"tool": "phantomas",
|
|
"tool": "phantomas",
|
|
@@ -276,7 +276,7 @@ var policies = {
|
|
"message": "<p>This is one way to remove complexity from a CSS rule. Generally, when \"body\" is specified in a rule it can be removed, because an element is necessarily inside the body.</p>",
|
|
"message": "<p>This is one way to remove complexity from a CSS rule. Generally, when \"body\" is specified in a rule it can be removed, because an element is necessarily inside the body.</p>",
|
|
"isOkThreshold": 0,
|
|
"isOkThreshold": 0,
|
|
"isBadThreshold": 50,
|
|
"isBadThreshold": 50,
|
|
- "isAbnormalThreshold": 150
|
|
|
|
|
|
+ "isAbnormalThreshold": 200
|
|
},
|
|
},
|
|
"cssRedundantChildNodesSelectors": {
|
|
"cssRedundantChildNodesSelectors": {
|
|
"tool": "phantomas",
|
|
"tool": "phantomas",
|
|
@@ -284,7 +284,7 @@ var policies = {
|
|
"message": "<p>Some tags included inside other tags are obvious. For example, when \"ul li\" is specified in a rule, \"ul\" can be removed because the \"li\" element is <b>always</b> inside a \"ul\". Same thing for \"tr td\", \"select option\", ...</p><p>Lowering compexity in CSS selectors can make the page load a little faster.</p>",
|
|
"message": "<p>Some tags included inside other tags are obvious. For example, when \"ul li\" is specified in a rule, \"ul\" can be removed because the \"li\" element is <b>always</b> inside a \"ul\". Same thing for \"tr td\", \"select option\", ...</p><p>Lowering compexity in CSS selectors can make the page load a little faster.</p>",
|
|
"isOkThreshold": 0,
|
|
"isOkThreshold": 0,
|
|
"isBadThreshold": 50,
|
|
"isBadThreshold": 50,
|
|
- "isAbnormalThreshold": 150
|
|
|
|
|
|
+ "isAbnormalThreshold": 200
|
|
},
|
|
},
|
|
"requests": {
|
|
"requests": {
|
|
"tool": "phantomas",
|
|
"tool": "phantomas",
|