NEW 33981
Overlapping table cells... webkit doesn't always do reasonable things
https://bugs.webkit.org/show_bug.cgi?id=33981
Summary Overlapping table cells... webkit doesn't always do reasonable things
Joshua J Estelle
Reported 2010-01-21 17:32:38 PST
We came across some ugly HTML, where a <table> was defined using rowspan and colspan on some cells such that two cells effectively overlapped. What Chrome did in this case was quite strange, where one of the images in a cell actually rendered partially outside the bounds of the table. Here's an example: http://shelleyandjosh.com/tablecellspan.html Firefox seems to do something more reasonable. Note: http://www.w3.org/TR/html401/struct/tables.html#h-11.2.6.1 does say: Defining overlapping cells is an error. User agents may vary in how they handle this error (e.g., rendering may vary) So my HTML does contain an error. It just seems that Firefox more gracefully deals with this than Webkit does. Should Webkit do something nicer?
Attachments
Original testcase from webarchive (1.16 KB, text/html)
2022-09-10 09:48 PDT, Tim Nguyen (:ntim)
no flags
Ahmad Saleem
Comment 1 2022-09-10 06:46:22 PDT
I am able to find this testcase on Wayback Archive and able to reproduce it in Safari Technology Preview 153: Link - https://web.archive.org/web/20140808053841/http://shelleyandjosh.com/tablecellspan.html In the second one "hello" cell is not expanded like Chrome Canary 107 and Firefox Nightly 106. I am going to change this as "New". Thanks!
Radar WebKit Bug Importer
Comment 2 2022-09-10 09:42:08 PDT
Tim Nguyen (:ntim)
Comment 3 2022-09-10 09:48:33 PDT
Created attachment 462251 [details] Original testcase from webarchive
Note You need to log in before you can comment on or make changes to this bug.