Skip to content

Commit

Permalink
Add shadowRootClonable, writingSuggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Apr 3, 2024
1 parent fae5dde commit 5eb7b1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ export const html = create({
scoped: boolean,
seamless: boolean,
selected: boolean,
shadowRootClonable: boolean,
shadowRootDelegatesFocus: boolean,
shadowRootMode: null,
shape: null,
Expand All @@ -248,6 +249,7 @@ export const html = create({
value: booleanish,
width: number,
wrap: null,
writingSuggestions: null,

// Legacy.
// See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
Expand Down
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@ It also works in Deno and modern browsers.
| `security` | `security` | `html` |
| `seed` | `seed` | `svg` |
| `selected` | `selected` | `html` |
| `shadowRootClonable` | `shadowrootclonable` | `html` |
| `shadowRootDelegatesFocus` | `shadowrootdelegatesfocus` | `html` |
| `shadowRootMode` | `shadowrootmode` | `html` |
| `shape` | `shape` | `html` |
Expand Down Expand Up @@ -877,6 +878,7 @@ It also works in Deno and modern browsers.
| `wordSpacing` | `word-spacing` | `svg` |
| `wrap` | `wrap` | `html` |
| `writingMode` | `writing-mode` | `svg` |
| `writingSuggestions` | `writingsuggestions` | `html` |
| `x` | `x` | `svg` |
| `x1` | `x1` | `svg` |
| `x2` | `x2` | `svg` |
Expand Down

0 comments on commit 5eb7b1a

Please sign in to comment.