mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
SVG taint fix, and additional taint testing options
This commit is contained in:
@@ -60,11 +60,13 @@
|
||||
|
||||
<img src="image.jpg" style="width:0px;height:0px;border:1px solid black" />
|
||||
<img src="image.jpg" style="width:0px;height:0px;" />
|
||||
|
||||
|
||||
<canvas id="testcanvas" style="width:100px;height:100px;"></canvas>
|
||||
<br />
|
||||
Image without src attribute, should not crash:
|
||||
<img style="width:50px;height:50px;border:1px solid red;display:block;" />
|
||||
|
||||
SVG taints image:<br /> <!-- http://fi.wikipedia.org/wiki/Tiedosto:Svg.svg -->
|
||||
<img src="image.svg" />
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user