---
title: "getMatchedCSSRules(_:pseudoElement:authorOnly:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/domdocument/getmatchedcssrules(_:pseudoelement:authoronly:)"
---

# getMatchedCSSRules(_:pseudoElement:authorOnly:)

## Declaration

```swift
func getMatchedCSSRules(_ element: DOMElement!, pseudoElement: String!, authorOnly: Bool) -> DOMCSSRuleList!
```
