Skip to content
This repository was archived by the owner on Dec 7, 2022. It is now read-only.

Commit b360bbb

Browse files
author
Alice Boxhall
committed
Remove short circuit
1 parent 36c574c commit b360bbb

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/js/AuditRule.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,6 @@ axs.AuditRule.collectMatchingElements = function(scope, matcher, collection, opt
133133
* @return boolean
134134
*/
135135
function relevantElementCollector(element) {
136-
if (axs.utils.elementHasNonVisibleStyle(element))
137-
return false;
138136
if (opt_ignoreSelectors) {
139137
for (var i = 0; i < opt_ignoreSelectors.length; i++) {
140138
if (axs.browserUtils.matchSelector(element, opt_ignoreSelectors[i]))

0 commit comments

Comments
 (0)