Skip to content

Commit ca43e7d

Browse files
Editorial: Trim dir, display, orientation, text and color values
1 parent 84b2080 commit ca43e7d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

index.html

+15
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,9 @@ <h3>
507507
<li>If |json|["dir"] doesn't [=map/exist=] or if |json|["dir"] is not
508508
a [=string=], return.
509509
</li>
510+
<li>[=Strip leading and trailing ASCII whitespace=] from
511+
|json|["dir"].
512+
</li>
510513
<li>If [=text-direction list=] doesn't [=list/contain=]
511514
|json|["dir"], return.
512515
</li>
@@ -677,6 +680,9 @@ <h3>
677680
<li>If |json|["display"] doesn't [=map/exist=] or |json|["display"]
678681
is not a a [=string=], return.
679682
</li>
683+
<li>[=Strip leading and trailing ASCII whitespace=] from
684+
|json|["display"].
685+
</li>
680686
<li>If [=display modes list=] doesn't [=list/contain=]
681687
|json|["display"], return.
682688
</li>
@@ -736,6 +742,9 @@ <h3>
736742
<li>If |json|["orientation"] doesn't [=map/exist=] or
737743
|json|["orientation"] is not a [=string=], return.
738744
</li>
745+
<li>[=Strip leading and trailing ASCII whitespace=] from
746+
|json|["orientation"].
747+
</li>
739748
<li>If |json|["orientation"] doesn't [=list/contain=] any of the
740749
[=orientation values=], return.
741750
</li>
@@ -1381,6 +1390,9 @@ <h2>
13811390
<li>If |json|[member] doesn't [=map/exist=] or |json|[member] is
13821391
not a [=string=], return.
13831392
</li>
1393+
<li>[=Strip leading and trailing ASCII whitespace=] from
1394+
|json|[|member|].
1395+
</li>
13841396
<li>Let |color| be the result of [=CSS/parsing=] the value of
13851397
|json|[member] as a CSS color.
13861398
</li>
@@ -1409,6 +1421,9 @@ <h2>
14091421
<li>If |json|[|member|] doesn't [=map/exists=] or |json|[|member|]
14101422
is not a [=string=], return.
14111423
</li>
1424+
<li>[=Strip leading and trailing ASCII whitespace=] from
1425+
|json|[|member|].
1426+
</li>
14121427
<li>Set |map|[member] to the value of |json|[|member|].
14131428
</li>
14141429
</ol>

0 commit comments

Comments
 (0)