RESOLVED CONFIGURATION CHANGED 174708
br causing undesired spacing
https://bugs.webkit.org/show_bug.cgi?id=174708
Summary br causing undesired spacing
jbach
Reported 2017-07-21 02:05:15 PDT
Created attachment 316077 [details] safari Hi, I encountered a weird layout issue, where "br" tag is doing more than adding a new line, it add also some spacing. See example: https://jsfiddle.net/feez4cht/3/ This behavior is different from Firefox for example.
Attachments
safari (5.02 KB, image/png)
2017-07-21 02:05 PDT, jbach
no flags
firefox (5.05 KB, image/png)
2017-07-21 02:05 PDT, jbach
no flags
Test reduction (283 bytes, text/html)
2017-07-21 08:45 PDT, alan
no flags
jbach
Comment 1 2017-07-21 02:05:55 PDT
alan
Comment 2 2017-07-21 08:45:46 PDT
Created attachment 316089 [details] Test reduction The soft linebreak right before the <br> element causes the gap (when the linebreak is removed, the gap is gone)
jbach
Comment 3 2017-08-07 00:29:25 PDT
That's what I explained. I reported this issue because its a unexpected behavior.
Ahmad Saleem
Comment 4 2024-12-05 12:08:05 PST
I am unable to reproduce this bug anymore in Safari 18.2 Beta and WebKit ToT and they match with other browsers Chrome Canary 134 and Firefox Nightly 135. Marking this as `RESOLVED CONFIGURATION CHANGED`.
alan
Comment 5 2024-12-05 13:13:29 PST
IFC progression.
Note You need to log in before you can comment on or make changes to this bug.