[Webkit-unassigned] [Bug 169996] New: Wrong container width computation for table with `table-layout: fixed; `

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 22 23:26:58 PDT 2017


            Bug ID: 169996
           Summary: Wrong container width computation for table with
                    `table-layout: fixed;`
           Product: WebKit
           Version: Safari 10
          Hardware: Macintosh
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: vitya.sviridenko at ya.ru

Created attachment 305169

  --> https://bugs.webkit.org/attachment.cgi?id=305169&action=review

Bug: wrong table width cumputation

I found this problem in Chromium and could reproduce it in actual Safari version.

Steps to reproduce the problem:
Open https://jsfiddle.net/do2Lcvqr/ or attached file.

1. Create inline-block element with `overflow: auto;`
2. Put a table with `table-layout: fixed;` and `width` inside
3. You can see a scrollbar

What is the expected behavior?
Table is wrapped by container, their borders adjoin each other, no scrollbar shown.

What went wrong?
Chrome doesn't compute width of the outer block correctly and showes a scrollbar.

Did this work before? N/A 

Does this work in other browsers? Yes
Blink — OK
Firefox — OK
IE11, Edge — OK

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170323/5b5775b1/attachment.html>

More information about the webkit-unassigned mailing list