-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change how minimum used value for line-height works #5462
Conversation
Checking for any opposition -- @smfr @tkent-google |
I don't get why this is in HTML not CSS, but OK. |
@smfr do you think the definition for the 'line-height' property should define this special case? |
I have no objection. |
Yeah, this would be monkey patching CSS. It should be clear when implementing line-height from the CSS specification that certain elements can enforce this behavior. It would be cleaner to do this through some element flag that HTML sets and CSS reads to enforce this, or some such. (Edit: to be fair, the status quo had a similar problem, but we should at least file an issue to get this addressed eventually.) cc @whatwg/css |
Filed w3c/csswg-drafts#4977 |
c6440d4
to
59ad1a4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This should apply to |
Fixed. Browser bugs filed also. |
…e=text> and friends, a=testonly Automatic update from web-platform-tests Test how line-height works on <input type=text> and friends See whatwg/html#5462 -- wpt-commits: ac55bfa0f0acb4155db0ac0b4e3245d10b03c48e wpt-pr: 32684
…e=text> and friends, a=testonly Automatic update from web-platform-tests Test how line-height works on <input type=text> and friends See whatwg/html#5462 -- wpt-commits: ac55bfa0f0acb4155db0ac0b4e3245d10b03c48e wpt-pr: 32684
…e=text> and friends, a=testonly Automatic update from web-platform-tests Test how line-height works on <input type=text> and friends See whatwg/html#5462 -- wpt-commits: ac55bfa0f0acb4155db0ac0b4e3245d10b03c48e wpt-pr: 32684
…e=text> and friends, a=testonly Automatic update from web-platform-tests Test how line-height works on <input type=text> and friends See whatwg/html#5462 -- wpt-commits: ac55bfa0f0acb4155db0ac0b4e3245d10b03c48e wpt-pr: 32684
Fixes #5366.
getComputedStyle
(which returns used value)(See WHATWG Working Mode: Changes for more details.)
/rendering.html ( diff )