Closed Bug 1474974 Opened 6 years ago Closed 6 years ago

getClientRects()[0].height on table with caption behaves differently from Chrome

Categories

(Core :: DOM: CSS Object Model, defect)

63 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox63 --- affected

People

(Reporter: moz, Unassigned)

References

Details

Attachments

(1 file)

377 bytes, text/html
Details
Attached file testcase
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0

table.getClientRects()[0].height 
on a table with caption excludes the caption height, Google Chrome includes it.

With bug 820891 fixed this should be consistent with other browsers.

Testcase expects tree values ≈ 218
This is the right behavior per spec.  https://bugs.chromium.org/p/chromium/issues/detail?id=862205 tracks Chrome not following the spec here.

Unless you have evidence that this is actually not web compatible, invalid.  If you do have such evidence, please raise a spec issue, since that's the right venue for that discussion.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Summary: getClientRects()[0].height on table with caption is not web compatible → getClientRects()[0].height on table with caption behaves differently from Chrome
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: