1 | export interface CSSProperty {
|
2 | name: string;
|
3 | value: string;
|
4 | disabled: boolean;
|
5 | }
|
6 | export interface ShorthandEntry {
|
7 | name: string;
|
8 | value: string;
|
9 | }
|
10 | export interface CSSStyle {
|
11 | cssProperties: CSSProperty[];
|
12 | shorthandEntries: ShorthandEntry[];
|
13 | cssText?: string;
|
14 | }
|
15 | export interface Value {
|
16 | text: string;
|
17 | }
|
18 | export interface SelectorList {
|
19 | selectors: Value[];
|
20 | text: string;
|
21 | }
|
22 | export interface CSSRule {
|
23 | selectorList: SelectorList;
|
24 | origin: string;
|
25 | style: CSSStyle;
|
26 | styleSheetId?: string;
|
27 | }
|
28 | export interface RuleMatch {
|
29 | rule: CSSRule;
|
30 | matchingSelectors: number[];
|
31 | }
|
32 | export interface InheritedStyleEntry {
|
33 | matchedCSSRules: RuleMatch[];
|
34 | inlineStyle?: CSSStyle;
|
35 | }
|
36 | export interface CSSComputedStyleProperty {
|
37 | name: string;
|
38 | value: string;
|
39 | }
|
40 | export interface PlatformFontUsage {
|
41 | familyName: string;
|
42 | glyphCount: number;
|
43 | isCustomFont: boolean;
|
44 | }
|
45 | export interface CSSStyleSheetHeader {
|
46 | styleSheetId: string;
|
47 | frameId: string;
|
48 | sourceUrl: string;
|
49 | origin: string;
|
50 | title: string;
|
51 | disabled: boolean;
|
52 | isInLine: boolean;
|
53 | startLine: number;
|
54 | startColumn: number;
|
55 | }
|
56 | export interface PseudoElementMatches {
|
57 | pseudoType: string;
|
58 | matches: RuleMatch[];
|
59 | }
|