Bug 5004

Summary: Tables: height:100% + overflow auto not working in table cell
Product: WebKit Reporter: Gustaaf Groenendaal (MysteryQuest) <webkit>
Component: TablesAssignee: Dave Hyatt <hyatt>
Status: NEW    
Severity: Normal CC: bfulgham, ian, karlcow, priyajeet.hora, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: http://gustaaf.xs4all.nl/gn_car.html
Attachments:
Description Flags
reduced test case none

Gustaaf Groenendaal (MysteryQuest)
Reported 2005-09-16 06:05:41 PDT
When you delete or change the CSS attribute "overflow: auto" the pages displays himself as it should be. Also it does show up corretly when you change auto into anything you want. So "overflow:webkit" would also display the page correctly. It's about the "auto" element that isn't handled properly. The cause of this is unknown for me, since "auto" elements never give problems as far as I know. Also the terminal doesn't provide any information about incorrect handling of this element. Tested with WebKit 312, 412 and ToT
Attachments
reduced test case (260 bytes, text/html)
2006-01-15 01:04 PST, Alexey Proskuryakov
no flags
Alexey Proskuryakov
Comment 1 2006-01-15 01:04:43 PST
Created attachment 5690 [details] reduced test case
Darth
Comment 2 2011-01-29 20:49:56 PST
Brent Fulgham
Comment 3 2022-07-06 13:08:45 PDT
Chrome and Safari show a blank page. Firefox shows the text message as expected.
Radar WebKit Bug Importer
Comment 4 2022-07-06 13:08:54 PDT
Karl Dubost
Comment 5 2025-01-23 22:29:03 PST
Height for each element: 12px <table width="100%"> 12px <tbody> 8px <tr> 6px <td> 6px <table height="100%"> 6px <tbody> 2px <tr> 0px <td> 0px <div style="overflow: auto;height: 100%;">You dont own a ship so your shipping time is 60 minutes</div> To note that the wrapping table is not necessary it can be simply reproduced with: <table height="100%"> <tbody> <tr> <td> <div style="overflow: auto;height: 100%;">You dont own a ship so your shipping time is 60 minutes</div> </td> </tr> </tbody> </table> Chrome and Safari doesn't show the text, while Firefox does.
Karl Dubost
Comment 6 2025-01-23 22:29:58 PST
This would deserve a WPT test.
Note You need to log in before you can comment on or make changes to this bug.