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 {
4747 ! cssText . includes ( ' -webkit-background-clip: text;' )
4848 ) {
4949 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 ,
5151 ' -webkit-background-clip: text; background-clip: text;' ,
5252 ) ;
5353 }
Original file line number Diff line number Diff line change @@ -364,6 +364,12 @@ exports[`integration tests [html file]: picture-in-frame.html 1`] = `
364364 </body></html>"
365365`;
366366
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+
367373exports [` integration tests [html file]: preload.html 1` ] = `
368374"<!DOCTYPE html><html lang =\\"en\\"><head>
369375 <meta charset =\\"UTF-8\\" />
You can’t perform that action at this time.
0 commit comments