aboutsummaryrefslogtreecommitdiff
path: root/catapult/third_party/polymer/components/shadycss/externs/shadycss-externs.js
blob: 85b305897384bffabe1182bc1bdc1b9dc61a39d2 (plain)
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
60
61
62
63
64
/** @externs */

/** @typedef {{
 * styleElement: function(!HTMLElement),
 * styleSubtree: function(!HTMLElement, Object<string, string>=),
 * prepareTemplate: function(!HTMLTemplateElement, string, string=),
 * prepareTemplateStyles: function(!HTMLTemplateElement, string, string=),
 * prepareTemplateDom: function(!HTMLTemplateElement, string),
 * styleDocument: function(Object<string, string>=),
 * flushCustomStyles: function(),
 * getComputedStyleValue: function(!Element, string): string,
 * ScopingShim: (Object|undefined),
 * ApplyShim: (Object|undefined),
 * CustomStyleInterface: (Object|undefined),
 * nativeCss: boolean,
 * nativeShadow: boolean,
 * cssBuild: (string | undefined),
 * }}
 */
let ShadyCSSInterface; //eslint-disable-line no-unused-vars

/**
 * @typedef {{
 * shimcssproperties: (boolean | undefined),
 * shimshadow: (boolean | undefined),
 * cssBuild: (string | undefined),
 * }}
 */
let ShadyCSSOptions; //eslint-disable-line no-unused-vars

/** @type {(ShadyCSSInterface | ShadyCSSOptions | undefined)} */
window.ShadyCSS;

/** @type {string|undefined} */
Element.prototype.extends;

/** @type {?Element|undefined} */
Element.prototype._element;

/** @type {string|undefined} */
Element.prototype.__cssBuild;

/** @type {boolean|undefined} */
HTMLTemplateElement.prototype._validating;

/** @type {boolean|undefined} */
HTMLTemplateElement.prototype._prepared;

/** @type {boolean|undefined} */
HTMLTemplateElement.prototype._domPrepared;

/** @type {?DocumentFragment|undefined} */
HTMLTemplateElement.prototype._content;

/** @type {?HTMLStyleElement|undefined} */
HTMLTemplateElement.prototype._gatheredStyle;

/** @type {?HTMLStyleElement|undefined} */
HTMLTemplateElement.prototype._style;

/**
 * @type {string | undefined}
 */
DOMTokenList.prototype.value;