pub trait StylesheetOwner {
    fn parser_inserted(&self) -> bool;
    fn referrer_policy(&self) -> Option<ReferrerPolicy>;
    fn increment_pending_loads_count(&self);
    fn load_finished(&self, successful: bool) -> Option<bool>;
    fn set_origin_clean(&self, origin_clean: bool);
}

Required Methods

Returns whether this element was inserted by the parser (i.e., it should trigger a document-load-blocking load).

Which referrer policy should loads triggered by this owner follow, or None for the default.

Notes that a new load is pending to finish.

Returns None if there are still pending loads, or whether any load has failed since the loads started.

Sets origin_clean flag.

Implementors