Skip to content

Commit 062016f

Browse files
SebastianZtabatkins
authored andcommitted
[css-transform] Replaced <length> | <percentage> by <length-percentage> (#269)
1 parent 1068d5b commit 062016f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

css-transforms/Overview.bs

+5-5
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ A <<transform-list>> for the <i>computed value</i> is serialized to either one <
777777

778778
<pre class='propdef'>
779779
Name: transform-origin
780-
Value: &nbsp;&nbsp;[ left | center | right | top | bottom | <<percentage>> | <<length>> ]<br> | <br>&nbsp;&nbsp;[ left | center | right | <<percentage>> | <<length>> ]<br>&nbsp;&nbsp;[ top | center | bottom | <<percentage>> | <<length>> ] <<length>>?<br> |<br>&nbsp;&nbsp;[[ center | left | right ] && [ center | top | bottom ]] <<length>>?
780+
Value: &nbsp;&nbsp;[ left | center | right | top | bottom | <<length-percentage>> ]<br> | <br>&nbsp;&nbsp;[ left | center | right | <<length-percentage>> ]<br>&nbsp;&nbsp;[ top | center | bottom | <<length-percentage>> ] <<length>>?<br> |<br>&nbsp;&nbsp;[[ center | left | right ] && [ center | top | bottom ]] <<length>>?
781781
Initial: 50% 50%
782782
Applies to: <i>transformable elements</i>
783783
Inherited: no
@@ -1433,19 +1433,19 @@ The value of the 'transform' property is a list of <dfn>&lt;transform-function><
14331433
specifies a 2D transformation in the form of a <a href="#MatrixDefined">transformation matrix</a> of the six values a-f.
14341434
</dd>
14351435
<dt>
1436-
<span class='prod'><dfn>translate()</dfn> = translate( <<length>> | <<percentage>> [, <<length>> | <<percentage>> ]? )</span>
1436+
<span class='prod'><dfn>translate()</dfn> = translate( <<length-percentage>> [, <<length-percentage>> ]? )</span>
14371437
</dt>
14381438
<dd>
14391439
specifies a <a href="#TranslateDefined">2D translation</a> by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter. If <em>&lt;ty></em> is not provided, ty has zero as a value.
14401440
</dd>
14411441
<dt>
1442-
<span class='prod'><dfn>translateX()</dfn> = translateX( <<length>> | <<percentage>> )</span>
1442+
<span class='prod'><dfn>translateX()</dfn> = translateX( <<length-percentage>> )</span>
14431443
</dt>
14441444
<dd>
14451445
specifies a <a href="#TranslateDefined">translation</a> by the given amount in the X direction.
14461446
</dd>
14471447
<dt>
1448-
<span class='prod'><dfn>translateY()</dfn> = translateY( <<length>> | <<percentage>> )</span>
1448+
<span class='prod'><dfn>translateY()</dfn> = translateY( <<length-percentage>> )</span>
14491449
</dt>
14501450
<dd>
14511451
specifies a <a href="#TranslateDefined">translation</a> by the given amount in the Y direction.
@@ -1508,7 +1508,7 @@ The value of the 'transform' property is a list of <dfn>&lt;transform-function><
15081508
specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order.
15091509
</dd>
15101510
<dt>
1511-
<span class='prod'><dfn>translate3d()</dfn> = translate3d( <<length>> | <<percentage>> , <<length>> | <<percentage>> , <<length>> )</span>
1511+
<span class='prod'><dfn>translate3d()</dfn> = translate3d( <<length-percentage>> , <<length-percentage>> , <<length>> )</span>
15121512
</dt>
15131513
<dd>
15141514
specifies a <a href="#Translate3dDefined">3D translation</a> by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively.

0 commit comments

Comments
 (0)