[Webkit-unassigned] [Bug 144696] New: `width: 1%` on nested table cell causes its table to hog horizontal space

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 6 10:50:26 PDT 2015


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

            Bug ID: 144696
           Summary: `width: 1%` on nested table cell causes its table to
                    hog horizontal space
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Macintosh Intel
                OS: Mac OS X 10.10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tables
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: webkit at rebertia.com

Created attachment 252491
  --> https://bugs.webkit.org/attachment.cgi?id=252491&action=review
Screenshot of example demonstrating bug

Platform: OS X Yosemite
Safari Version: 8.0.5 (10600.5.17)

Summary:
Adding a `width: 1%;` style to a nested table cell causes its sibling cell to hog horizontal space.
Firefox and IE11/Edge don't suffer from this problem.

To reproduce:
1. Open http://jsfiddle.net/eejzdf4a/ in Safari.
2. Look at the Result pane in the lower-right of the window.

Expected results:
In the portion of the example titled "Wonky", the green and yellow cells
should each take up a somewhat equal amount of horizontal space.
The green and yellow cells should have the same boundaries that they do
in the portion of the example titled '"Fixed" by removing the one-percent class'.
(See the Firefox screenshot. IE11/Edge gives the same result as Firefox.)

Actual results:
In the portion of the example titled "Wonky", the green cell takes up a
very small amount of horizontal space, whereas the yellow cell
takes up almost all of the horizontal space.
The green and yellow cells have different boundaries than they do
in the portion of the example titled '"Fixed" by removing the one-percent class'.
(See the Safari screenshot.)

Bootstrap bug report:
    https://github.com/twbs/bootstrap/issues/16372
Original corresponding Chrome bug report:
    https://code.google.com/p/chromium/issues/detail?id=427994
Other, more complex example of the bug, that uses Bootstrap:
    http://jsfiddle.net/rq3shh3t/2/

-- 
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/20150506/b618d73e/attachment.html>


More information about the webkit-unassigned mailing list