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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 27 11:53:28 PST 2012


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





--- Comment #7 from Nikolas Zimmermann <zimmermann at kde.org>  2012-02-27 11:53:29 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > > Source/WebCore/rendering/RenderBlockLineLayout.cpp:1453
> > > +    layoutPercentHeightDescendants();
> > 
> > Doesn't this cause changes for inline children of RenderBlocks in general? Are we doing unnecessary work for HTML? Is HTML maybe affected as well by this bug (inline percent height elements not reacting to size changes).
> 
> Good point. Based on my initial tracing, it seemed that this is needed to get percent height/width inline elements working. But thanks to your question I took another dive and realized that HTML inline percent elements work just fine (and without using the global percent-height descendant map) thanks to this little nugget I missed in RenderBlock::layoutInlineChildren():

Are there cases where we still need that map? Can you investigate again to construct a testcase for this? I feel we're still failing in some cases of the percentage calculations. (I'd compare which HTML construct depends on the map, and see how it affects svg)

-- 
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