[Bug 29578] New: "The availHeight attribute must return the avail..."

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

            Bug ID: 29578
           Summary: "The availHeight attribute must return the avail..."
           Product: CSS
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSSOM View
          Assignee: simonp@opera.com
          Reporter: w3bugs@chrisrebert.com
        QA Contact: public-css-bugzilla@w3.org
  Target Milestone: ---

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.

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

Received on Wednesday, 20 April 2016 01:38:58 UTC