RESOLVED FIXED 6930
% width/height on nested <svg> tags do not work
https://bugs.webkit.org/show_bug.cgi?id=6930
Summary % width/height on nested <svg> tags do not work
Eric Seidel (no email)
Reported 2006-01-30 00:44:13 PST
% width/height on nested <svg> tags do not work I'm not sure how visible this bug is, as I'm not sure how many svgs use nested <svg> tags. Should be a simple fix.
Attachments
Simple test case (261 bytes, image/svg+xml)
2006-01-30 00:46 PST, Eric Seidel (no email)
no flags
Proposed fix (3.79 KB, patch)
2006-04-09 06:33 PDT, Rob Buis
darin: review+
Eric Seidel (no email)
Comment 1 2006-01-30 00:46:13 PST
Created attachment 6102 [details] Simple test case
Rob Buis
Comment 2 2006-04-09 06:33:13 PDT
Created attachment 7597 [details] Proposed fix
Darin Adler
Comment 3 2006-04-09 09:10:05 PDT
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
Eric Seidel (no email)
Comment 4 2006-04-09 12:31:39 PDT
Comment on attachment 7597 [details] Proposed fix beautiful test case rob!
Note You need to log in before you can comment on or make changes to this bug.