[Webkit-unassigned] [Bug 203711] New: SVGAnimatedNumber should throw a TypeError exception when setting its baseVal to NaN or Infinity

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 31 18:12:41 PDT 2019


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

            Bug ID: 203711
           Summary: SVGAnimatedNumber should throw a TypeError exception
                    when setting its baseVal to NaN or Infinity
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: zimmermann at kde.org

The specs: https://www.w3.org/TR/SVG/types.html#InterfaceSVGAnimatedNumber do not say that this should happen. But the WPT test https://wpt.fyi/results/svg/types/scripted/SVGAnimatedNumber.html?label=master&label=experimental&aligned expects this to happen.

I think throwing an exception and keeping the value unchanged is much better than setting it to NaN.

-- 
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/20191101/c0e49145/attachment.htm>


More information about the webkit-unassigned mailing list