Wed 17 Feb 2016 05:27:57 PM UTC, comment #3:
I have made more test SWFs that tries to use other improbable stroke sizes
like negative number, `Infinity`, `-Infinity`, `NaN`, `null`, non-number
String, numeric String, `true`, `false`, attached as `impossiblestrokes.zip`
(rendering screenshots on Gnash and Flash Player also included).
Gnash seems to render most tests in this set correctly, except the `Infinity`
stroke size; Flash Player treated it as 0 (hairline stroke), but Gnash
treated it like a largest stroke size (255-px).
http://i.imgur.com/KXayjIe.png
This is a correct result from viewing `infstroke.html` on browser with
Flash Player. You'll see that the orange square has a hairline stroking.
http://i.imgur.com/XmGR4K5.png
This is an image result from viewing `infstroke.html` on browser with
current Gnash 0.8.11dev git. You'll see that there's a very thick stroke
around the orange square.
Gnash: 0.8.11dev (git 051aa9c 15-Feb-2016) NPAPI
Flash Player: 11.2 r202 (11.2.202.491) NPAPI binary
Browser: Iceweasel 10.0.12 (debian)
System: Debian GNU/Linux 7.0 Wheezy i386
P.S. Screenshots were captured at 2x of original SWF dimension to emphasize
the difference between hairline stroke and 1-px stroke.
(file #36368)
|