[Webkit-unassigned] [Bug 200974] New: Incorrect clientWidth/clientHeight for table with border-collapse: collapse

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 21 05:43:18 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=200974

            Bug ID: 200974
           Summary: Incorrect clientWidth/clientHeight for table with
                    border-collapse: collapse
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jh718.park at samsung.com

Steps to reproduce the problem:
1. Open attached page or use this fiddle: https://jsfiddle.net/zm715xau/

What is the expected behavior?
clientWidth should be equal to offsetWidth, clientHeight should be equal to offsetHeight.

What went wrong?
They are not equal.

There is a problem with border-collapse: collapse.
The table's clientWidth/clientHeight does not include the halved widths of its horizontal/vertical borders.
It produces other problems with the layout of the parent container.

Firefox and Edge are working as expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190821/3a3664c5/attachment.html>


More information about the webkit-unassigned mailing list