Skip to content

Commit 02f011e

Browse files
authored
[css-transforms-2] Add note that computed value of translate has percentages (w3c#6146)
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 4d3e72f commit 02f011e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

css-transforms-2/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,11 @@ If three values are given,
612612
this specifies a 3d translation,
613613
equivalent to the ''translate3d()'' function.
614614

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

0 commit comments

Comments
 (0)