[Webkit-unassigned] [Bug 210539] New: Floating-Point CSS height/width percentages not calculated correctly by Safari in Table

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 15 01:29:48 PDT 2020


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

            Bug ID: 210539
           Summary: Floating-Point CSS height/width percentages not
                    calculated correctly by Safari in Table
           Product: WebKit
           Version: Safari 13
          Hardware: Macintosh
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tables
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: info.braden at gmail.com

Created attachment 396512

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

HTML Examples

When floating point percentages (which add up to < 100%) are used to specify the height of table rows with 10+ rows, their heights are not calculated correctly and the last elements are rendered on top of each other.

This was reproduced in Safari on macOS (13) and iOS (13 & 12).

Steps to reproduce the problem:
1. Open either of "FloatingPoint_HeightWidthPercentages_CalculatedIncorrectly.html" or "FloatingPoint_HeightWidthPercentages_CalculatedIncorrectly_LowerPrecision.html"
2. Notice that the last two table elements "Unclassified" and "Confidential" are rendered on top of each other.

I have also attached a simplified Table that also reproduces the issue which is easier to see visually.

Note: This is not an issue in Firefox or Non-Chrome-Based Edge.

The issue that is present in Safari has the same erroneous behaviour that chrome exhibits here:
https://bugs.chromium.org/p/chromium/issues/detail?id=1068931

-- 
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/20200415/5c295f06/attachment.htm>


More information about the webkit-unassigned mailing list