Re: [svgwg] What should SVGStyleElement.type return when type attribute is missing? (#996)

Oh fun. 

`data:text/html,<style id="style"></style><script>alert(style.type);</script>`

This currently sends an empty alert. 

<img width="2467" height="737" alt="Image" src="https://github.com/user-attachments/assets/7c4e7d49-d942-4153-98f7-4f9d65682c6e" />

-- 
GitHub Notification of comment by karlcow
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/996#issuecomment-3212679051 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 22 August 2025 01:28:27 UTC