@@ -772,15 +772,15 @@ The following are the arithmetic operations you can perform on dimensions:
772772 Here are a few examples of CSS values,
773773 and their equivalent [=sum values=] :
774774
775- * ''1px'' becomes `«(1, «"px"→1 »)»`
776- * ''calc(1px + 1in)'' becomes `«(97, «"px"→1 »)»`
775+ * ''1px'' becomes `«(1, «[ "px" → 1] »)»`
776+ * ''calc(1px + 1in)'' becomes `«(97, «[ "px" → 1] »)»`
777777 (because ''in'' and ''px'' are [=compatible units=] ,
778778 and ''px'' is the [=canonical unit=] for them)
779- * ''calc(1px + 2em)'' becomes `«(1, «"px"→1 »), (2, «"em"→»1 )»`
780- * ''calc(1px * 2em)'' becomes `«(2, «"em"→ 1, "px"→1 »)»`
779+ * ''calc(1px + 2em)'' becomes `«(1, «[ "px" → 1] »), (2, «[ "em" → 1] » )»`
780+ * ''calc(1px * 2em)'' becomes `«(2, «[ "em" → 1, "px" → 1] »)»`
781781 * ''calc(1px + 1deg)'' can't be represented as a [=sum value=]
782782 because it's an invalid computation
783- * ''calc(1px * 1deg)'' becomes `«(2, «"deg"→ 1, "px"→1 »)»`
783+ * ''calc(1px * 1deg)'' becomes `«(2, «[ "deg" → 1, "px" → 1] »)»`
784784 </div>
785785
786786 To <dfn lt="create a sum value|creating a sum value">create a sum value</dfn> from a {{CSSNumericValue}} |this|,
@@ -798,7 +798,7 @@ The following are the arithmetic operations you can perform on dimensions:
798798 and change |unit| to the [=canonical unit=] .
799799 3. If |unit| is `"number"`,
800800 return «(|value|, «»)».
801- 3. Otherwise, return <code> «(|value|, «|unit|→1 »)»</code> .
801+ 3. Otherwise, return <code> «(|value|, «[ |unit| → 1] »)»</code> .
802802 </div>
803803
804804 : {{CSSMathSum}}
@@ -848,7 +848,7 @@ The following are the arithmetic operations you can perform on dimensions:
848848 : {{CSSMathProduct}}
849849 ::
850850 <div algorithm="sum value from CSSMathProduct">
851- 1. Let |values| initially be the [=sum value=] «(1, «»)».
851+ 1. Let |values| initially be the [=sum value=] «(1, «[ ] »)».
852852 (I.e. what you'd get from ''1'' .)
853853
854854 2. [=list/For each=] |item| in |this|’s {{CSSMathProduct/values}} internal slot:
0 commit comments