Bug 197610

Summary: The font size is not set below 4.8 px, which makes absolutely incorrect operation of relative units such as "em", "rem"
Product: WebKit Reporter: Johnny Rocket <0.snilcy>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Critical CC: ap, karlcow
Priority: P2    
Version: WebKit Local Build   
Hardware: PC   
OS: Windows 10   
Attachments:
Description Flags
Example none

Johnny Rocket
Reported 2019-05-06 04:32:49 PDT
The problem appeared a few days ago, appeared only in Chrome. My site uses multiples of 3 sizes which I use with "rem" by setting html{font-size: 3px}.
Attachments
Example (364 bytes, text/html)
2019-05-06 04:34 PDT, Johnny Rocket
no flags
Johnny Rocket
Comment 1 2019-05-06 04:34:12 PDT
Alexey Proskuryakov
Comment 2 2019-05-07 13:12:58 PDT
Thank you for the report! Does this affect any browsers that use modern WebKit? Chrome forked many years ago, so new bugs are their own now. Also, what is the expected and unexpected behavior on the attached test? The button looks normal in all browsers I tested with, including Chrome for Mac.
Karl Dubost
Comment 3 2025-08-19 21:50:33 PDT
The 3 browsers are giving the same result.
Note You need to log in before you can comment on or make changes to this bug.