Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<title>Rendering of an &lt;img> embedding an SVG with a near-integral width</title>
<link rel="help" href="https://crbug.com/1392140">
<link rel="match" href="image-embedding-svg-with-near-integral-width-ref.html">
<img src="data:image/svg+xml,
<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'>
<rect width='100%' height='100%' fill='red'/>
</svg>
" style="left: 7.5px; top: 8px; position: absolute">
<img src="data:image/svg+xml,
<svg xmlns='http://www.w3.org/2000/svg' width='99.99999' height='100'>
<rect width='100%' height='100%' fill='green'/>
</svg>
" style="left: 7.5px; top: 8px; position: absolute">