Skip to content

Commit 4763493

Browse files
authored
Add note about inline styling
1 parent c46a9df commit 4763493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This module uses an instance of Chromium to render a page. This has the benefit
4444
that most of the styles can be rendered, even when generated by JavaScript. The
4545
[Puppeteer CSSCoverage API](https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#coveragestartcsscoverageoptions)
4646
is the power behind finding most of the CSS. Additionally, the
47-
`document.styleSheets` API is used to get CSS-in-JS styling.
47+
`document.styleSheets` API is used to get CSS-in-JS styling. Lastly, a plain old `document.querySelectorAll('[style]')` finds all inline styling.
4848

4949
## API
5050

0 commit comments

Comments
 (0)