[Bug 26704] New: ElementRect uses doubles instead of JSON compatible number type

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

            Bug ID: 26704
           Summary: ElementRect uses doubles instead of JSON compatible
                    number type
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDriver
          Assignee: public-browser-tools-testing@w3.org
          Reporter: ato@mozilla.com
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org

The x/y/height/width properties of ElementRect are defined as doubles [1]. 
Since pixels are defined in the CSS 3 Values specification as of the type
NUMBER [2] we should make sure to use a JSON compatible data type, number [3].

Possibly this bug is a covered by bug 26275.

1.
https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html#attributes-2
2. http://www.w3.org/TR/css3-values/#attr-notation
3. http://www.ietf.org/rfc/rfc4627.txt

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

Received on Tuesday, 2 September 2014 05:38:17 UTC