diff options
| author | Laurenz <laurmaedje@gmail.com> | 2025-06-23 11:12:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-23 09:12:58 +0000 |
| commit | e9dc4bb20404037cf192c19f00a010ff3bb1a10b (patch) | |
| tree | 46dca870d8809b7749f5e00e4c40aa23d909c521 /crates/typst-utils/src/pico.rs | |
| parent | 3602d06a155a0567fe2b2e75a4d5970578d0f14f (diff) | |
Typed HTML API (#6476)
Diffstat (limited to 'crates/typst-utils/src/pico.rs')
| -rw-r--r-- | crates/typst-utils/src/pico.rs | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/crates/typst-utils/src/pico.rs b/crates/typst-utils/src/pico.rs index 3aa4570f..9f4a2fde 100644 --- a/crates/typst-utils/src/pico.rs +++ b/crates/typst-utils/src/pico.rs @@ -204,18 +204,70 @@ mod exceptions { use std::cmp::Ordering; /// A global list of non-bitcode-encodable compile-time internible strings. + /// + /// Must be sorted. pub const LIST: &[&str] = &[ + "accept-charset", + "allowfullscreen", + "aria-activedescendant", + "aria-autocomplete", + "aria-colcount", + "aria-colindex", + "aria-controls", + "aria-describedby", + "aria-disabled", + "aria-dropeffect", + "aria-errormessage", + "aria-expanded", + "aria-haspopup", + "aria-keyshortcuts", + "aria-labelledby", + "aria-multiline", + "aria-multiselectable", + "aria-orientation", + "aria-placeholder", + "aria-posinset", + "aria-readonly", + "aria-relevant", + "aria-required", + "aria-roledescription", + "aria-rowcount", + "aria-rowindex", + "aria-selected", + "aria-valuemax", + "aria-valuemin", + "aria-valuenow", + "aria-valuetext", + "autocapitalize", "cjk-latin-spacing", + "contenteditable", "discretionary-ligatures", + "fetchpriority", + "formnovalidate", "h5", "h6", "historical-ligatures", "number-clearance", "number-margin", "numbering-scope", + "onbeforeprint", + "onbeforeunload", + "onlanguagechange", + "onmessageerror", + "onrejectionhandled", + "onunhandledrejection", "page-numbering", "par-line-marker", + "popovertarget", + "popovertargetaction", + "referrerpolicy", + "shadowrootclonable", + "shadowrootcustomelementregistry", + "shadowrootdelegatesfocus", + "shadowrootmode", + "shadowrootserializable", "transparentize", + "writingsuggestions", ]; /// Try to find the index of an exception if it exists. |
