Closed
Bug 712605
Opened 13 years ago
Closed 13 years ago
clientWidth does't include paddings
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 157846
People
(Reporter: mynthon1, Unassigned)
Details
Attachments
(1 file)
904 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
Build ID: 20111104165243
Steps to reproduce:
Trying to get clientWidth from element.
Actual results:
clientWidth returns element_width - scrollbar_width.
Expected results:
According to https://developer.mozilla.org/en/DOM/element.clientWidth clientWidth should return element_width + padding_left + padding_right - scrollbar_width.
See also attached file.
Updated•13 years ago
|
Attachment #583455 -
Attachment mime type: text/plain → text/html
Comment 1•13 years ago
|
||
See bug 484257
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Component: General → Layout: Form Controls
Product: Firefox → Core
QA Contact: general → layout.form-controls
Resolution: --- → DUPLICATE
Version: 8 Branch → Trunk
You need to log in
before you can comment on or make changes to this bug.
Description
•