Bug 74185 - Webkit reports incorrect height for tbody
Summary: Webkit reports incorrect height for tbody
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tables (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: data:text/html;charset=utf-8;base64,P...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-09 08:56 PST by Robin Whittleton
Modified: 2022-08-17 16:02 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Whittleton 2011-12-09 08:56:51 PST
Querying the computed style on a tbody results in a size 2px bigger than visible. See attached testcase.

Expected:
---------
Clicking the button shows the tbody as being 100px tall.

Actual:
-------
Clicking the button shows the tbody as being 102px tall.

Browsers:
---------
Chrome 15 and Safari 5.1.2 alert 102px.
Firefox 9 and Opera 11.60 alert 100px.
Comment 1 Robin Whittleton 2017-02-01 05:47:08 PST
Just revisited this and today’s Firefox Nightly is reporting 102px as well. I guess this turned out to be a Firefox bug, although I’m not sure what the root problem is.
Comment 2 Ahmad Saleem 2022-08-17 16:02:29 PDT
I am unable to reproduce this bug and all browsers show "102px":

> Safari Technology Preview 151 / Safari 15.6.1 - 102 px
> Firefox Nightly 105 - 102 px
> Chrome Canary 106 - 102 px

Further, Comment 01 confirms that it was Firefox bug and seems to be fixed and now all browsers are matching. Going to mark this as "RESOLVED INVALID". Thanks!