This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26001 - [Shadow]: The type of arguments of ShadowRoot.ElementFromPoint must be `double` instead of `float`
Summary: [Shadow]: The type of arguments of ShadowRoot.ElementFromPoint must be `doubl...
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Hayato Ito
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 14978
  Show dependency treegraph
 
Reported: 2014-06-06 02:00 UTC by Hayato Ito
Modified: 2014-06-13 04:15 UTC (History)
2 users (show)

See Also:


Attachments

Description Hayato Ito 2014-06-06 02:00:38 UTC
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