|
507 | 507 | <li>If |json|["dir"] doesn't [=map/exist=] or if |json|["dir"] is not
|
508 | 508 | a [=string=], return.
|
509 | 509 | </li>
|
| 510 | + <li>[=Strip leading and trailing ASCII whitespace=] from |
| 511 | + |json|["dir"]. |
| 512 | + </li> |
510 | 513 | <li>If [=text-direction list=] doesn't [=list/contain=]
|
511 | 514 | |json|["dir"], return.
|
512 | 515 | </li>
|
|
677 | 680 | <li>If |json|["display"] doesn't [=map/exist=] or |json|["display"]
|
678 | 681 | is not a a [=string=], return.
|
679 | 682 | </li>
|
| 683 | + <li>[=Strip leading and trailing ASCII whitespace=] from |
| 684 | + |json|["display"]. |
| 685 | + </li> |
680 | 686 | <li>If [=display modes list=] doesn't [=list/contain=]
|
681 | 687 | |json|["display"], return.
|
682 | 688 | </li>
|
|
736 | 742 | <li>If |json|["orientation"] doesn't [=map/exist=] or
|
737 | 743 | |json|["orientation"] is not a [=string=], return.
|
738 | 744 | </li>
|
| 745 | + <li>[=Strip leading and trailing ASCII whitespace=] from |
| 746 | + |json|["orientation"]. |
| 747 | + </li> |
739 | 748 | <li>If |json|["orientation"] doesn't [=list/contain=] any of the
|
740 | 749 | [=orientation values=], return.
|
741 | 750 | </li>
|
@@ -1381,6 +1390,9 @@ <h2>
|
1381 | 1390 | <li>If |json|[member] doesn't [=map/exist=] or |json|[member] is
|
1382 | 1391 | not a [=string=], return.
|
1383 | 1392 | </li>
|
| 1393 | + <li>[=Strip leading and trailing ASCII whitespace=] from |
| 1394 | + |json|[|member|]. |
| 1395 | + </li> |
1384 | 1396 | <li>Let |color| be the result of [=CSS/parsing=] the value of
|
1385 | 1397 | |json|[member] as a CSS color.
|
1386 | 1398 | </li>
|
@@ -1409,6 +1421,9 @@ <h2>
|
1409 | 1421 | <li>If |json|[|member|] doesn't [=map/exists=] or |json|[|member|]
|
1410 | 1422 | is not a [=string=], return.
|
1411 | 1423 | </li>
|
| 1424 | + <li>[=Strip leading and trailing ASCII whitespace=] from |
| 1425 | + |json|[|member|]. |
| 1426 | + </li> |
1412 | 1427 | <li>Set |map|[member] to the value of |json|[|member|].
|
1413 | 1428 | </li>
|
1414 | 1429 | </ol>
|
|
0 commit comments