Bug 83754 - When including an SVG with <script> in a HTML page, the SVG is not rendered
Summary: When including an SVG with <script> in a HTML page, the SVG is not rendered
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-12 00:55 PDT by Jan Koranda
Modified: 2012-04-12 13:39 PDT (History)
2 users (show)

See Also:


Attachments
The HTML file containing SVG with SCRIPT (1.07 KB, text/html)
2012-04-12 00:55 PDT, Jan Koranda
no flags Details
The SVG file containing SVG with SCRIPT (1.14 KB, image/svg+xml)
2012-04-12 00:58 PDT, Jan Koranda
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.