Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-browser-engine

Source of release 0.6.0

0.6.0 / tests / libweb / Ref / expected / svg-as-img-with-script-ref.html

<!DOCTYPE html>
<style>svg { display: block; }</style>
<p>SVG scripts must not execute when loaded as an image.</p>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100">
  <rect width="100" height="100" fill="green"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100">
  <rect width="100" height="100" fill="green"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100">
  <rect width="50" height="100" fill="green"/>
  <rect x="50" width="50" height="100" fill="green"/>
</svg>