Skip to content

Truly independent web browser

488 B
Raw Blame
// https://w3c.github.io/webvtt/#enumdef-scrollsetting
enum ScrollSetting { "", "up" };

// https://w3c.github.io/webvtt/#vttregion
[Exposed=Window, ImplementedIn=Rust]
interface VTTRegion {
    constructor();
    attribute DOMString id;
    attribute double width;
    attribute unsigned long lines;
    attribute double regionAnchorX;
    attribute double regionAnchorY;
    attribute double viewportAnchorX;
    attribute double viewportAnchorY;
    attribute ScrollSetting scroll;
};