RESOLVED FIXED219687
width: max-content with box-sizing: border-box should leave space for padding (Twitter date hover overflow)
https://bugs.webkit.org/show_bug.cgi?id=219687
Summary width: max-content with box-sizing: border-box should leave space for padding...
Sam Sneddon [:gsnedders]
Reported 2020-12-09 08:27:31 PST
Created attachment 415759 [details] Firefox mouseover If you mouseover a date on a tweet, in Safari (14.0, STP 116, trunk) it wraps to multiple lines but doesn't in other browsers.
Attachments
Firefox mouseover (5.51 KB, image/png)
2020-12-09 08:27 PST, Sam Sneddon [:gsnedders]
no flags
Safari mouseover (6.64 KB, image/png)
2020-12-09 08:27 PST, Sam Sneddon [:gsnedders]
no flags
test case (199 bytes, text/html)
2020-12-09 11:10 PST, alan
no flags
Patch (40.36 KB, patch)
2020-12-19 08:17 PST, alan
no flags
Patch (40.52 KB, patch)
2020-12-19 08:37 PST, alan
ews-feeder: commit-queue-
Patch (41.82 KB, patch)
2020-12-19 12:12 PST, alan
no flags
Radar WebKit Bug Importer
Comment 1 2020-12-09 08:27:41 PST
Sam Sneddon [:gsnedders]
Comment 2 2020-12-09 08:27:55 PST
Created attachment 415760 [details] Safari mouseover
Simon Fraser (smfr)
Comment 3 2020-12-09 09:25:06 PST
Maybe the element just isn't quite wide enough for the text in Safari?
Sam Sneddon [:gsnedders]
Comment 4 2020-12-09 09:52:11 PST
Nah, it's definitely WebKit. :) <div style="box-sizing: border-box; padding: 5px; position: absolute; width: max-content;">Filler text</div> Presumably we're not obeying box-sizing for max-content or something like that?
alan
Comment 5 2020-12-09 11:10:31 PST
Created attachment 415774 [details] test case
alan
Comment 6 2020-12-16 09:14:53 PST
alan
Comment 7 2020-12-19 08:17:16 PST
alan
Comment 8 2020-12-19 08:37:40 PST
alan
Comment 9 2020-12-19 12:12:14 PST
EWS
Comment 10 2020-12-19 14:10:40 PST
Committed r271003: <https://trac.webkit.org/changeset/271003> All reviewed patches have been landed. Closing bug and clearing flags on attachment 416573 [details].
Note You need to log in before you can comment on or make changes to this bug.