Skip to content

Commit e83ab1c

Browse files
authored
docs: fix typos and a link (#15135)
1 parent e4be486 commit e83ab1c

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

documentation/docs/03-template-syntax/[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ The `{@const ...}` tag defines a local constant.
1111
{/each}
1212
```
1313

14-
`{@const}` is only allowed as an immediate child of a block — `{#if ...}`, `{#each ...}`, `{#snippet ...}` and so on — a `<Component />` or a `<svelte:boundary`.
14+
`{@const}` is only allowed as an immediate child of a block — `{#if ...}`, `{#each ...}`, `{#snippet ...}` and so on — a `<Component />` or a `<svelte:boundary>`.

documentation/docs/03-template-syntax/11-bind.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ You can give the `<select>` a default value by adding a `selected` attribute to
235235

236236
## `<video>`
237237

238-
`<video>` elements have all the same bindings as [#audio] elements, plus readonly [`videoWidth`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/videoWidth) and [`videoHeight`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/videoHeight) bindings.
238+
`<video>` elements have all the same bindings as [`<audio>`](#audio) elements, plus readonly [`videoWidth`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/videoWidth) and [`videoHeight`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/videoHeight) bindings.
239239

240240
## `<img>`
241241

documentation/docs/04-styling/01-scoped-styles.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ If a component defines `@keyframes`, the name is scoped to the component using t
3333
3434
/* these keyframes are only accessible inside this component */
3535
@keyframes bounce {
36-
/* ... *.
36+
/* ... */
3737
}
3838
</style>
3939
```
40-
41-
42-

0 commit comments

Comments
 (0)