NEW 44654
"-webkit-box-shadow" with "inset" on a <tr> element, doesn't render
https://bugs.webkit.org/show_bug.cgi?id=44654
Summary "-webkit-box-shadow" with "inset" on a <tr> element, doesn't render
Dave Gregory
Reported 2010-08-25 17:44:45 PDT
Created attachment 65507 [details] shows firefox and webkit side by side. Firefox has the correct look. It renders fine on TR elements without inset. But add inset and the box shadow dissapears. The css: <code> tr { -moz-box-shadow: white 0px 1px 0px 0px inset; -webkit-box-shadow: white 0px 1px 0px 0px inset; -o-box-shadow: white 0px 1px 0px 0px inset; box-shadow: white 0px 1px 0px 0px inset; } </code>
Attachments
shows firefox and webkit side by side. Firefox has the correct look. (41.10 KB, image/png)
2010-08-25 17:44 PDT, Dave Gregory
no flags
Safari 15.5 differs from other browsers (341.11 KB, image/png)
2022-06-07 15:00 PDT, Ahmad Saleem
no flags
Matthew Sanders
Comment 1 2011-01-25 11:47:36 PST
I've also seen this issue. Its been really annoying. Setting the tr to display:block; fixes the problem. However, reconstructing your table data in block elements is really annoying and near impossible.
Luke Macpherson
Comment 2 2011-11-30 19:37:44 PST
*** Bug 53110 has been marked as a duplicate of this bug. ***
Ahmad Saleem
Comment 3 2022-06-07 15:00:14 PDT
Created attachment 460074 [details] Safari 15.5 differs from other browsers I created a small test case using some code from duplicate bug and then just dumping table from W3Schools <table> and then change the colour to red to make the bug visible. JSFiddle Link - https://jsfiddle.net/ey7bhwfx/show As seen in the attached screenshot, I am able to reproduce this bug in Safari 15.5 on macOS 12.4 and it differs from other browsers. If I am testing it incorrectly and Webkit is aligned with web-spec, please ignore and retest it accordingly. Thanks!
Ryosuke Niwa
Comment 4 2022-06-07 16:17:50 PDT
*** Bug 104008 has been marked as a duplicate of this bug. ***
Brent Fulgham
Comment 5 2022-07-12 13:29:56 PDT
The test case in JSFiddle fails in Safari, works in Chrome and Firefox.
Radar WebKit Bug Importer
Comment 6 2022-07-12 13:30:13 PDT
Note You need to log in before you can comment on or make changes to this bug.