<?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>29578</bug_id>
          
          <creation_ts>2016-04-20 01:38:55 +0000</creation_ts>
          <short_desc>&quot;The availHeight attribute must return the avail...&quot;</short_desc>
          <delta_ts>2016-08-25 12:23:58 +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="Chris Rebert">w3bugs</reporter>
          <assigned_to name="Simon Pieters">zcorpan</assigned_to>
          
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>125934</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Rebert">w3bugs</who>
    <bug_when>2016-04-20 01:38:55 +0000</bug_when>
    <thetext>https://drafts.csswg.org/cssom-view/#dom-screen-availheight

[[
The availWidth attribute must return the available width of the rendering surface of the output device, in CSS pixels.

The availHeight attribute must return the available height of the rendering surface of the output device, in CSS pixels.
]]

Webpages have no business knowing these sorts of things. The presence/size of taskbars/menubars/toolbars should not be relevant to them. Only the size of the viewport and scrollbars should matter to them.
I assume these attributes were useful when positioning/sizing popup windows? Popup windows are increasingly legacy, script-positioned ones doubly so.

The spec should allow privacy-conscious browsers to
set Screen.height to Screen.availHeight
and set Screen.width to Screen.availWidth
so as to not leak the size of such bars,
thus pretending that there are no such bars.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127230</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2016-08-25 12:23:58 +0000</bug_when>
    <thetext>https://github.com/w3c/csswg-drafts/commit/dc36ecd7a46b173f958dafa736a84eb9753afb7b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>