Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: nested stylesheets should have absolute URLs #1533

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply formatting changes
eoghanmurray authored and jeffdnguyen committed Jul 17, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 0c0ceb9c0640f26d1dbb293daead991019ee81fa
5 changes: 1 addition & 4 deletions packages/rrweb-snapshot/src/utils.ts
Original file line number Diff line number Diff line change
@@ -108,10 +108,7 @@ export function stringifyStylesheet(s: CSSStyleSheet): string | null {
}
}

export function stringifyRule(
rule: CSSRule,
sheetHref: string | null,
): string {
export function stringifyRule(rule: CSSRule, sheetHref: string | null): string {
let importStringified;
if (isCSSImportRule(rule)) {
try {