Summary: | % width/height on nested <svg> tags do not work | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> | ||||||
Component: | SVG | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | ||||||||
Priority: | P3 | ||||||||
Version: | 420+ | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.4 | ||||||||
Attachments: |
|
Description
Eric Seidel (no email)
2006-01-30 00:44:13 PST
Created attachment 6102 [details]
Simple test case
Created attachment 7597 [details]
Proposed fix
Comment on attachment 7597 [details]
Proposed fix
+ lazy_create<SVGAnimatedLength>(m_width, (SVGStyledElement *)ownerDocument()->documentElement() == this ? 0 : this, LM_WIDTH, viewport);
You should remove the typecast to (SVGStyledElement*). It's not needed.
Anyway, r=me
Comment on attachment 7597 [details]
Proposed fix
beautiful test case rob!
|