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 28746 - Not sure how we get CSS pixels for the browser chrome here
Summary: Not sure how we get CSS pixels for the browser chrome here
Status: RESOLVED WONTFIX
Alias: None
Product: Browser Test/Tools WG
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Browser Testing and Tools WG
QA Contact: Browser Testing and Tools WG
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 20860
  Show dependency treegraph
 
Reported: 2015-06-03 23:09 UTC by John Jansen
Modified: 2015-10-26 05:37 UTC (History)
3 users (show)

See Also:


Attachments

Description John Jansen 2015-06-03 23:09:48 UTC
"Let width be the width in CSS reference pixels of the OS window containing the current top-level browsing context, including any browser chrome and externally drawn window decorations."

Shouldn't this instead match the SET command and use window.outerheight and window.outerwidth?
Comment 1 James Graham 2015-06-04 16:08:04 UTC
window.outer[Width|Height] aren't specified anywhere, so we can't just refer to those. The setWindowWidth command hasn't yet been updated. OTOH the dimensions of the window in CSS pixels, including decorations is aiui what the outer* properties return, in those browsers that define them, so this definition is supposed to be equivalent to the previous text. If that's not actually true we need to fix this text to match whatever the actual expected behaviour is.