Bug 4977

Summary: <form> not being displayed at all (in a <div> with display: table)
Product: WebKit Reporter: David Kerry <admin>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: stuartmorgan
Priority: P2 Keywords: HasReduction
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: http://camportal.co.uk/v0.4/?page=add
Attachments:
Description Flags
Example Screen Capture
none
Stripped code to give working example of bug
none
Testcase
none
Testcase
none
Patch v1 mjs: review+

David Kerry
Reported 2005-09-13 17:33:39 PDT
For some reason, the form at http://camportal.co.uk/v0.4/?page=add does not show in Safari, however the rest of the page past the form renders fine. Also the form shows in other browsers/rendering engines.
Attachments
Example Screen Capture (95.10 KB, image/png)
2005-09-13 17:34 PDT, David Kerry
no flags
Stripped code to give working example of bug (1.37 KB, text/html)
2005-12-27 15:46 PST, David Kerry
no flags
Testcase (125 bytes, text/html)
2005-12-28 02:08 PST, Joost de Valk (AlthA)
no flags
Testcase (157 bytes, text/html)
2005-12-28 02:11 PST, Joost de Valk (AlthA)
no flags
Patch v1 (13.92 KB, patch)
2006-02-24 23:23 PST, David Kilzer (:ddkilzer)
mjs: review+
David Kerry
Comment 1 2005-09-13 17:34:38 PDT
Created attachment 3891 [details] Example Screen Capture A screen capture showing the missing form in Safari 2.0.1
Stuart Morgan
Comment 2 2005-09-13 21:11:14 PDT
Confirmed in WebKit 412.2.2. The problem goes away if the "display: table" is removed from the enclosing div--it seems odd that it's even there though, since none of the normal content inside it is set to be displayed as any kind of sub-table element.
Eric Seidel (no email)
Comment 3 2005-12-27 15:18:59 PST
There were fixes relating to positioned elements inside tables recently. It's possible this was fixed. It's hard to know though without a test case (the server is down). Please attach a reduced test case, or close.
David Kerry
Comment 4 2005-12-27 15:46:14 PST
Created attachment 5317 [details] Stripped code to give working example of bug Still presents a problem in Safari 2.0.2 (416.13), and latest webkit downloaded today.
Joost de Valk (AlthA)
Comment 5 2005-12-28 02:08:29 PST
Created attachment 5329 [details] Testcase The problem lies in the display:table style.
Joost de Valk (AlthA)
Comment 6 2005-12-28 02:09:46 PST
The combination of <form> in a div styled with "display: table;" seems to be causing this.
Joost de Valk (AlthA)
Comment 7 2005-12-28 02:11:10 PST
Created attachment 5330 [details] Testcase added a comment to make more comprehensible.
Karl Schramm
Comment 8 2006-02-24 01:34:09 PST
This seems fixed in 417.8
David Kilzer (:ddkilzer)
Comment 9 2006-02-24 12:03:46 PST
This is not fixed in Safari 2.0.3 (417.8) on 10.4.5 for me, but it is fixed in ToT WebKit as of r12953. Note that when running WebKit+Safari, Safari's production version still shows up (and the Dashboard claims Safari is running) which may cause you to think it's been fixed in a production release.
David Kilzer (:ddkilzer)
Comment 10 2006-02-24 19:20:00 PST
This bug was fixed between the r12724 and r12747 nightly builds: Broken: WebKit-SVN-r12724.dmg Fixed: WebKit-SVN-r12747.dmg Looking at the log messages, it's likely that r12746 fixed this issue. Closing bug as RESOLVED/FIXED.
David Kilzer (:ddkilzer)
Comment 11 2006-02-24 19:32:03 PST
Reopening; should add a layout test to prevent other regressions.
David Kilzer (:ddkilzer)
Comment 12 2006-02-24 23:23:30 PST
Created attachment 6723 [details] Patch v1 This bug has already been fixed by a previous commit (see Comment #10), but I thought it should have a layout test to prevent future regressions. Inspired by Darin's layout test for Bug 5731, I created a similar layout test for this bug. The only two display styles not shown are "table-column-group" and "table-column". I'm not sure if this means there is a rendering bug that still needs to be fixed or not, though.
Geoffrey Garen
Comment 13 2006-02-26 22:27:43 PST
Landed.
Note You need to log in before you can comment on or make changes to this bug.