Bug 17424 - REGRESSION: SVG properly positioned only upon Redraw
Summary: REGRESSION: SVG properly positioned only upon Redraw
Status: CLOSED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P1 Major
Assignee: Nobody
URL: http://www.codedread.com/browser-test...
Keywords: Regression
Depends on:
Blocks:
 
Reported: 2008-02-18 08:53 PST by Jeff Schiller
Modified: 2010-01-17 17:54 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Schiller 2008-02-18 08:53:40 PST
http://www.codedread.com/browser-tests/test-svg-reflow.xhtml

Works in Firefox, Opera, Safari 3.  Does not work in Webkit r30236 (green box should stay stuck to the right side of the window upon resize.  It only displays properly upon forcing a redraw/reload.
Comment 1 Robert Blaut 2008-02-18 09:11:59 PST
Confirmed also on Mac OS X.
Comment 2 arnorv 2008-03-19 07:35:18 PDT
Does not work in Safari 3.1.
Comment 3 Eric Seidel (no email) 2008-11-11 10:50:00 PST
Likely the SVG container layout optimizations which are causing this.  Not sure.  Possibly related to how RenderPath caches its absolute bounds     IntRect m_absoluteBounds;
Comment 4 Nikolas Zimmermann 2010-01-17 17:33:14 PST
Bug confirmed, will be fixed by 33776.

*** This bug has been marked as a duplicate of bug 33776 ***
Comment 5 Jeff Schiller 2010-01-17 17:39:43 PST
Odd since this test has nothing to do with <use> but I won't complain :)
Comment 6 Nikolas Zimmermann 2010-01-17 17:54:40 PST
Eek, Jeff you are right! I meant to say, this is fixed in trunk :-)
I mixed it up, because I already landed the parts fixing this testcase, but it was part of the preparation work for the <use> patch.