NEW 252108
Computed value of `line-height: 1lh` affected by browser setting for minimum font size
https://bugs.webkit.org/show_bug.cgi?id=252108
Summary Computed value of `line-height: 1lh` affected by browser setting for minimum ...
Dan
Reported 2023-02-11 05:26:25 PST
Created attachment 464953 [details] Test case for line-height: 1lh A declaration of `line-height: 1lh` should technically imposed the line height of the parent element. However, when the element's font size is fixed up to respect the user's preferred minimum font size, its line height is (unexpectedly) increased proportionally, possibly related to: https://bugs.webkit.org/show_bug.cgi?id=174406 The attached test case contains two paragraphs each with a declaration of `line-height: 1lh`. When the user configures their minimum font size to 24px from Safari's settings, the line height of the two <p> elements gets out of sync with the parent's line height, and with each other.
Attachments
Test case for line-height: 1lh (1.44 KB, text/html)
2023-02-11 05:26 PST, Dan
no flags
Radar WebKit Bug Importer
Comment 1 2023-02-18 05:27:19 PST
yisibl
Comment 2 2024-10-25 00:32:16 PDT
Any news?
Note You need to log in before you can comment on or make changes to this bug.