Computed styles of width/height contain size of rendered scroll bars

UNCONFIRMED
Unassigned

Status

()

Core
CSS Parsing and Computation
P3
normal
UNCONFIRMED
a year ago
6 months ago

People

(Reporter: que.etc, Unassigned)

Tracking

48 Branch
x86_64
Windows 10
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

a year ago
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0
Build ID: 20160823121617

Steps to reproduce:

Take a look at this example: http://jsbin.com/sarozi/edit?console,output


Actual results:

Computed styles of width/height contain size of rendered scroll bars.


Expected results:

Scroll bars size shouldn't be added to computed CSS width & height properties as they are meant to represent content dimensions.
(Reporter)

Updated

a year ago
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64

Updated

a year ago
Component: Untriaged → Layout
Product: Firefox → Core
Component: Layout → DOM: CSS Object Model
Component: DOM: CSS Object Model → CSS Parsing and Computation

Updated

6 months ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.