fix style element corner case - historically we have recorded duplicated css content in certain cases (demonstrated by the attached replayer test). This fix ensures that the replayer doesn't doubly add the content, which can cause problems when further mutations occur --------- Review and further tests contributed by: Eoghan Murray <eoghan@getthere.ie>
142 B
142 B
rrweb-snapshot, rrweb
| rrweb-snapshot | rrweb |
|---|---|
| patch | patch |
fix: duplicate textContent for style elements cause incremental style mutations to be invalid