(In reply to Daniel Holbert [:dholbert] from comment #1) > Thanks for the bug report! I can reproduce the difference vs. e.g. Chrome here. (For reference, Chrome's minimum font size setting is at `chrome://settings/fonts`.) Filling in Safari details for completeness (Safari 17.5): - The relevant minimum-font-size setting is In Safari Preferences, in the "Advanced" tab -- it's the first checkbox next to Accessibility there, with label "Never use font sizes smaller than [...]" - Their behavior is different from Chrome! Tor them, the minimum font-size *does* seem to influence their `em` sizing. If I load my testcase with a minimum font-size of 10px, the console output shows `establishes an em unit of 10px` for every single section; and all of the blue rects look visually the same width -- they're all 10px wide, instead of having the width of the raw font-size value.
Bug 1903360 Comment 4 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to Daniel Holbert [:dholbert] from comment #1) > Thanks for the bug report! I can reproduce the difference vs. e.g. Chrome here. (For reference, Chrome's minimum font size setting is at `chrome://settings/fonts`.) Filling in Safari details for completeness (Safari 17.5): - The relevant minimum-font-size setting is In Safari Preferences, in the "Advanced" tab -- it's the first checkbox next to Accessibility there, with label "Never use font sizes smaller than [...]" - Their behavior is different from Chrome! For them, the minimum font-size *does* seem to influence their `em` sizing. If I load my testcase with a minimum font-size of 10px, the console output shows `establishes an em unit of 10px` for every single section; and all of the blue rects look visually the same width -- they're all 10px wide, instead of having the width of the raw font-size value.