Skip to content

Commit 04df855

Browse files
committed
Add an empty CSS Attribute matcher.
1 parent 962e1e5 commit 04df855

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Aztec/Classes/Libxml2/DOM/Logic/CSS/CSSAttributeMatcher.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ import Foundation
33
public protocol CSSAttributeMatcher {
44
func check(_ cssAttribute: CSSAttribute) -> Bool
55
}
6+
7+
open class NeverCSSAttributeMatcher: CSSAttributeMatcher {
8+
public func check(_ cssAttribute: CSSAttribute) -> Bool {
9+
return false
10+
}
11+
}

0 commit comments

Comments
 (0)