Skip to content

Commit

Permalink
Editorial: Trim dir, display, orientation, text and color values
Browse files Browse the repository at this point in the history
  • Loading branch information
christianliebel committed Aug 22, 2024
1 parent 84b2080 commit ca43e7d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,9 @@ <h3>
<li>If |json|["dir"] doesn't [=map/exist=] or if |json|["dir"] is not
a [=string=], return.
</li>
<li>[=Strip leading and trailing ASCII whitespace=] from
|json|["dir"].
</li>
<li>If [=text-direction list=] doesn't [=list/contain=]
|json|["dir"], return.
</li>
Expand Down Expand Up @@ -677,6 +680,9 @@ <h3>
<li>If |json|["display"] doesn't [=map/exist=] or |json|["display"]
is not a a [=string=], return.
</li>
<li>[=Strip leading and trailing ASCII whitespace=] from
|json|["display"].
</li>
<li>If [=display modes list=] doesn't [=list/contain=]
|json|["display"], return.
</li>
Expand Down Expand Up @@ -736,6 +742,9 @@ <h3>
<li>If |json|["orientation"] doesn't [=map/exist=] or
|json|["orientation"] is not a [=string=], return.
</li>
<li>[=Strip leading and trailing ASCII whitespace=] from
|json|["orientation"].
</li>
<li>If |json|["orientation"] doesn't [=list/contain=] any of the
[=orientation values=], return.
</li>
Expand Down Expand Up @@ -1381,6 +1390,9 @@ <h2>
<li>If |json|[member] doesn't [=map/exist=] or |json|[member] is
not a [=string=], return.
</li>
<li>[=Strip leading and trailing ASCII whitespace=] from
|json|[|member|].
</li>
<li>Let |color| be the result of [=CSS/parsing=] the value of
|json|[member] as a CSS color.
</li>
Expand Down Expand Up @@ -1409,6 +1421,9 @@ <h2>
<li>If |json|[|member|] doesn't [=map/exists=] or |json|[|member|]
is not a [=string=], return.
</li>
<li>[=Strip leading and trailing ASCII whitespace=] from
|json|[|member|].
</li>
<li>Set |map|[member] to the value of |json|[|member|].
</li>
</ol>
Expand Down

0 comments on commit ca43e7d

Please sign in to comment.