[Webkit-unassigned] [Bug 265271] REGRESSION (Safari 17.1) line-height is computed differently
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 22 22:40:54 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=265271
--- Comment #4 from Brad Andalman <bya at 180g.co> ---
Thanks so much for looking into this!
That commit certainly does make it look like this change is intentional. Given that, should I close out this bug?
Alternatively, I could turn this bug into a request for API that would allow clients to query the “computedLineHeight” for an element. That way, if this calculation changes (again) in the future — perhaps for bug #261463? - pages that use this proposed function wouldn’t need to be updated.
As it is now, I’m re-implementing this WebKit line-height calculation, which is quite fragile (as I’ve just learned). I guess I could use a hidden single-line paragraph to query the height, but real API would be much better. Is that a realistic suggestion?
--
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/20231123/6c8d7c7c/attachment-0001.htm>
More information about the webkit-unassigned
mailing list