Issue 825: SVG failing to draw a line
http://code.google.com/p/chromium/issues/detail?id=825

Comment #3 by [EMAIL PROTECTED]:
This is caused by this path verb:

L 255,729111053958333696

That massive (~2^60) y coordinate actually causes three problems. First,  
the version
of the WebKit's SVG number parser we're using can't handle that gargantuan  
number; it
uses a regular int to hold the value before converting it to float, which  
ends up in
massive 32-bit overflow. I don't know if WebKit has fixed this in a newer  
version,
but since Safari works they're obviously doing something different from  
what we're
doing. Second, our sanity checks on coordinates (before feeding them to  
Skia) takes
one look at that value and says "no way", so Skia never tries to draw the  
path. And
third, even if I override the sanity check, Skia chokes hard on that  
mammoth coordinate.



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to chromium-bugs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to