Re: filterRes

2009/7/14 Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>

> another problem I observed for filterRes comparing the behaviour
> of Opera and the adobe plugin is, what happens ich non-integers
> are noted as attribute values.
> Because filterRes is specified to be of the type
> <number-optional-number>
> such values as '0.5' or '4.2 4.8' are possible,
> however the interpretation seems to be undefined
> or is different in viewers. Opera seems to round
> down non-integers, the adobe plugin rounds to
> the nearest integer (I did not look into detail for
> the case integer+0.5). This results in different
> effects especially within animation to fade in/out
> objects by changing the filterRes to small
> numbers (continuously).
>

We (Mozilla) round to the nearest integer, rounding 0.5 up to 1. I agree the
spec need to specify the rounding method.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]

Received on Wednesday, 15 July 2009 02:27:40 UTC