Home
last modified time | relevance | path

Searched refs:ShadyCSS (Results 1 – 17 of 17) sorted by relevance

/external/chromium-trace/catapult/third_party/polymer/components/shadycss/src/
Dstyle-settings.js36 if (window.ShadyCSS && window.ShadyCSS.cssBuild !== undefined) {
37 cssBuild = window.ShadyCSS.cssBuild;
40 if (window.ShadyCSS && window.ShadyCSS.nativeCss !== undefined) {
41 nativeCssVariables_ = window.ShadyCSS.nativeCss;
42 } else if (window.ShadyCSS) {
43 calcCssVariables(window.ShadyCSS);
45 window.ShadyCSS = undefined;
Dscoping-shim.js172 } else if (window.ShadyCSS && window.ShadyCSS.ApplyShim) {
173 this._applyShim = /** @type {!Object} */ (window.ShadyCSS.ApplyShim);
180 } else if (window.ShadyCSS && window.ShadyCSS.CustomStyleInterface) {
181 …this._customStyleInterface = /** @type {!CustomStyleInterfaceInterface} */(window.ShadyCSS.CustomS…
/external/chromium-trace/catapult/third_party/polymer/components/shadycss/
Dcustom-style-interface.min.js10 …s.customStyles=[];this.enqueued=!1;h(function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS
12ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(u=window.ShadyCSS.cssBuild);window.ShadyCSS&&void 0!…
13ShadyCSS||(window.ShadyCSS={prepareTemplate:function(){},prepareTemplateDom:function(){},prepareTe…
DREADME.md1 # ShadyCSS chapter
3 ShadyCSS provides a library to simulate ShadowDOM style encapsulation (ScopingShim), a shim for the…
6 ShadyCSS requires support for the `<template>` element, ShadowDOM, MutationObserver, Promise, and O…
10 ShadyCSS can be used by loading the ScopingShim, ApplyShim, CustomStyleInterface, or any combinatio…
17 All libraries will expose an object on `window` named `ShadyCSS` with the following interface:
20 ShadyCSS = {
164 To add document-level styles to ShadyCSS, one can call `CustomStyleInterface.addCustomStyle(styleEl…
222 To use ShadyCSS:
224 1. First, call `ShadyCSS.prepareTemplate(template, name)` on a
227 2. When the element instance is connected, call `ShadyCSS.styleElement(element)`
[all …]
Dapply-shim.min.js10ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(t=window.ShadyCSS.cssBuild);window.ShadyCSS&&void 0!…
25 …ll;V.invalidCallback=ra}function X(a){!a.a&&window.ShadyCSS.CustomStyleInterface&&(a.a=window.Shad…
29ShadyCSS||!window.ShadyCSS.ScopingShim){var Y=new W,ua=window.ShadyCSS&&window.ShadyCSS.CustomStyl…
30 …,nativeCss:u,nativeShadow:l,cssBuild:v};ua&&(window.ShadyCSS.CustomStyleInterface=ua)}window.Shady…
Dcustom-style-interface.min.js.map1ShadyCSS","undefined","nativeCss","nativeCssVariables","module$src$style_settings.cssBuild","custo…
Dscoping-shim.min.js43 …,b);return b}}function Cb(a){!a.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(a.b=win…
44 function Y(a){!a.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(a.a=window.ShadyCSS.ApplyShim,a.a.…
54 …nction(){return u}}});var Z=new X,Fb,Gb;window.ShadyCSS&&(Fb=window.ShadyCSS.ApplyShim,Gb=window.S…
55 window.ShadyCSS={ScopingShim:Z,prepareTemplate:function(a,b,c){Z.flushCustomStyles();Z.prepareTempl…
56 …b)},nativeCss:u,nativeShadow:r,cssBuild:v};Fb&&(window.ShadyCSS.ApplyShim=Fb);Gb&&(window.ShadyCSS
Dapply-shim.min.js.map1ShadyCSS","undefined","nativeCss","nativeCssVariables","module$src$style_settings.cssBuild","const…
Dscoping-shim.min.js.map1ShadyCSS","undefined","nativeCss","nativeCssVariables","module$src$style_settings.cssBuild","VAR_A…
/external/chromium-trace/catapult/third_party/polymer/components/shadycss/entrypoints/
Dapply-shim.js34 if (window.ShadyCSS.CustomStyleInterface) {
37 window.ShadyCSS.CustomStyleInterface);
143 if (!window.ShadyCSS || !window.ShadyCSS.ScopingShim) {
145 let CustomStyleInterface = window.ShadyCSS && window.ShadyCSS.CustomStyleInterface;
148 window.ShadyCSS = {
165 window.ShadyCSS.prepareTemplate(template, elementName, elementExtends);
218 window.ShadyCSS.CustomStyleInterface = CustomStyleInterface;
222 window.ShadyCSS.ApplyShim = applyShim;
Dcustom-style-interface.js19 if (!window.ShadyCSS) {
20 window.ShadyCSS = {
81 window.ShadyCSS.CustomStyleInterface = customStyleInterface;
Dscoping-shim.js26 window.ShadyCSS = {
101 window.ShadyCSS.ApplyShim = ApplyShim;
105 window.ShadyCSS.CustomStyleInterface = CustomStyleInterface;
/external/chromium-trace/catapult/third_party/polymer/components/shadycss/tests/module/
Dmake-element.js18 if (template && window.ShadyCSS) {
19 window.ShadyCSS.prepareTemplate(template, name);
23 window.ShadyCSS && window.ShadyCSS.styleElement(this);
Dsvg-in-shadow.js13 const ShadyCSS = window.ShadyCSS; constant
18 ShadyCSS.prepareTemplate(TEMPLATE, LOCAL_NAME);
22 ShadyCSS.styleElement(this);
/external/chromium-trace/catapult/third_party/polymer/components/shadycss/examples/
Dcustom-style-element.js24 const CustomStyleInterface = window.ShadyCSS.CustomStyleInterface;
Ddocument-style-lib.js22 const CustomStyleInterface = window.ShadyCSS.CustomStyleInterface;
/external/chromium-trace/catapult/third_party/polymer/components/shadycss/externs/
Dshadycss-externs.js32 window.ShadyCSS;