[Webkit-unassigned] [Bug 267401] Explore the 'serialization' issue in getAttribute('transform')

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 29 21:35:29 PST 2024


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

--- Comment #5 from Karl Dubost <karlcow at apple.com> ---
https://searchfox.org/wubkat/rev/e65977cbea63da31c3c8c9644d8384bb27fe46d0/Source/WebCore/svg/SVGTransformValue.h#189-216

SVGTransformList::valueAsString() calls the list of items in the transform and make a loop and add the serialized values separated by spaces.

1. append a prefix, for example "scale("
2. call an appendSomething function depending on type, for example appendScale(builder)
3. This is calling appendFixedPrecisionNumbers
4. which in the end will add the closing parenthesis. ")"

here in https://searchfox.org/wubkat/rev/e65977cbea63da31c3c8c9644d8384bb27fe46d0/Source/WebCore/svg/SVGTransformValue.h#246-254

It adds a space instead of a comma.

-- 
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/20240130/fabe586c/attachment.htm>


More information about the webkit-unassigned mailing list