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

# getMatchedCSSRules(_:pseudoElement:)

## Declaration

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