File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " rrweb-snapshot " : patch
3
+ " rrweb " : patch
4
+ ---
5
+
6
+ Fixup for multiple background-clip replacement
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ function fixBrowserCompatibilityIssuesInCSS(cssText: string): string {
47
47
! cssText . includes ( ' -webkit-background-clip: text;' )
48
48
) {
49
49
cssText = cssText . replace (
50
- ' background -clip: text;' ,
50
+ / \s b a c k g r o u n d - c l i p : \s * t e x t ; / g ,
51
51
' -webkit-background-clip: text; background-clip: text;' ,
52
52
) ;
53
53
}
Original file line number Diff line number Diff line change @@ -364,6 +364,12 @@ exports[`integration tests [html file]: picture-in-frame.html 1`] = `
364
364
</body></html>"
365
365
`;
366
366
367
+ exports[`integration tests [html file]: picture-with-inline-onload.html 1`] = `
368
+ " <html xmlns=\\" http://www.w3.org/1999/xhtml\\"><head></head><body>
369
+ <img src =\\"http://localhost:3030/images/robot.png\\" alt =\\"This is a robot\\" style =\\"opacity: 1;\\" _onload =\\"this.style.opacity=1\\" />
370
+ </body></html>"
371
+ ` ;
372
+
367
373
exports [` integration tests [html file]: preload.html 1` ] = `
368
374
"<!DOCTYPE html><html lang =\\"en\\"><head>
369
375
<meta charset =\\"UTF-8\\" />
You can’t perform that action at this time.
0 commit comments