Table's caption element not taken into account for table's offsetTop and offsetHeight values
Categories
(Core :: DOM: CSS Object Model, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: martin.bouladour, Assigned: bzbarsky)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: site-compat)
Attachments
(4 files, 2 obsolete files)
1.55 KB,
text/html
|
Details | |
8.42 KB,
patch
|
dholbert
:
review+
|
Details | Diff | Splinter Review |
8.78 KB,
patch
|
dholbert
:
review+
|
Details | Diff | Splinter Review |
11.65 KB,
patch
|
dholbert
:
review+
|
Details | Diff | Splinter Review |
![]() |
Reporter | |
Updated•13 years ago
|
![]() |
Reporter | |
Comment 1•13 years ago
|
||
![]() |
Assignee | |
Comment 2•13 years ago
|
||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Updated•7 years ago
|
![]() |
Assignee | |
Comment 7•7 years ago
|
||
![]() |
Assignee | |
Comment 8•7 years ago
|
||
![]() |
Assignee | |
Updated•7 years ago
|
![]() |
Assignee | |
Comment 9•7 years ago
|
||
![]() |
Assignee | |
Updated•7 years ago
|
![]() |
Assignee | |
Comment 10•7 years ago
|
||
![]() |
Assignee | |
Comment 11•7 years ago
|
||
![]() |
Assignee | |
Updated•7 years ago
|
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
![]() |
Assignee | |
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
Comment 17•7 years ago
|
||
![]() |
Assignee | |
Comment 18•7 years ago
|
||
![]() |
Assignee | |
Updated•7 years ago
|
![]() |
Assignee | |
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Comment 21•7 years ago
|
||
Comment 22•7 years ago
|
||
![]() |
Assignee | |
Comment 23•7 years ago
|
||
Comment 24•7 years ago
|
||
Comment 25•7 years ago
|
||
bugherder |
Comment 28•7 years ago
|
||
Comment 29•7 years ago
|
||
Should getBoundingClientRect
also work with the table wrapper box on tables?
Comment 30•7 years ago
|
||
Nevermind, I thought we were using getBoundingClientRect
internally to get height, but we're using window.getComputedStyle(elem).height
. I just wonder if this should also include the caption height (note that it does in browsers).
Comment 31•7 years ago
|
||
*other browsers
Comment 32•7 years ago
|
||
Sorry for the comment spam. Here's an updated test case https://jsfiddle.net/timmywil/Lqrwhnxu/7/
![]() |
Assignee | |
Comment 33•7 years ago
|
||
getComputedStyle says to use the "used value" for height.
The invariant here should ideally be that if you set the height the the thing getComputedStyle returned then the layout should not change. It doesn't sound like that's true in other browsers...
I suggest filing a separate bug on the getComputedStyle bit here and ccing me and ":emilio" on it.
![]() |
Assignee | |
Comment 34•7 years ago
|
||
Bug 1520264 tracks comment 30.
Description
•