-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathcss-agent.d.ts
More file actions
59 lines (59 loc) · 1.13 KB
/
css-agent.d.ts
File metadata and controls
59 lines (59 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
export interface CSSProperty {
name: string;
value: string;
disabled: boolean;
}
export interface ShorthandEntry {
name: string;
value: string;
}
export interface CSSStyle {
cssProperties: CSSProperty[];
shorthandEntries: ShorthandEntry[];
cssText?: string;
}
export interface Value {
text: string;
}
export interface SelectorList {
selectors: Value[];
text: string;
}
export interface CSSRule {
selectorList: SelectorList;
origin: string;
style: CSSStyle;
styleSheetId?: string;
}
export interface RuleMatch {
rule: CSSRule;
matchingSelectors: number[];
}
export interface InheritedStyleEntry {
matchedCSSRules: RuleMatch[];
inlineStyle?: CSSStyle;
}
export interface CSSComputedStyleProperty {
name: string;
value: string;
}
export interface PlatformFontUsage {
familyName: string;
glyphCount: number;
isCustomFont: boolean;
}
export interface CSSStyleSheetHeader {
styleSheetId: string;
frameId: string;
sourceUrl: string;
origin: string;
title: string;
disabled: boolean;
isInLine: boolean;
startLine: number;
startColumn: number;
}
export interface PseudoElementMatches {
pseudoType: string;
matches: RuleMatch[];
}