Skip to content

Commit 90a10c9

Browse files
committed
[css-layout-api] Small fixes to class shape API.
1 parent aa34d65 commit 90a10c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css-layout-api/Overview.bs

+4-4
Original file line numberDiff line numberDiff line change
@@ -888,14 +888,14 @@ is called, the user agent <em>must</em> run the following steps:
888888
map</a> of the associated <a>document</a>.
889889

890890
<div class='note'>
891-
The shape of the class should be:
891+
Note: The shape of the class should be:
892892
<pre class='lang-javascript'>
893893
class MyLayout {
894-
static get inputProperties() { return ['--foo'] }
895-
static get childrenInputProperties() { return ['--bar'] }
894+
static get inputProperties() { return ['--foo']; }
895+
static get childrenInputProperties() { return ['--bar']; }
896896

897897
*layout(constraintSpace, children, styleMap, breakToken) {
898-
// Etc.
898+
// Layout code goes here.
899899
}
900900
}
901901
</pre>

0 commit comments

Comments
 (0)