[Webkit-unassigned] [Bug 252108] New: Computed value of `line-height: 1lh` affected by browser setting for minimum font size
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Feb 11 05:26:25 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=252108
Bug ID: 252108
Summary: Computed value of `line-height: 1lh` affected by
browser setting for minimum font size
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dan at danburzo.ro
Created attachment 464953
--> https://bugs.webkit.org/attachment.cgi?id=464953&action=review
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230211/85da895e/attachment.htm>
More information about the webkit-unassigned
mailing list