Skip to content

Commit 4b1fdfa

Browse files
committed
[css-transforms-2] Add note that computed value of translate has percentages.
While the premise of w3c#2124 was that this was not already defined, I believe this is already the straightforward result of the definition in cssom-1. Thus this adds a note rather than additional normative text. Fixes w3c#2124.
1 parent adfd831 commit 4b1fdfa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

css-transforms-2/Overview.bs

+5
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,11 @@ If three values are given,
611611
this specifies a 3d translation,
612612
equivalent to the ''translate3d()'' function.
613613

614+
Note: The <a>resolved value</a> of the 'translate' property
615+
is the <a>computed value</a>,
616+
and thus {{Window/getComputedStyle()}}
617+
includes percentage values in its results.
618+
614619
<pre class="propdef">
615620
Name: rotate
616621
Value: none | <<angle>> | [ x | y | z | <<number>>{3} ] && <<angle>>

0 commit comments

Comments
 (0)