summaryrefslogtreecommitdiff
path: root/crates/typst-utils/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-utils/src')
-rw-r--r--crates/typst-utils/src/pico.rs52
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.