{"id":355222,"date":"2026-07-08T16:51:56","date_gmt":"2026-07-08T16:51:56","guid":{"rendered":"https:\/\/peraltafinancing.com\/uncategorized\/a-peculiar-bug-in-safari-the-jolly-teapot\/"},"modified":"2026-07-08T16:51:56","modified_gmt":"2026-07-08T16:51:56","slug":"a-peculiar-bug-in-safari-the-jolly-teapot","status":"publish","type":"post","link":"https:\/\/fivemor.com\/?p=355222","title":{"rendered":"A peculiar bug in Safari \u2013 The Jolly Teapot"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div id=\"\">\n<p>On weekend mornings, I have the inescapable habit of looking at my website and seeing what I can change, what I can remove, what I can improve in terms of HTML, CSS, layout, links, etc. This Saturday, as I wanted to look closer at the way the period at the end of a sentence rendered when appearing just after a word in italic (I know), I noticed something curious.<\/p>\n<p>When I zoomed in the page, using \u201cCommand \u2013 Plus Sign\u201d (\u2318+), I could see that the line length was changing with the size of the text. The bigger the text, the longer the line. You see, I\u2019m very protective of the <code>max-width<\/code> I use on this site\u2009\u2014 <code>50ch<\/code>\u2009\u2014\u2009especially for Mac users, who see it in the Charter font.<a href=\"#fn1\" id=\"fnref1\">*1<\/a> This value sets an ideal number of characters for each line making it, when paired with the right line height, easier to read (supposedly).<\/p>\n<p>Zooming in on text shouldn\u2019t change the line length, so I looked around and realised that I was a bit clueless when it comes to identifying bugs, and even checking if they were already reported. I found <a href=\"https:\/\/bugs.webkit.org\/buglist.cgi?query_format=specific&amp;order=Importance&amp;no_redirect=0&amp;bug_status=__open__&amp;product=WebKit&amp;content=width+zoom\">a few  bug reports<\/a> related to zooming in, but none of them described my issue. Not only that, but I didn\u2019t really know if this was a Webkit problem, or a Safari problem. So instead of working my way to either confirming an existing bug or <a href=\"https:\/\/webkit.org\/reporting-bugs\/\">filing a new one<\/a>, I did what I usually do when facing a problem: I avoided it altogether rather than trying to solve it.<\/p>\n<p>Therefore I changed <code>50ch<\/code> to <code>28em<\/code> in my CSS, resulting in a similar line length for Charter.<a href=\"#fn2\" id=\"fnref2\">*2<\/a> With <code>em<\/code> as the unit, zooming doesn\u2019t modify the line length, so I\u2019m pretty happy with this easy fix.<\/p>\n<p>Bonus point: <code>28em<\/code> takes up the same number of bytes as <code>50ch<\/code> in my default CSS, still capped at 132 bytes. Imagine the extra-byte horror if I had to use something like <code>700px<\/code> or <code>25rlh<\/code>? It would have <a href=\"https:\/\/thejollyteapot.com\/2025\/05\/29\/something-terrible-happened-with-css\/\">ruined<\/a> my sunny Saturday morning.<\/p>\n<p>This little website update made me realise something: my site design is pretty much done, and I hadn\u2019t changed anything for a few weeks or even months.<\/p>\n<p>I actually miss the satisfaction of changing something at the end of my little routine. Checking every detail on every page, revisiting every line of code just to see what can be improved (even if it\u2019s just <a href=\"https:\/\/thejollyteapot.com\/2025\/12\/19\/the-club-racer-treatment\/\">removing extra quotation marks<\/a> in an attribute or an optional closing tag), is <a href=\"https:\/\/thejollyteapot.com\/2026\/01\/11\/the-frustration-of-a-perfect-setup\/\">not as fun<\/a> when there is nothing to do at the end.<\/p>\n<p>I really like my site\u2019s current design, and even if there might be a few tiny tweaks like this one in the future, I feel that the overall look and feel is pretty much final. It\u2019s a weird feeling, but now I have no excuse for not writing more, and publishing more posts, even if they are <a href=\"https:\/\/thejollyteapot.com\/2026\/06\/30\/unfinished-part-deux\/\">unfinished<\/a>, or <a href=\"https:\/\/thejollyteapot.com\/2023\/11\/28\/on-the-ideal-length-of-a-blog-post\/\">shorter than usual<\/a>.<\/p>\n<aside role=\"note\">Notes<\/p>\n<ol>\n<li id=\"fn1\">\n<p>For others, falling back to the default serif, usually Times New Roman, <code>50ch<\/code> is indeed a bit narrow; <code>54ch<\/code> or <code>55ch<\/code> would be better, but it\u2019s too wide for Charter.\u00a0<a href=\"#fnref1\">^<\/a><\/p>\n<\/li>\n<li id=\"fn2\">\n<p>For the serif\/Times New Roman fallback, <code>28em<\/code> creates a slightly longer line, which is atually better than what it was with <code>50ch<\/code>.\u00a0<a href=\"#fnref2\">^<\/a><\/p>\n<\/li>\n<\/ol>\n<\/aside>\n<p><time datetime=\"2026-07-04T08:53:19.100Z\">4 Jul 2026<\/time><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>On weekend mornings, I have the inescapable habit of looking at my website and seeing what I can change, what I can remove, what I can improve in terms of HTML, CSS, layout, links, etc. This Saturday, as I wanted to look closer at the way the period at the end of a sentence rendered [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10719,9875,59045,10082,48881],"dealstore":[],"offerexpiration":[],"class_list":["post-355222","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-bug","tag-jolly","tag-peculiar","tag-safari","tag-teapot"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>A peculiar bug in Safari \u2013 The Jolly Teapot - Som2ny Network<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fivemor.com\/?p=355222\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A peculiar bug in Safari \u2013 The Jolly Teapot - Som2ny Network\" \/>\n<meta property=\"og:description\" content=\"On weekend mornings, I have the inescapable habit of looking at my website and seeing what I can change, what I can remove, what I can improve in terms of HTML, CSS, layout, links, etc. This Saturday, as I wanted to look closer at the way the period at the end of a sentence rendered [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fivemor.com\/?p=355222\" \/>\n<meta property=\"og:site_name\" content=\"Som2ny Network\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-08T16:51:56+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fivemor.com\/?p=355222#article\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/?p=355222\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\"},\"headline\":\"A peculiar bug in Safari \u2013 The Jolly Teapot\",\"datePublished\":\"2026-07-08T16:51:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=355222\"},\"wordCount\":548,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"keywords\":[\"Bug\",\"Jolly\",\"Peculiar\",\"Safari\",\"Teapot\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fivemor.com\/?p=355222#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fivemor.com\/?p=355222\",\"url\":\"https:\/\/fivemor.com\/?p=355222\",\"name\":\"A peculiar bug in Safari \u2013 The Jolly Teapot - Som2ny Network\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/#website\"},\"datePublished\":\"2026-07-08T16:51:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fivemor.com\/?p=355222#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fivemor.com\/?p=355222\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fivemor.com\/?p=355222#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/fivemor.com\/?bp_activities=1\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A peculiar bug in Safari \u2013 The Jolly Teapot\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fivemor.com\/#website\",\"url\":\"https:\/\/fivemor.com\/\",\"name\":\"Som2ny Network\",\"description\":\"Daily Deals\",\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fivemor.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/fivemor.com\/#organization\",\"name\":\"Som2ny Network\",\"url\":\"https:\/\/fivemor.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"width\":300,\"height\":86,\"caption\":\"Som2ny Network\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/fivemor.com\"],\"url\":\"https:\/\/fivemor.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A peculiar bug in Safari \u2013 The Jolly Teapot - Som2ny Network","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fivemor.com\/?p=355222","og_locale":"en_US","og_type":"article","og_title":"A peculiar bug in Safari \u2013 The Jolly Teapot - Som2ny Network","og_description":"On weekend mornings, I have the inescapable habit of looking at my website and seeing what I can change, what I can remove, what I can improve in terms of HTML, CSS, layout, links, etc. This Saturday, as I wanted to look closer at the way the period at the end of a sentence rendered [&hellip;]","og_url":"https:\/\/fivemor.com\/?p=355222","og_site_name":"Som2ny Network","article_published_time":"2026-07-08T16:51:56+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fivemor.com\/?p=355222#article","isPartOf":{"@id":"https:\/\/fivemor.com\/?p=355222"},"author":{"name":"admin","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371"},"headline":"A peculiar bug in Safari \u2013 The Jolly Teapot","datePublished":"2026-07-08T16:51:56+00:00","mainEntityOfPage":{"@id":"https:\/\/fivemor.com\/?p=355222"},"wordCount":548,"commentCount":0,"publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"keywords":["Bug","Jolly","Peculiar","Safari","Teapot"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fivemor.com\/?p=355222#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fivemor.com\/?p=355222","url":"https:\/\/fivemor.com\/?p=355222","name":"A peculiar bug in Safari \u2013 The Jolly Teapot - Som2ny Network","isPartOf":{"@id":"https:\/\/fivemor.com\/#website"},"datePublished":"2026-07-08T16:51:56+00:00","breadcrumb":{"@id":"https:\/\/fivemor.com\/?p=355222#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fivemor.com\/?p=355222"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fivemor.com\/?p=355222#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fivemor.com\/?bp_activities=1"},{"@type":"ListItem","position":2,"name":"A peculiar bug in Safari \u2013 The Jolly Teapot"}]},{"@type":"WebSite","@id":"https:\/\/fivemor.com\/#website","url":"https:\/\/fivemor.com\/","name":"Som2ny Network","description":"Daily Deals","publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fivemor.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/fivemor.com\/#organization","name":"Som2ny Network","url":"https:\/\/fivemor.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","width":300,"height":86,"caption":"Som2ny Network"},"image":{"@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","caption":"admin"},"sameAs":["https:\/\/fivemor.com"],"url":"https:\/\/fivemor.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/355222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=355222"}],"version-history":[{"count":0,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/355222\/revisions"}],"wp:attachment":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=355222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=355222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=355222"},{"taxonomy":"dealstore","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdealstore&post=355222"},{"taxonomy":"offerexpiration","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fofferexpiration&post=355222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}