W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2020

Re: [csswg-drafts] [css-transforms] Computed value of the `rotate` property (#5584)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Mon, 05 Oct 2020 21:44:32 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-703905948-1601934270-sysbot+gh@w3.org>
"Computed value" is one of the value computation stages; it is not directly relevant to the serialization of any particular value stage.

Serialization is defined by CSSOM, and generally by the "shortest serialization principle" and "in order according to the grammar".

The grammar for the property lists the axis information before the angle information in the relevant clause, so `y 45deg` is the correct serialization for that value - it's as short as possible (giving the axis by name, when possible, is preferable to giving it as three numbers), and the axis comes before the angle.

It's likely we do need better WPT coverage for this, tho. ^_^

GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5584#issuecomment-703905948 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 5 October 2020 21:44:34 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:20 UTC