enum Protocol::CSS::StyleSheetOrigin

Overview

Stylesheet type: "injected" for stylesheets injected via extension, "user-agent" for user-agent stylesheets, "inspector" for stylesheets created by the inspector (i.e. those holding the "via inspector" rules), "regular" for regular stylesheets.

Defined in:

protocol/css.cr

Enum Members

Injected = 0
UserAgent = 1
Inspector = 2
Regular = 3

Instance Method Summary

Class methods inherited from struct Enum

parse?(string : String) : self | Nil parse?

Instance Method Detail

def injected? #

[View source]
def inspector? #

[View source]
def regular? #

[View source]
def user_agent? #

[View source]