What steps will reproduce the problem? 1. Open SVG file 2. Close Inspecting/Developer console if it is opened 3. Right mouse click on the red square 4. Select the 'Inspect element' item from the context menu What is the expected result? Displaying the source code in the console and highlighting the corresponding areas in the browser What happens instead? There is 'Aw, Snap!' message in the active tab. But console still displays the content. Please provide any additional information below. Attach a screenshot if possible. This is my test case: <?xml version='1.0' encoding='utf-8'?> <svg:svg xmlns:svg="http://www.w3.org/2000/svg" version="1.1"> <svg:defs> <svg:style type="text/css"> rect {fill: red} </svg:style> </svg:defs> <svg:rect width="100" height="100"/> </svg:svg> When that namespace is removed, it works properly. Otherwise it fails on any element name which is namespaced, but defined without the namespace in the style element. Works fine also when F12 is pressed instead of the mouse click event. Originally found in 17.0.932.0 dev channel but reproduced also in the current stable 15.0.874.120 version. Upstreaming http://code.google.com/p/chromium/issues/detail?id=103942
Created attachment 114939 [details] Patch
Committed r100251: <http://trac.webkit.org/changeset/100251>