[Bug 20640] New: checking for infinity and nan values in window.scroll

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20640

            Bug ID: 20640
           Summary: checking for infinity and nan values in window.scroll
    Classification: Unclassified
           Product: CSS
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSSOM View
          Assignee: dave.null@w3.org
          Reporter: svitlant@microsoft.com
        QA Contact: public-css-bugzilla@w3.org

Hello,

Step 1 of window.scroll algorithm
(http://www.w3.org/TR/cssom-view/#dom-window-scroll) is to check whether the
coordinates x and y are infinite or nan. However, the signature of the scroll
method indicates that the type of those variables is "long", making infinite
and nan values impossible.

Is it possible that the original intention was to make the coordinate values
float or double? Otherwise, should this step exist at all?

The survey of the major browsers shows that this step is ignored (tested IE9,
Chrome, Firefox).

Thanks,
Svitlana

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 11 January 2013 02:46:30 UTC