[Webkit-unassigned] [Bug 152796] New: Padding added to table-cell element after font-size change

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 6 12:21:07 PST 2016


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

            Bug ID: 152796
           Summary: Padding added to table-cell element after font-size
                    change
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: Mac OS X 10.11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabberworm at mac.com
                CC: simon.fraser at apple.com

Created attachment 268388
  --> https://bugs.webkit.org/attachment.cgi?id=268388&action=review
Reduced testcase

Verified in Safari 9.0.2 (11601.3.9) and WebKit Nightly 11601.3.9, r194284

In some circumstances, changing the font-size on a display: table-cell element makes said element change its position. The added space behaves like padding and lights up green in the inspector but is not removable by setting style.paddingTop = 0 on the node.

Note that this behaviour can only be observed when two display: table-cell are used, it’s not present with only one such element.

Firefox and Chrome do not exhibit this behaviour.

STEPS TO REPRODUCE

1. Open the attached testcase in Safari or a WebKit nightly
2. Hover over and out from the texts a few times

EXPECTED RESULTS

When not hovered the text should look the same as when the page was loaded.

ACTUAL RESULTS

The position of the text changes with each hover.

-- 
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/20160106/ce9c9775/attachment.html>


More information about the webkit-unassigned mailing list