-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
fix: duplicate textContent for style element cause incremental style mutation invalid #1417
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
Changes from 1 commit
4272390
0c90863
8c5a69f
c294538
5d18b46
8825d53
3e00f09
a83dc52
9331f17
226bd9b
9256f7e
55dbb38
71245d7
d1fba35
1e8a670
5211578
d778c77
2a91f6f
02a50bc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1592,7 +1592,7 @@ export class Replayer { | |
| ) { | ||
| // https://github.com/rrweb-io/rrweb/pull/1417 | ||
| /** | ||
| * If both _cssText and textContent are present for a style element due to some exist bugs, the element will have two child text nodes. | ||
| * If both _cssText and textContent are present for a style element due to some existing bugs, the element will have two child text nodes. | ||
| * We need to remove the textNode created by _cssText to avoid issue. | ||
eoghanmurray marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| */ | ||
| for (const cssText of childNodeArray as (Node & RRNode)[]) { | ||
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.