[Webkit-unassigned] [Bug 261656] [SVG2] Allow leading and trailing whitespace in svg attributes using <integer>, <angle>, <number>, <length> and <percentage>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 21 19:15:11 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=261656

--- Comment #2 from Karl Dubost <karlcow at apple.com> ---
Related(?) to
https://searchfox.org/wubkat/rev/f997a9edb80cd79caeb1d0a1b87610ffd7a56e88/Source/WebCore/svg/SVGStopElement.cpp#53-63

It converts to float but doesn't to check if the input value if the value looks like a float before converting it to a float. 

The patch from Chromium contains a parseNumber 
https://src.chromium.org/viewvc/blink/trunk/Source/core/svg/SVGParserUtilities.cpp?annotate=175785&pathrev=175785#l230


I wonder if it exists in WebKit?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230922/97980839/attachment.htm>


More information about the webkit-unassigned mailing list