W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

[csswg-drafts] [cssom][css-cascade] What should getComputedStyle say for 'line-height: normal' (#4249)

From: Simon Pieters via GitHub <sysbot+gh@w3.org>
Date: Wed, 28 Aug 2019 14:28:59 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-486418955-1567002538-sysbot+gh@w3.org>
zcorpan has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom][css-cascade] What should getComputedStyle say for 'line-height: normal' ==
for line-height, it says

> The resolved value is the used value.

For a test like this

<!DOCTYPE html>
<input id=input>


Safari gives `13px`, Chrome and Firefox give `normal`.

Given the definition of used value, I think Safari is correct.

What is correct if we assume "used value" is right?

If CSSOM currently matches Safari, should it be changed to match Chrome & Firefox instead?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4249 using your GitHub account
Received on Wednesday, 28 August 2019 14:29:00 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:52 UTC