WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
112630
[SVG] Invalid attribute values should be ignored
https://bugs.webkit.org/show_bug.cgi?id=112630
Summary
[SVG] Invalid attribute values should be ignored
Florin Malita
Reported
2013-03-18 14:54:23 PDT
Created
attachment 193661
[details]
Shows a 100% width green band in FF and old Opera. Instead, we end up with zero-initialized attributes. This is a problem for attributes which should default to non-zero values or whose sheer presence affects the result. For example, width="invalid" should be equivalent to width="100%" (the spec'ed default) or with no width attribute at all. See attached example. To address this, it seems we'd have to also track whether or not a particular attribute was successfully parsed.
Attachments
Shows a 100% width green band in FF and old Opera.
(170 bytes, image/svg+xml)
2013-03-18 14:54 PDT
,
Florin Malita
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2022-07-15 16:09:58 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
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