Open
Bug 1511031
Opened 7 years ago
Updated 3 years ago
The Element.clientWidth property returns an incorrect value when a table has borders
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
NEW
People
(Reporter: support, Unassigned)
Details
(Keywords: parity-chrome)
Attachments
(4 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Steps to reproduce:
Create a table.
Set borders to it.
Add a cell.
Get the clientWidth property of the table using the document.getElementById("tableID").clientWidth JavaScript code.
Attached a sample HTML page.
Reproduced in the stable 63 and night 65 builds.
Actual results:
The clientWidth property returns 38px.
Expected results:
The clientWidth property returns 28px.
| Reporter | ||
Comment 1•7 years ago
|
||
results in the night build
| Reporter | ||
Comment 2•7 years ago
|
||
results in the stable build
| Reporter | ||
Comment 3•7 years ago
|
||
results in Chrome
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101
Build ID: 20181203093109
I manage to reproduce this on Windows 10 x64 with 65.0a1 (2018-12-03) (64-bit).
Status: UNCONFIRMED → NEW
status-firefox63:
--- → affected
status-firefox64:
--- → affected
status-firefox65:
--- → affected
Component: Untriaged → SVG
Ever confirmed: true
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → Desktop
Updated•7 years ago
|
Component: SVG → Layout: Tables
Updated•7 years ago
|
Keywords: parity-chrome
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•