@@ -168,13 +168,13 @@ attribute is cased as `minLength`, and `typemustmatch` as `typeMustMatch`.
168
168
169
169
Property values should reflect the data type determined by their
170
170
property name. For example, the following HTML ` <div hidden></div> `
171
- contains a ` hidden ` (boolean) attribute, which is reflected a ` hidden `
171
+ contains a ` hidden ` (boolean) attribute, which is reflected as a ` hidden `
172
172
property name set to ` true ` (boolean) as value in HAST, and
173
173
` <input minlength="5"> ` , which contains a ` minlength ` (valid
174
174
non-negative integer) attribute, is reflected as a property ` minLength `
175
175
set to ` 5 ` (number) in HAST.
176
176
177
- > In JSON, the value property value ` null ` must be treated as if the
177
+ > In JSON, the property value ` null ` must be treated as if the
178
178
> property was not included.
179
179
> In JavaScript, both ` null ` and ` undefined ` must be similarly
180
180
> ignored.
@@ -193,10 +193,7 @@ values. In HAST, these should be treated as ordered lists. For example,
193
193
` <div class="alpha bravo"></div> ` is represented as
194
194
` ["alpha", "bravo"] ` .
195
195
196
- > :warning : I’m unsure whether the value of ` style ` properties
197
- > should be exposed as an ` object ` : it’s nice for easy access but
198
- > would not work well for transformations, as CSS properties cascade
199
- > by order, which cannot be represented by JavaScript Objects.
196
+ > There’s no special format for ` style ` .
200
197
201
198
### ` Directive `
202
199
0 commit comments