NEW 117417
List elements have a font-size/line-height sized space before first child
https://bugs.webkit.org/show_bug.cgi?id=117417
Summary List elements have a font-size/line-height sized space before first child
Spencer
Reported 2013-06-10 13:17:43 PDT
Created attachment 204181 [details] Reduction demonstrating the bug in various ways. All browsers based on WebKit that I have tried (Chrome on OS 10, IOS and Linux, Safari on OS 10 and IOS, Android web browser) seem to be affected by this. My WebKit version in Chrome, according to the bug reporting guidelines page, is 537.36. I have a reduction attached to demonstrate the bug in several instances. It appears that a blank line that inherits from the font-size and line-height properties is displayed before the first child element of a list element whose children are all empty and there is at least one block element.
Attachments
Reduction demonstrating the bug in various ways. (1003 bytes, text/html)
2013-06-10 13:17 PDT, Spencer
no flags
Safari 15.6.1 and STP 151 differs from other browsers (1.10 MB, image/png)
2022-08-20 04:13 PDT, Ahmad Saleem
no flags
Ahmad Saleem
Comment 1 2022-08-20 04:13:12 PDT
Created attachment 461756 [details] Safari 15.6.1 and STP 151 differs from other browsers I am able to reproduce this bug in Safari 15.6.1 and Safari Technology Preview 151 using attached test case and as can be seen it differs with other browsers (Firefox Nightly 105 and Chrome Canary 105). NOTE - Safari 15.6.1 is same as STP 151. Further, I think this should not be in DOM category but other. Thanks!
Radar WebKit Bug Importer
Comment 2 2022-08-20 18:16:14 PDT
Note You need to log in before you can comment on or make changes to this bug.