@@ -1984,15 +1984,15 @@ are represented as {{CSSUnitValue}}s.
19841984</div>
19851985
19861986<div algorithm>
1987- To <dfn export>create a CSSUnitValue from a pair</dfn> (|num|, |unit|),
1987+ To <dfn export lt="create a CSSUnitValue from a pair | new unit value" >create a CSSUnitValue from a pair</dfn> (|num|, |unit|),
19881988 return a new {{CSSUnitValue}} object
19891989 with its {{CSSUnitValue/value}} internal slot
19901990 set to |num|,
19911991 and its {{CSSUnitValue/unit}} internal slot
19921992 set to |unit|.
19931993
19941994 <div class=example>
1995- For example, [=create a CSSUnitValue from a pair|creating a CSSUnitValue =] from `(5, "px")`
1995+ For example, creating a [=new unit value =] from `(5, "px")`
19961996 creates an object equivalent to
19971997 <code> new CSSUnitValue(5, "px")</code> .
19981998 </div>
@@ -2610,7 +2610,7 @@ This list is the object's [=values to iterate over=].
26102610
26112611 4. If |z| was not passed,
26122612 set |this|’s {{CSSTranslate/z}} internal slot
2613- to [=create a CSSUnitValue from a pair| new unit value=] of `(0, "px")`,
2613+ to a [= new unit value=] of `(0, "px")`,
26142614 and set |this|’s {{CSSTransformComponent/is2D}} internal slot
26152615 to `true`.
26162616
@@ -2629,9 +2629,9 @@ This list is the object's [=values to iterate over=].
26292629 with its {{CSSRotate/angle}} internal slot
26302630 set to |angle|,
26312631 its {{CSSRotate/x}} and {{CSSRotate/y}} internal slots
2632- set to [=create a CSSUnitValue from a pair| new unit values=] of `(0, "number")`,
2632+ set to [=new unit values=] of `(0, "number")`,
26332633 its {{CSSRotate/z}} internal slot
2634- set to a [=create a CSSUnitValue from a pair| new unit value=] of `(1, "number")`,
2634+ set to a [=new unit value=] of `(1, "number")`,
26352635 and its {{CSSTransformComponent/is2D}} internal slot set to `true`.
26362636</div>
26372637
@@ -2686,7 +2686,7 @@ This list is the object's [=values to iterate over=].
26862686
26872687 5. If |z| was not passed,
26882688 set |this|’s {{CSSScale/z}} internal slot
2689- to a [=create a CSSUnitValue from a pair| new unit value=] of `(1, "number")`,
2689+ to a [=new unit value=] of `(1, "number")`,
26902690 and set |this|’s {{CSSTransformComponent/is2D}} internal slot to `true`.
26912691
26922692 6. Return |this|.
@@ -3290,7 +3290,7 @@ The {{CSSDeviceCMYK}} class represents the CSS ''device-cmyk()'' function.
32903290 return |num|.
32913291
32923292 2. If |num| is a {{double}} ,
3293- return a [=create a CSSUnitValue from a pair| new unit value=] from (|num|*100, "percent").
3293+ return a [=new unit value=] from (|num|*100, "percent").
32943294</div>
32953295
32963296
0 commit comments