WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 103304
106923
With of inline SVG element is not update after width attribute is updated
https://bugs.webkit.org/show_bug.cgi?id=106923
Summary
With of inline SVG element is not update after width attribute is updated
fearsome.lucidity
Reported
2013-01-15 10:34:41 PST
Create an SVG inline element with large width and height attributes inside a div element with a width and height smaller, thus generating vertical and horizontal scrollbars. Use some javascript to update the SVG width and hight to be smaller then the width and height of the containing div. Notice the vertical scrollbar disappears but the horizontal scrollbar does not. Open developer tools and verify the SVG attributes have changed. Observe that the computed height is the new updated height, but the computed width is the original width. Tested in Safari 6.0.2 (8536.26.17) Chrome 24.0.1312.52. Both fail. Firefox works correctly.
Attachments
Add attachment
proposed patch, testcase, etc.
fearsome.lucidity
Comment 1
2013-01-15 11:05:03 PST
Created this JsFiddle to repo:
http://jsfiddle.net/Qsg4j/
Philip Rogers
Comment 2
2013-01-15 20:12:42 PST
Marking as a duplicate of
https://bugs.webkit.org/show_bug.cgi?id=103304
. *** This bug has been marked as a duplicate of
bug 103304
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug