Files
react-native-devtools-frontend/node_modules/@webref/idl/css-highlight-api.idl
T
Victor Porof 6e09692deb Add @webref/idl dependency
Signed-off-by: Victor Porof <victorporof@chromium.org>
Bug: 1325812
Change-Id: I044170880d20ce0402062755787cccafd63c6a42
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3695370
Reviewed-by: Mathias Bynens <mathias@chromium.org>
2022-06-13 10:23:45 +00:00

28 lines
645 B
Plaintext

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: CSS Custom Highlight API Module Level 1 (https://drafts.csswg.org/css-highlight-api-1/)
enum HighlightType {
"highlight",
"spelling-error",
"grammar-error"
};
[Exposed=Window]
interface Highlight {
constructor(AbstractRange... initialRanges);
setlike<AbstractRange>;
attribute long priority;
attribute HighlightType type;
};
partial namespace CSS {
readonly attribute HighlightRegistry highlights;
};
[Exposed=Window]
interface HighlightRegistry {
maplike<DOMString, Highlight>;
};