- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Tue, 07 Jan 2020 19:16:25 +0000
- To: public-css-archive@w3.org
To be clear, `line-height: <percentage>` computes to a `<length>` in all browsers: ```html <!doctype html> <style> div { line-height: 100%; font-size: 16px; } span { font-size: 32px; } </style> <div><span></span></div> <pre> <script> document.write(getComputedStyle(document.querySelector("span")).lineHeight); </script> </pre> ``` Shows `16px`, not `32px`. -- GitHub Notification of comment by emilio Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2165#issuecomment-571729947 using your GitHub account
Received on Tuesday, 7 January 2020 19:16:27 UTC