struct Protocol::CSS::RuleMatch

Overview

Match data for a CSS rule.

Included Modules

Defined in:

protocol/css.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def matching_selectors : Array(Int::Primitive) #

Matching selector indices in the rule's selectorList selectors (0-based).


[View source]
def rule : CSSRule #

CSS rule in the match.


[View source]