Bug 171663

Summary: REGRESSION: Input and table-caption inside a table make the table automatically grow on input interaction
Product: WebKit Reporter: Tim <timdegroote>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, bfulgham, hyatt, i.yuuya, jonlee, karlcow, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 10   
Hardware: Mac   
OS: macOS 10.12   
URL: http://jsbin.com/qovolelino/1/edit?html,css,output
Attachments:
Description Flags
Screenshot of the bug reproduced in JSBin none

Tim
Reported 2017-05-04 08:53:34 PDT
Created attachment 309051 [details] Screenshot of the bug reproduced in JSBin Assuming the following structure (with in between brackets the display properties of the element) ``` - div (table) -- div (table-caption) -- div (table-cell) --- input ``` When: - The input field is positioned absolutely. - Any parent of the input field (which is not the main table element) is positioned relatively. The table-caption div somehow moves down a few pixels anytime you: - focus and blur the input field - enter and remove a character in the input field Reproduced in: http://jsbin.com/qovolelino/1/edit?html,css,output This behaviour is not reproducible on Safari version 9.x
Attachments
Screenshot of the bug reproduced in JSBin (328.95 KB, image/png)
2017-05-04 08:53 PDT, Tim
no flags
Tim
Comment 1 2017-05-04 09:12:37 PDT
The exact same thing is reproducible by rebuilding the structure with proper table elements: <table style="width: 100%;"> <caption>Table caption</caption> <tr> <td style="position: relative;"> <input style="position: absolute;" type="text"> </td> </tr> </table> http://jsbin.com/coviyolage/edit?html,css,output
Radar WebKit Bug Importer
Comment 2 2017-05-07 17:49:31 PDT
iyuuya
Comment 3 2017-12-06 21:41:54 PST
I'm sorry, my English is not good. The same problem was found on Safari 11.0.2. When: - change text of DOM positioned absolutely https://jsfiddle.net/bv2k1dk0/
Ahmad Saleem
Comment 4 2025-09-20 23:18:43 PDT
I am not able to reproduce this using Safari 26 Beta, @Tim - is it still reproducing for you? @Karl - can you double check?
Karl Dubost
Comment 5 2025-09-23 19:50:28 PDT
Yes I do not see any differences in between the 3 browsers. This doesn't happen anymore.
Note You need to log in before you can comment on or make changes to this bug.