Source code
Revision control
Copy as Markdown
Other Tools
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
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>;
};