- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Fri, 29 Mar 2019 10:38:04 +0000
- To: public-css-archive@w3.org
That is, the following should show 64px 64px 32px 32px if we show "resolved" values, `2 2 2 2` if we show computed values: ```html <!doctype html> <div style="line-height: 2; font-size: 16px"> My line-height should be 32px. <div style="font-size: 32px"> Mine should be 64px </div> </div> <div style="line-height: 2em; font-size: 16px"> My line-height should be 32px. <div style="font-size: 32px"> Mine should still be 32px </div> </div> <pre id="log"><script> for (const d of document.querySelectorAll("div")) document.writeln(getComputedStyle(d).lineHeight); </script></pre> ``` I think resolving some values but not others is quite inconsistent. -- GitHub Notification of comment by emilio Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3749#issuecomment-477951164 using your GitHub account
Received on Friday, 29 March 2019 10:38:06 UTC