Re: [csswg-drafts] [css-values] The lh and rlh units are more complicated than what they seem. (#3257)

Line height adjustments I'm aware of in Gecko:

 * At used value time, single-line `<input>` elements can't have a line-height less than `normal`: [code](https://searchfox.org/mozilla-central/rev/1ca8ea11406642df4a2c6f81f21d683817af568d/layout/generic/ReflowInput.cpp#2771-2784), [bug](https://bugzil.la/1623124). Before that the min used to be 1.0 ([bug](https://bugzil.la/697451), [bug](https://bugzil.la/349259).
 * At computed value time (as a style fixup), force `line-height: normal` for themed comboboxes (html select elements with `appearance: menulist`). [code](https://searchfox.org/mozilla-central/rev/1ca8ea11406642df4a2c6f81f21d683817af568d/servo/components/style/style_adjuster.rs#725-754), [bug](https://bugzil.la/1501908)

I can look into other browsers in a bit.

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3257#issuecomment-1083373431 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 30 March 2022 16:41:42 UTC