diff --git a/spec.html b/spec.html index 7dd4868c0d6..8fc6e3110dd 100644 --- a/spec.html +++ b/spec.html @@ -57,6 +57,17 @@ emu-table td { background: #fff; } + [normative-optional] { + border-left: 5px solid #ff6600; + padding: .5em; + display: block; + background: #ffeedd; + } + [normative-optional]:before { + display: block; + color: #884400; + content: "NORMATIVE OPTIONAL"; + } @@ -12839,7 +12850,7 @@

Syntax

In certain contexts, |ObjectLiteral| is used as a cover grammar for a more restricted secondary grammar. The |CoverInitializedName| production is necessary to fully cover these secondary grammars. However, use of this production results in an early Syntax Error in normal contexts where an actual |ObjectLiteral| is expected.

- +

Static Semantics: Early Errors

PropertyDefinition : MethodDefinition