[Webkit-unassigned] [Bug 94352] New: value.toFloat() accepts percentage but shouldn't for number values
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 17 09:42:31 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=94352
Summary: value.toFloat() accepts percentage but shouldn't for
number values
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: krit at webkit.org
CC: zimmermann at kde.org, pdr at google.com,
fmalita at chromium.org
Created an attachment (id=159143)
--> (https://bugs.webkit.org/attachment.cgi?id=159143&action=review)
feOffset, where dx/dy have 50% as value
For parsing <number> values in SVG, we use toFloat(). Sadly this function is not very restrictive. E.g. "50%" gets parsed as 50. Which shouldn't be the case.
--
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