getComputedStyle(objElem).width must not be affected by presence (or absence) of vertical scrollbar
Reported by
goo...@gtalbot.org,
Nov 30 2017
|
|||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Example URL: http://www.gtalbot.org/BrowserBugsSection/CSS3Box/ScrollbarVersusComputedStyleWidth.html Steps to reproduce the problem: Available tests --------------- A) http://www.gtalbot.org/BrowserBugsSection/CSS3Box/ScrollbarVersusComputedStyleWidth.html B) https://lists.w3.org/Archives/Public/www-style/2014Jan/att-0509/scrollbar.html and then Inspect and then view Console What is the expected behavior? A) computed CSS width should be 400px *_at all times_* B) Value in Console should be 20px What went wrong? A) computed CSS width is 385px when a vertical scrollbar is rendered B) Value in Console is 5px Does it occur on multiple sites: N/A Is it a problem with a plugin? No Did this work before? No Does this work in other browsers? Yes Chrome version: 64.0.3282.0 Channel: n/a OS Version: Flash Version: irrelevant [css3-box] How do scrollbars affect width calculation? https://lists.w3.org/Archives/Public/www-style/2014Jan/0499.html Re: [css3-box] How do scrollbars affect width calculation? https://lists.w3.org/Archives/Public/www-style/2014Jan/0557.html Chrome 32.0.1700.107 failed the A) test. Credit should go to Thomas Rosenau for initially reporting this issue.
,
Dec 1 2017
,
Dec 1 2017
Able to reproduce this issue on Ubuntu 14.04 using chrome reported version #64.0.3282.0. Issue is specific to OS-Linux. This is a non-regression issue as it is observed from M50 old builds. Hence, marking it as untriaged to get more inputs from dev team. Thanks...!!
,
Dec 4 2017
Chrome, Edge: scrollbars affect width Firefox: always 400px, with or without scrollbars Safari: always 400px, scrollbars never visible
,
Dec 4 2017
,
Dec 4
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Dec 10
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by goo...@gtalbot.org
, Nov 30 2017