Bug 14540
| Summary: | SVG elements not displayed when selected in DOM tree view | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> |
| Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | apavlov, timothy, zimmermann |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 523.x (Safari 3) | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://bugs.webkit.org/attachment.cgi?id=15185&action=view | ||
Alexey Proskuryakov
Steps to reproduce:
1. Open the bug URL
2. Open Web Inspector, try to select any rect or text element in tree view.
Results: the line disappears instead of being highlighted; the element is not highlighted in the page; the Styles pane is empty.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adam Roben (:aroben)
<rdar://problem/5712842>
Adam Roben (:aroben)
Sounds like an exception is being thrown when you select an SVG element in the DOM tree.
Alexander Pavlov (apavlov)
InspectorController::drawNodeHighlight highlights only nodes whose renderers are isBox() or isRenderInline().
Nikolas Zimmermann
Fixed in trunk since some weeks. All SVG nodes should get highlighted. Verified with the attached testcase as well.