[Webkit-unassigned] [Bug 35631] Crash when attempting to render certain SVGs
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 4 03:40:28 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=35631
--- Comment #7 from Dirk Schulze <krit at webkit.org> 2011-01-04 03:40:27 PST ---
(In reply to comment #6)
> (In reply to comment #4)
> >
> > it also looks like we have a parsing bug:
> >
> > height=" 270"
> >
> > We don't ignore leading zeros.
>
> It would be incorrect to ignore leading zeros. http://www.w3.org/TR/SVG/types.html#DataTypeLength
At first sorry for my typing error, I meant spaces instead of zeros. Nevertheless, you're right Robert.
<svg xmlns="http://www.w3.org/2000/svg">
<rect x="0" y="0" width=" 100" height="10" fill="red"/>
<rect x="0" y="20" width="100 " height="10" fill="red"/>
</svg>
Both, WebKit and Firefox, don't draw the rects. And this is correct according to the spec.
--
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