Bug 83754

Summary: When including an SVG with <script> in a HTML page, the SVG is not rendered
Product: WebKit Reporter: Jan Koranda <j.koranda>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: j.koranda, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
The HTML file containing SVG with SCRIPT
none
The SVG file containing SVG with SCRIPT none

Description Jan Koranda 2012-04-12 00:55:45 PDT
Created attachment 136840 [details]
The HTML file containing SVG with SCRIPT

When including an <SVG> tag with <script> in a HTML page, the SVG is not rendered and script not loaded. When including an SVG with <script> in a SVG file, the  SVG is rendered and script is loaded.

I include two attachments :
- Circle.html : the HTML file which includes the <SVG> with <SCRIPT>
- Circle.svg : the SVG file
Comment 1 Jan Koranda 2012-04-12 00:58:20 PDT
Created attachment 136842 [details]
The SVG file containing SVG with SCRIPT
Comment 2 Jan Koranda 2012-04-12 01:01:03 PDT
Comment on attachment 136840 [details]
The HTML file containing SVG with SCRIPT

Circle not rendered and script not loaded
Comment 3 Jan Koranda 2012-04-12 05:13:00 PDT
Sorry its fixed in nightly build. I tested WebKit-r112531 in windows and webkit show page correct.