// GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) // Source: The HTML Permission Elements (https://wicg.github.io/PEPC/permission-elements.html) interface mixin InPagePermissionMixin { readonly attribute boolean isValid; readonly attribute InPagePermissionMixinBlockerReason invalidReason; readonly attribute PermissionState initialPermissionStatus; readonly attribute PermissionState permissionStatus; attribute EventHandler onpromptaction; attribute EventHandler onpromptdismiss; attribute EventHandler onvalidationstatuschange; }; enum InPagePermissionMixinBlockerReason { // No blocker reason. "", // Blocker reasons supported by all InPagePermissionMixin users. "illegal_subframe", "unsuccesful_registration", "recently_attached", "intersection_changed", "intersection_out_of_viewport_or_clipped", "intersection_occluded_or_distorted", "style_invalid", // Blocker reason specific to HTMLPermissionElement. "type_invalid", }; [Exposed=Window] interface HTMLPermissionElement : HTMLElement { [HTMLConstructor] constructor(); [CEReactions, Reflect] attribute DOMString type; static boolean isTypeSupported(DOMString type); }; HTMLPermissionElement includes InPagePermissionMixin; [Exposed=Window] interface HTMLGeolocationElement : HTMLElement { [HTMLConstructor] constructor(); readonly attribute GeolocationPosition? position; readonly attribute GeolocationPositionError? error; [CEReactions, Reflect] attribute boolean autolocate; [CEReactions, Reflect] attribute boolean watch; attribute EventHandler onlocation; }; HTMLGeolocationElement includes InPagePermissionMixin;