[Webkit-unassigned] [Bug 79490] Percent width/height SVG not always scaled on window resize

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 24 08:23:35 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=79490





--- Comment #1 from Florin Malita <fmalita at google.com>  2012-02-24 08:23:35 PST ---
I tracked this down to a couple of problems:

* After the SVG/CSS width/height property separation, RenderReplaced::computePreferredLogicalWidths() no longer catches SVG percent widths; m_minPreferredLogicalWidth is set on the first layout and never reset again (even if the window is shrunk).

* For vertical-only resize, no layout is being triggered on the SVG root element as RenderBlock short-circuits the process. There is some infrastructure for making RenderBlock aware of percent-height descendants - I think we'll have to make use of it and register percent-height SVG elements as such.

I have a patch addressing these issues coming shortly.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list