Minimum used line-height of text-entry widget doesn't match implementations #5366
Labels
compat
Standard is not web compatible or proprietary feature needs standardizing
interop
Implementations are not interoperable with each other
topic: rendering
See https://html.spec.whatwg.org/#the-input-element-as-a-text-entry-widget:
This rule is implemented by Gecko. But it appears that Webkit and Blink implement a different behavior, sites depend on that behavior, and as a result exhibit poor rendering in Gecko. See webcompat/web-bugs#47819 for an example.
I believe the Webkit/Blink result is preferable, and would like to modify Gecko to behave similarly.
Suggested new text to replace the sentence above:
The idea here -- which Webkit and Blink appear to have adopted, despite what the spec currently says -- is that a used line-height of 1.0 is often too small and will result in unwanted clipping. This is what we see happening in Gecko. Given that clamping the minimum used line-height to
normal
rather than1.0
appears to be web-compatible, I think we should simply change the spec (and Gecko) to reflect this.The text was updated successfully, but these errors were encountered: