Skip to content

Commit a7a709d

Browse files
committed
[css-layout-api] Fix a few minor typos in the spec and the explainer document
1 parent 4276e37 commit a7a709d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

css-layout-api/EXPLAINER.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ In step (3) we do some additional book-keeping to keep track of the largest chil
230230

231231
### Step (4) - Resolving the Block Size ###
232232

233-
The now that we know how large our biggest child is going to be, we can calculate our actual
233+
Now that we know how large our biggest child is going to be, we can calculate our actual
234234
`blockSize`.
235235

236236
We perform a call to `resolveBlockSize` again, except this time we also pass in the size that we
@@ -330,7 +330,7 @@ In the above example the text child produces two fragments. Containing:
330330
2. `the lazy dog.`
331331

332332
The critical detail here to be aware of is the concept of a `BreakToken`. The `BreakToken` contains
333-
all of the information necessary to continue/resume the layout where we the child finished.
333+
all of the information necessary to continue/resume the layout where the child finished.
334334

335335
We pass the `BreakToken` to add back into the `layout()` call in order to produce the next fragment.
336336

css-layout-api/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Note: In a future level of the specification there may be a way to override the
8888
The 'overflow' property applies to <a>layout API containers</a>. This is discussed (TODO: writing
8989
about scrollbars).
9090

91-
As the layout is entirely up to the author properties which are used in other layout modes (e.g.
91+
As the layout is entirely up to the author, properties which are used in other layout modes (e.g.
9292
flex, block) may not apply. For example an author may not call respect the 'width' or 'height'
9393
properties.
9494

0 commit comments

Comments
 (0)