Skip to content

package pseudos

import "kaiju/markup/css/pseudos"

Variables

PseudoMap

map[string]Pseudo{
    "active":             Active{},
    "any-link":           AnyLink{},
    "autofill":           Autofill{},
    "blank":              Blank{},
    "checked":            Checked{},
    "current":            Current{},
    "default":            Default{},
    "defined":            Defined{},
    "dir":                Dir{},
    "disabled":           Disabled{},
    "empty":              Empty{},
    "enabled":            Enabled{},
    "first":              First{},
    "first-child":        FirstChild{},
    "first-of-type":      FirstOfType{},
    "fullscreen":         Fullscreen{},
    "future":             Future{},
    "focus":              Focus{},
    "focus-visible":      FocusVisible{},
    "focus-within":       FocusWithin{},
    "has":                Has{},
    "host":               Host{},
    "host-context":       HostContext{},
    "hover":              Hover{},
    "indeterminate":      Indeterminate{},
    "in-range":           InRange{},
    "invalid":            Invalid{},
    "is":                 Is{},
    "lang":               Lang{},
    "last-child":         LastChild{},
    "last-of-type":       LastOfType{},
    "left":               Left{},
    "link":               Link{},
    "local-link":         LocalLink{},
    "modal":              Modal{},
    "not":                Not{},
    "nth-child":          NthChild{},
    "nth-col":            NthCol{},
    "nth-last-child":     NthLastChild{},
    "nth-last-col":       NthLastCol{},
    "nth-last-of-type":   NthLastOfType{},
    "nth-of-type":        NthOfType{},
    "only-child":         OnlyChild{},
    "only-of-type":       OnlyOfType{},
    "optional":           Optional{},
    "out-of-range":       OutOfRange{},
    "past":               Past{},
    "picture-in-picture": PictureInPicture{},
    "placeholder-shown":  PlaceholderShown{},
    "paused":             Paused{},
    "playing":            Playing{},
    "read-only":          ReadOnly{},
    "read-write":         ReadWrite{},
    "required":           Required{},
    "right":              Right{},
    "root":               Root{},
    "scope":              Scope{},
    "state":              State{},
    "target":             Target{},
    "target-within":      TargetWithin{},
    "user-invalid":       UserInvalid{},
    "valid":              Valid{},
    "visited":            Visited{},
    "where":              Where{},
}

Types

Active

struct

type Active struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:active

Active.AlterRules

func (p Active) AlterRules(rules []rules.Rule) []rules.Rule

Active.IsFunction

func (p Active) IsFunction() bool

Active.Key

func (p Active) Key() string

Active.Process

func (p Active) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

struct

type AnyLink struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:any-link

AnyLink.AlterRules

func (p AnyLink) AlterRules(rules []rules.Rule) []rules.Rule

AnyLink.IsFunction

func (p AnyLink) IsFunction() bool

AnyLink.Key

func (p AnyLink) Key() string

AnyLink.Process

func (p AnyLink) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Autofill

struct

type Autofill struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:autofill

Autofill.AlterRules

func (p Autofill) AlterRules(rules []rules.Rule) []rules.Rule

Autofill.IsFunction

func (p Autofill) IsFunction() bool

Autofill.Key

func (p Autofill) Key() string

Autofill.Process

func (p Autofill) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Blank

struct

type Blank struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:blank

Blank.AlterRules

func (p Blank) AlterRules(rules []rules.Rule) []rules.Rule

Blank.IsFunction

func (p Blank) IsFunction() bool

Blank.Key

func (p Blank) Key() string

Blank.Process

func (p Blank) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Checked

struct

type Checked struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:checked

Checked.AlterRules

func (p Checked) AlterRules(rules []rules.Rule) []rules.Rule

Checked.IsFunction

func (p Checked) IsFunction() bool

Checked.Key

func (p Checked) Key() string

Checked.Process

func (p Checked) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Current

struct

type Current struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:current

Current.AlterRules

func (p Current) AlterRules(rules []rules.Rule) []rules.Rule

Current.IsFunction

func (p Current) IsFunction() bool

Current.Key

func (p Current) Key() string

Current.Process

func (p Current) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Default

struct

type Default struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:default

Default.AlterRules

func (p Default) AlterRules(rules []rules.Rule) []rules.Rule

Default.IsFunction

func (p Default) IsFunction() bool

Default.Key

func (p Default) Key() string

Default.Process

func (p Default) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Defined

struct

type Defined struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:defined

Defined.AlterRules

func (p Defined) AlterRules(rules []rules.Rule) []rules.Rule

Defined.IsFunction

func (p Defined) IsFunction() bool

Defined.Key

func (p Defined) Key() string

Defined.Process

func (p Defined) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Dir

struct

type Dir struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:dir

Dir.AlterRules

func (p Dir) AlterRules(rules []rules.Rule) []rules.Rule

Dir.IsFunction

func (p Dir) IsFunction() bool

Dir.Key

func (p Dir) Key() string

Dir.Process

func (p Dir) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Disabled

struct

type Disabled struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:disabled

Disabled.AlterRules

func (p Disabled) AlterRules(rules []rules.Rule) []rules.Rule

Disabled.IsFunction

func (p Disabled) IsFunction() bool

Disabled.Key

func (p Disabled) Key() string

Disabled.Process

func (p Disabled) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Empty

struct

type Empty struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:empty

Empty.AlterRules

func (p Empty) AlterRules(rules []rules.Rule) []rules.Rule

Empty.IsFunction

func (p Empty) IsFunction() bool

Empty.Key

func (p Empty) Key() string

Empty.Process

func (p Empty) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Enabled

struct

type Enabled struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:enabled

Enabled.AlterRules

func (p Enabled) AlterRules(rules []rules.Rule) []rules.Rule

Enabled.IsFunction

func (p Enabled) IsFunction() bool

Enabled.Key

func (p Enabled) Key() string

Enabled.Process

func (p Enabled) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

First

struct

type First struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:first

First.AlterRules

func (p First) AlterRules(rules []rules.Rule) []rules.Rule

First.IsFunction

func (p First) IsFunction() bool

First.Key

func (p First) Key() string

First.Process

func (p First) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

FirstChild

struct

type FirstChild struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:first-child

FirstChild.AlterRules

func (p FirstChild) AlterRules(rules []rules.Rule) []rules.Rule

FirstChild.IsFunction

func (p FirstChild) IsFunction() bool

FirstChild.Key

func (p FirstChild) Key() string

FirstChild.Process

func (p FirstChild) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

FirstOfType

struct

type FirstOfType struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:first-of-type

FirstOfType.AlterRules

func (p FirstOfType) AlterRules(rules []rules.Rule) []rules.Rule

FirstOfType.IsFunction

func (p FirstOfType) IsFunction() bool

FirstOfType.Key

func (p FirstOfType) Key() string

FirstOfType.Process

func (p FirstOfType) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Focus

struct

type Focus struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:focus

Focus.AlterRules

func (p Focus) AlterRules(rules []rules.Rule) []rules.Rule

Focus.IsFunction

func (p Focus) IsFunction() bool

Focus.Key

func (p Focus) Key() string

Focus.Process

func (p Focus) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

FocusVisible

struct

type FocusVisible struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible

FocusVisible.AlterRules

func (p FocusVisible) AlterRules(rules []rules.Rule) []rules.Rule

FocusVisible.IsFunction

func (p FocusVisible) IsFunction() bool

FocusVisible.Key

func (p FocusVisible) Key() string

FocusVisible.Process

func (p FocusVisible) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

FocusWithin

struct

type FocusWithin struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-within

FocusWithin.AlterRules

func (p FocusWithin) AlterRules(rules []rules.Rule) []rules.Rule

FocusWithin.IsFunction

func (p FocusWithin) IsFunction() bool

FocusWithin.Key

func (p FocusWithin) Key() string

FocusWithin.Process

func (p FocusWithin) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Fullscreen

struct

type Fullscreen struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:fullscreen

Fullscreen.AlterRules

func (p Fullscreen) AlterRules(rules []rules.Rule) []rules.Rule

Fullscreen.IsFunction

func (p Fullscreen) IsFunction() bool

Fullscreen.Key

func (p Fullscreen) Key() string

Fullscreen.Process

func (p Fullscreen) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Future

struct

type Future struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:future

Future.AlterRules

func (p Future) AlterRules(rules []rules.Rule) []rules.Rule

Future.IsFunction

func (p Future) IsFunction() bool

Future.Key

func (p Future) Key() string

Future.Process

func (p Future) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Has

struct

type Has struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:has

Has.AlterRules

func (p Has) AlterRules(rules []rules.Rule) []rules.Rule

Has.IsFunction

func (p Has) IsFunction() bool

Has.Key

func (p Has) Key() string

Has.Process

func (p Has) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Host

struct

type Host struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:host

Host.AlterRules

func (p Host) AlterRules(rules []rules.Rule) []rules.Rule

Host.IsFunction

func (p Host) IsFunction() bool

Host.Key

func (p Host) Key() string

Host.Process

func (p Host) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

HostContext

struct

type HostContext struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:host-context

HostContext.AlterRules

func (p HostContext) AlterRules(rules []rules.Rule) []rules.Rule

HostContext.IsFunction

func (p HostContext) IsFunction() bool

HostContext.Key

func (p HostContext) Key() string

HostContext.Process

func (p HostContext) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Hover

struct

type Hover struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:hover

Hover.AlterRules

func (p Hover) AlterRules(inRules []rules.Rule) []rules.Rule

Hover.IsFunction

func (p Hover) IsFunction() bool

Hover.Key

func (p Hover) Key() string

Hover.Process

func (p Hover) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

InRange

struct

type InRange struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:in-range

InRange.AlterRules

func (p InRange) AlterRules(rules []rules.Rule) []rules.Rule

InRange.IsFunction

func (p InRange) IsFunction() bool

InRange.Key

func (p InRange) Key() string

InRange.Process

func (p InRange) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Indeterminate

struct

type Indeterminate struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate

Indeterminate.AlterRules

func (p Indeterminate) AlterRules(rules []rules.Rule) []rules.Rule

Indeterminate.IsFunction

func (p Indeterminate) IsFunction() bool

Indeterminate.Key

func (p Indeterminate) Key() string

Indeterminate.Process

func (p Indeterminate) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Invalid

struct

type Invalid struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:invalid

Invalid.AlterRules

func (p Invalid) AlterRules(rules []rules.Rule) []rules.Rule

Invalid.IsFunction

func (p Invalid) IsFunction() bool

Invalid.Key

func (p Invalid) Key() string

Invalid.Process

func (p Invalid) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Is

struct

type Is struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:is

Is.AlterRules

func (p Is) AlterRules(rules []rules.Rule) []rules.Rule

Is.IsFunction

func (p Is) IsFunction() bool

Is.Key

func (p Is) Key() string

Is.Process

func (p Is) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Lang

struct

type Lang struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:lang

Lang.AlterRules

func (p Lang) AlterRules(rules []rules.Rule) []rules.Rule

Lang.IsFunction

func (p Lang) IsFunction() bool

Lang.Key

func (p Lang) Key() string

Lang.Process

func (p Lang) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

LastChild

struct

type LastChild struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:last-child

LastChild.AlterRules

func (p LastChild) AlterRules(rules []rules.Rule) []rules.Rule

LastChild.IsFunction

func (p LastChild) IsFunction() bool

LastChild.Key

func (p LastChild) Key() string

LastChild.Process

func (p LastChild) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

LastOfType

struct

type LastOfType struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:last-of-type

LastOfType.AlterRules

func (p LastOfType) AlterRules(rules []rules.Rule) []rules.Rule

LastOfType.IsFunction

func (p LastOfType) IsFunction() bool

LastOfType.Key

func (p LastOfType) Key() string

LastOfType.Process

func (p LastOfType) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Left

struct

type Left struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:left

Left.AlterRules

func (p Left) AlterRules(rules []rules.Rule) []rules.Rule

Left.IsFunction

func (p Left) IsFunction() bool

Left.Key

func (p Left) Key() string

Left.Process

func (p Left) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

struct

type Link struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:link

Link.AlterRules

func (p Link) AlterRules(rules []rules.Rule) []rules.Rule

Link.IsFunction

func (p Link) IsFunction() bool

Link.Key

func (p Link) Key() string

Link.Process

func (p Link) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

struct

type LocalLink struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:local-link

LocalLink.AlterRules

func (p LocalLink) AlterRules(rules []rules.Rule) []rules.Rule

LocalLink.IsFunction

func (p LocalLink) IsFunction() bool

LocalLink.Key

func (p LocalLink) Key() string

LocalLink.Process

func (p LocalLink) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

struct

type Modal struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:modal

Modal.AlterRules

func (p Modal) AlterRules(rules []rules.Rule) []rules.Rule

Modal.IsFunction

func (p Modal) IsFunction() bool

Modal.Key

func (p Modal) Key() string

Modal.Process

func (p Modal) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Not

struct

type Not struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:not

Not.AlterRules

func (p Not) AlterRules(rules []rules.Rule) []rules.Rule

Not.IsFunction

func (p Not) IsFunction() bool

Not.Key

func (p Not) Key() string

Not.Process

func (p Not) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

NthChild

struct

type NthChild struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-child

NthChild.AlterRules

func (p NthChild) AlterRules(rules []rules.Rule) []rules.Rule

NthChild.IsFunction

func (p NthChild) IsFunction() bool

NthChild.Key

func (p NthChild) Key() string

NthChild.Process

func (p NthChild) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

NthCol

struct

type NthCol struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-col

NthCol.AlterRules

func (p NthCol) AlterRules(rules []rules.Rule) []rules.Rule

NthCol.IsFunction

func (p NthCol) IsFunction() bool

NthCol.Key

func (p NthCol) Key() string

NthCol.Process

func (p NthCol) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

NthLastChild

struct

type NthLastChild struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-last-child

NthLastChild.AlterRules

func (p NthLastChild) AlterRules(rules []rules.Rule) []rules.Rule

NthLastChild.IsFunction

func (p NthLastChild) IsFunction() bool

NthLastChild.Key

func (p NthLastChild) Key() string

NthLastChild.Process

func (p NthLastChild) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

NthLastCol

struct

type NthLastCol struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-last-col

NthLastCol.AlterRules

func (p NthLastCol) AlterRules(rules []rules.Rule) []rules.Rule

NthLastCol.IsFunction

func (p NthLastCol) IsFunction() bool

NthLastCol.Key

func (p NthLastCol) Key() string

NthLastCol.Process

func (p NthLastCol) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

NthLastOfType

struct

type NthLastOfType struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-last-of-type

NthLastOfType.AlterRules

func (p NthLastOfType) AlterRules(rules []rules.Rule) []rules.Rule

NthLastOfType.IsFunction

func (p NthLastOfType) IsFunction() bool

NthLastOfType.Key

func (p NthLastOfType) Key() string

NthLastOfType.Process

func (p NthLastOfType) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

NthOfType

struct

type NthOfType struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-of-type

NthOfType.AlterRules

func (p NthOfType) AlterRules(rules []rules.Rule) []rules.Rule

NthOfType.IsFunction

func (p NthOfType) IsFunction() bool

NthOfType.Key

func (p NthOfType) Key() string

NthOfType.Process

func (p NthOfType) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

OnlyChild

struct

type OnlyChild struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:only-child

OnlyChild.AlterRules

func (p OnlyChild) AlterRules(rules []rules.Rule) []rules.Rule

OnlyChild.IsFunction

func (p OnlyChild) IsFunction() bool

OnlyChild.Key

func (p OnlyChild) Key() string

OnlyChild.Process

func (p OnlyChild) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

OnlyOfType

struct

type OnlyOfType struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:only-of-type

OnlyOfType.AlterRules

func (p OnlyOfType) AlterRules(rules []rules.Rule) []rules.Rule

OnlyOfType.IsFunction

func (p OnlyOfType) IsFunction() bool

OnlyOfType.Key

func (p OnlyOfType) Key() string

OnlyOfType.Process

func (p OnlyOfType) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Optional

struct

type Optional struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:optional

Optional.AlterRules

func (p Optional) AlterRules(rules []rules.Rule) []rules.Rule

Optional.IsFunction

func (p Optional) IsFunction() bool

Optional.Key

func (p Optional) Key() string

Optional.Process

func (p Optional) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

OutOfRange

struct

type OutOfRange struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:out-of-range

OutOfRange.AlterRules

func (p OutOfRange) AlterRules(rules []rules.Rule) []rules.Rule

OutOfRange.IsFunction

func (p OutOfRange) IsFunction() bool

OutOfRange.Key

func (p OutOfRange) Key() string

OutOfRange.Process

func (p OutOfRange) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Past

struct

type Past struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:past

Past.AlterRules

func (p Past) AlterRules(rules []rules.Rule) []rules.Rule

Past.IsFunction

func (p Past) IsFunction() bool

Past.Key

func (p Past) Key() string

Past.Process

func (p Past) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Paused

struct

type Paused struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:paused

Paused.AlterRules

func (p Paused) AlterRules(rules []rules.Rule) []rules.Rule

Paused.IsFunction

func (p Paused) IsFunction() bool

Paused.Key

func (p Paused) Key() string

Paused.Process

func (p Paused) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

PictureInPicture

struct

type PictureInPicture struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:picture-in-picture

PictureInPicture.AlterRules

func (p PictureInPicture) AlterRules(rules []rules.Rule) []rules.Rule

PictureInPicture.IsFunction

func (p PictureInPicture) IsFunction() bool

PictureInPicture.Key

func (p PictureInPicture) Key() string

PictureInPicture.Process

func (p PictureInPicture) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

PlaceholderShown

struct

type PlaceholderShown struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:placeholder-shown

PlaceholderShown.AlterRules

func (p PlaceholderShown) AlterRules(rules []rules.Rule) []rules.Rule

PlaceholderShown.IsFunction

func (p PlaceholderShown) IsFunction() bool

PlaceholderShown.Key

func (p PlaceholderShown) Key() string

PlaceholderShown.Process

func (p PlaceholderShown) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Playing

struct

type Playing struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:playing

Playing.AlterRules

func (p Playing) AlterRules(rules []rules.Rule) []rules.Rule

Playing.IsFunction

func (p Playing) IsFunction() bool

Playing.Key

func (p Playing) Key() string

Playing.Process

func (p Playing) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Pseudo

interface

type Pseudo interface {
    Key() string
    IsFunction() bool
    Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)
    AlterRules(rules []rules.Rule) []rules.Rule
}

ReadOnly

struct

type ReadOnly struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:read-only

ReadOnly.AlterRules

func (p ReadOnly) AlterRules(rules []rules.Rule) []rules.Rule

ReadOnly.IsFunction

func (p ReadOnly) IsFunction() bool

ReadOnly.Key

func (p ReadOnly) Key() string

ReadOnly.Process

func (p ReadOnly) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

ReadWrite

struct

type ReadWrite struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:read-write

ReadWrite.AlterRules

func (p ReadWrite) AlterRules(rules []rules.Rule) []rules.Rule

ReadWrite.IsFunction

func (p ReadWrite) IsFunction() bool

ReadWrite.Key

func (p ReadWrite) Key() string

ReadWrite.Process

func (p ReadWrite) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Required

struct

type Required struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:required

Required.AlterRules

func (p Required) AlterRules(rules []rules.Rule) []rules.Rule

Required.IsFunction

func (p Required) IsFunction() bool

Required.Key

func (p Required) Key() string

Required.Process

func (p Required) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

struct

type Right struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:right

Right.AlterRules

func (p Right) AlterRules(rules []rules.Rule) []rules.Rule

Right.IsFunction

func (p Right) IsFunction() bool

Right.Key

func (p Right) Key() string

Right.Process

func (p Right) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Root

struct

type Root struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:root

Root.AlterRules

func (p Root) AlterRules(rules []rules.Rule) []rules.Rule

Root.IsFunction

func (p Root) IsFunction() bool

Root.Key

func (p Root) Key() string

Root.Process

func (p Root) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Scope

struct

type Scope struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:scope

Scope.AlterRules

func (p Scope) AlterRules(rules []rules.Rule) []rules.Rule

Scope.IsFunction

func (p Scope) IsFunction() bool

Scope.Key

func (p Scope) Key() string

Scope.Process

func (p Scope) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

State

struct

type State struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:state

State.AlterRules

func (p State) AlterRules(rules []rules.Rule) []rules.Rule

State.IsFunction

func (p State) IsFunction() bool

State.Key

func (p State) Key() string

State.Process

func (p State) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Target

struct

type Target struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:target

Target.AlterRules

func (p Target) AlterRules(rules []rules.Rule) []rules.Rule

Target.IsFunction

func (p Target) IsFunction() bool

Target.Key

func (p Target) Key() string

Target.Process

func (p Target) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

TargetWithin

struct

type TargetWithin struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:target-within

TargetWithin.AlterRules

func (p TargetWithin) AlterRules(rules []rules.Rule) []rules.Rule

TargetWithin.IsFunction

func (p TargetWithin) IsFunction() bool

TargetWithin.Key

func (p TargetWithin) Key() string

TargetWithin.Process

func (p TargetWithin) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

UserInvalid

struct

type UserInvalid struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:user-invalid

UserInvalid.AlterRules

func (p UserInvalid) AlterRules(rules []rules.Rule) []rules.Rule

UserInvalid.IsFunction

func (p UserInvalid) IsFunction() bool

UserInvalid.Key

func (p UserInvalid) Key() string

UserInvalid.Process

func (p UserInvalid) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Valid

struct

type Valid struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:valid

Valid.AlterRules

func (p Valid) AlterRules(rules []rules.Rule) []rules.Rule

Valid.IsFunction

func (p Valid) IsFunction() bool

Valid.Key

func (p Valid) Key() string

Valid.Process

func (p Valid) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Visited

struct

type Visited struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:visited

Visited.AlterRules

func (p Visited) AlterRules(rules []rules.Rule) []rules.Rule

Visited.IsFunction

func (p Visited) IsFunction() bool

Visited.Key

func (p Visited) Key() string

Visited.Process

func (p Visited) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)

Where

struct

type Where struct{}

https://developer.mozilla.org/en-US/docs/Web/CSS/:where

Where.AlterRules

func (p Where) AlterRules(rules []rules.Rule) []rules.Rule

Where.IsFunction

func (p Where) IsFunction() bool

Where.Key

func (p Where) Key() string

Where.Process

func (p Where) Process(elm *document.Element, value rules.SelectorPart) ([]*document.Element, error)