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 81591
81981
SVG Viewbox should account for borders on SVG element
https://bugs.webkit.org/show_bug.cgi?id=81981
Summary
SVG Viewbox should account for borders on SVG element
Stephen Chenney
Reported
2012-03-22 15:53:32 PDT
Created
attachment 133373
[details]
test case When an SVG element in general HTML has a non-zero-width border, the viewbox is currently sized assuming that the border is absent. But the border intrudes into the SVG element, as it should, and this makes the effective area for the viewport smaller. THe viewport should decide on its transform accounting for the border on its enclosing box.
Attachments
test case
(1022 bytes, text/html)
2012-03-22 15:53 PDT
,
Stephen Chenney
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Stephen Chenney
Comment 1
2012-03-22 15:53:50 PDT
Chromium
http://code.google.com/p/chromium/issues/detail?id=118108
Dirk Schulze
Comment 2
2012-03-22 16:10:41 PDT
(In reply to
comment #0
)
> Created an attachment (id=133373) [details] > test case > > When an SVG element in general HTML has a non-zero-width border, the viewbox is currently sized assuming that the border is absent. But the border intrudes into the SVG element, as it should, and this makes the effective area for the viewport smaller. THe viewport should decide on its transform accounting for the border on its enclosing box.
Ha! That sounds stupid :D
Eric U.
Comment 3
2012-03-26 17:08:21 PDT
Sorry-I should have linked earlier. I already upstreamed this bug, and Dirk Schulze says it's fixed. *** This bug has been marked as a duplicate of
bug 81591
***
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