Skip to content

Incorrect value returned by outerHeight for table with border-collapse. #4330

@urffin

Description

@urffin

Description

Some strange behaviour of .outerHeight method for table with border-collapse.

Starts from version 3.3.1 for table with box-sizing: conten-box (default value for Chrome) and border-collapse: collapse; value table.outerHeight() greater than sum of row.outerHeight.

In version 3.2.1 - we get same values for table.outerHeight() and sum of row.outerHeight.

This for Chrome 72.0.3626.121 and Chrome 73.0.3683.86.

In Microsoft Edge 44.17763.1.0 difference more than pixels (1.8 for two rows)
and without border-collapse differences in sub pixels (0.8 for two rows)

Link to test case

https://jsbin.com/fijigamama/1/edit?html,css,js,output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions