You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
input's height is affected by parent's line-height #10532
The screenshot in #10532 (comment) seems like a bug in old version of firefox. It's correct that the div block should respect line-height property.
I open tests/wpt/mozilla/tests/css/input_line_height.html in Firefox 49, Chome, and Safari, and they all rendered like servo. We should close this bug.
I want to correct my previous comment, it's not the old Firefox bug. If the html does not specify <!DOCTYPE html>, the line-height will be ignore just like #10532 (comment) shown. Both Chrome and Webkit do the same. I guess this is for web-compat. I guess servo does not worry about web-compat for now :)
Activity
jdm commentedon Apr 11, 2016
I guess we should set this in servo.css as well.
iamajoe commentedon Apr 12, 2016
I never know how to start to contribute back... I guess it's my time!
This seems simple for me to solve! I'll try to do this today or tomorrow.
jdm commentedon Apr 12, 2016
Great! Ask questions here if anything is confusing :)
iamajoe commentedon Apr 12, 2016
Solution: #10553
Auto merge of #10809 - perlun:sendoushi-master, r=pcwalton
Auto merge of #10809 - perlun:sendoushi-master, r=jdm
Auto merge of #10809 - perlun:sendoushi-master, r=jdm
Auto merge of #10809 - perlun:sendoushi-master, r=jdm
Auto merge of #10809 - perlun:sendoushi-master, r=jdm
Auto merge of #10809 - perlun:sendoushi-master, r=jdm
3 remaining items
kaksmet commentedon May 10, 2016
This only seems partially fixed.
Servo
Firefox
aethanyc commentedon May 11, 2016
I'm interested in this bug. I would like to give it a try.
shinglyu commentedon May 11, 2016
@aethanyc is a layout expert!
aethanyc commentedon Oct 19, 2016
The screenshot in #10532 (comment) seems like a bug in old version of firefox. It's correct that the div block should respect
line-heightproperty.I open
tests/wpt/mozilla/tests/css/input_line_height.htmlin Firefox 49, Chome, and Safari, and they all rendered like servo. We should close this bug.jdm commentedon Oct 19, 2016
Hooray!
aethanyc commentedon Oct 19, 2016
I want to correct my previous comment, it's not the old Firefox bug. If the html does not specify
<!DOCTYPE html>, theline-heightwill be ignore just like #10532 (comment) shown. Both Chrome and Webkit do the same. I guess this is for web-compat. I guess servo does not worry about web-compat for now :)jdm commentedon Oct 19, 2016
Ah, that's a different matter, in that case. We do actually care about web compatibility!
nox commentedon Oct 1, 2017
This looks ok now.