Skip to content

Commit 5a55d66

Browse files
AtkinsSJemilio
authored andcommitted
Correct typos and grammar in "serialize a CSS declaration block"
1 parent a1e309b commit 5a55d66

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cssom-1/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2353,20 +2353,20 @@ To <dfn export>serialize a CSS declaration block</dfn> <var>declaration block</v
23532353
<li><i>Shorthand loop</i>: For each <var>shorthand</var> in <var>shorthands</var>, follow these substeps:
23542354
<ol>
23552355
<li>Let <var>longhands</var> be an array consisting of all <a>CSS declarations</a> in <var>declaration block</var>'s
2356-
<a for="CSSStyleDeclaration">declarations</a> that that are not in <var>already serialized</var> and have a
2356+
<a for="CSSStyleDeclaration">declarations</a> that are not in <var>already serialized</var> and have a
23572357
<a for="CSS declaration">property name</a> that
23582358
maps to one of the shorthand properties in <var>shorthands</var>.
2359-
<li>If all properties that map to <var>shorthand</var> are not present in <var>longhands</var>, continue with the steps labeled <i>shorthand loop</i>.
2359+
<li>If not all properties that map to <var>shorthand</var> are present in <var>longhands</var>, continue with the steps labeled <i>shorthand loop</i>.
23602360
<li>Let <var>current longhands</var> be an empty array.
23612361
<li>Append all <a>CSS declarations</a> in <var>longhands</var> that have a
23622362
<a for="CSS declaration">property name</a> that maps to <var>shorthand</var> to <var>current longhands</var>.
2363-
<li>If there is one or more <a>CSS declarations</a> in <var>current longhands</var> have their
2363+
<li>If there are one or more <a>CSS declarations</a> in <var>current longhands</var> that have their
23642364
<a for="CSS declaration">important flag</a> set and one or more with it unset, continue with
23652365
the steps labeled <i>shorthand loop</i>.
2366-
<li>If there's any declaration in <var>declaration block</var> in between the first and the last longhand in <var>current longhands</var>
2366+
<li>If there is any declaration in <var>declaration block</var> in between the first and the last longhand in <var>current longhands</var>
23672367
which belongs to the same [=logical property group=], but has a different [=mapping logic=] as any of the longhands in <var>current longhands</var>,
23682368
and is not in <var>current longhands</var>, continue with the steps labeled <i>shorthand loop</i>.
2369-
<li>Let <var>value</var> be the result of invoking <a>serialize a CSS value</a> of <var>current longhands</var>.
2369+
<li>Let <var>value</var> be the result of invoking <a>serialize a CSS value</a> with <var>current longhands</var>.
23702370
<li>If <var>value</var> is the empty string, continue with the steps labeled <i>shorthand loop</i>.
23712371
<li>Let <var>serialized declaration</var> be the result of invoking <a>serialize a CSS declaration</a> with property name
23722372
<var>shorthand</var>, value <var>value</var>, and the <i>important</i> flag set if the <a>CSS declarations</a> in

0 commit comments

Comments
 (0)