W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2014

[Bug 26001] New: [Shadow]: The type of arguments of ShadowRoot.ElementFromPoint must be `double` instead of `float`

From: <bugzilla@jessica.w3.org>
Date: Fri, 06 Jun 2014 02:00:38 +0000
To: public-webapps@w3.org
Message-ID: <bug-26001-2927@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26001

            Bug ID: 26001
           Summary: [Shadow]: The type of arguments of
                    ShadowRoot.ElementFromPoint must be `double` instead
                    of `float`
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: hayato@chromium.org
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org
            Blocks: 14978

WebIDL checker found this minor issue. That said:

> unless there are specific reasons to use a 32 bit floating point type, specifications SHOULD use double rather than float.

Document.ElementFromPoint(..) also uses `double`. See
http://dev.w3.org/csswg/cssom-view/#dom-document-elementfrompoint

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 6 June 2014 02:00:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:24 UTC