<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>24159</bug_id>
          
          <creation_ts>2013-12-23 05:16:03 +0000</creation_ts>
          <short_desc>Is returning a noninteger Window.innerWidth/innerHeight/outerWidth/outerHeight web-compatible?</short_desc>
          <delta_ts>2015-02-12 10:26:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>CSSOM View</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Boris Zbarsky">bzbarsky</reporter>
          <assigned_to name="Simon Pieters">zcorpan</assigned_to>
          <cc>mstange</cc>
    
    <cc>rbyers</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>97849</commentid>
    <comment_count>0</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2013-12-23 05:16:03 +0000</bug_when>
    <thetext>Do any UAs currently do that?  I realize that in practice they can be non-integral, but are callers OK with fractional values here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97851</commentid>
    <comment_count>1</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2013-12-23 05:24:06 +0000</bug_when>
    <thetext>Similar for outerWidth/Height too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106422</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-05-20 05:19:54 +0000</bug_when>
    <thetext>Some information from Rossen from Microsoft regarding MouseEvents:

[[
[13:56] &lt;Rossen_&gt; here&apos;s an example content that will break from sub-px values
[13:56] &lt;Rossen_&gt; for (var x = startX; x != (endX + xDir); x += xDir) ...
[13:57] &lt;zcorpan&gt; thanks. do you have a URL also=
[13:57] &lt;Rossen_&gt; In this case, xDir is a direction, so -1 or 1. startX is where the mouse clicked down, and the endX is where the mouse is currently, as reported in the offsetX to the mouseMove handler. The problem is, this script assumes you will only return integer values for offsetX and it does a != check rather than &lt; or &gt;. Chrome only reports integers, so there&apos;s no problem. They also have a special workaround for Firefox, who doesn&apos;t even define offsetX
[13:58] &lt;Rossen_&gt; http://goosecode.com/shapdar
[13:59] &lt;Rossen_&gt; If you were to return fractional values here, this for loop goes on forever and it would hang. I think the only thing to do here is outreach to the site.
[14:09] &lt;zcorpan&gt; is it ok if i make this information available in a public place?
[14:11] &lt;Rossen_&gt; for sure
]]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106454</commentid>
    <comment_count>3</comment_count>
    <who name="Rick Byers">rbyers</who>
    <bug_when>2014-05-20 15:51:01 +0000</bug_when>
    <thetext>Note that we&apos;re attempting to ship at least sub-pixel scroll offsets (and also width/height) in blink in http://crbug.com/360889.  We&apos;ll record any other compat issues we find there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112046</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-09-23 20:37:27 +0000</bug_when>
    <thetext>Current status for Blink: https://groups.google.com/a/chromium.org/d/msg/blink-dev/_Q7A4AQBFKY/iiOrm2c4TcEJ</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117756</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-02-09 03:30:21 +0000</bug_when>
    <thetext>https://lists.w3.org/Archives/Public/www-style/2015Feb/0195.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117863</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-02-12 10:26:03 +0000</bug_when>
    <thetext>https://lists.w3.org/Archives/Public/www-style/2015Feb/0332.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>