├── .eslintignore ├── .eslintrc.json ├── .gitattributes ├── .github └── CODEOWNERS ├── .gitignore ├── .travis.yml ├── LICENSE.md ├── README.md ├── apply-shim.html ├── apply-shim.min.js ├── apply-shim.min.js.map ├── custom-style-interface.html ├── custom-style-interface.min.js ├── custom-style-interface.min.js.map ├── entrypoints ├── apply-shim.js ├── custom-style-interface.js └── scoping-shim.js ├── examples ├── custom-style-element.js └── document-style-lib.js ├── externs └── shadycss-externs.js ├── gulpfile.js ├── package.json ├── scoping-shim.min.js ├── scoping-shim.min.js.map ├── src ├── apply-shim-utils.js ├── apply-shim.js ├── common-regex.js ├── common-utils.js ├── css-parse.js ├── custom-style-interface.js ├── document-wait.js ├── document-watcher.js ├── scoping-shim.js ├── style-cache.js ├── style-info.js ├── style-placeholder.js ├── style-properties.js ├── style-settings.js ├── style-transformer.js ├── style-util.js ├── template-map.js └── unscoped-style-handler.js ├── tests ├── .eslintrc.json ├── apply-shim.html ├── async-loading.html ├── chrome-devtools.html ├── complicated-mixin-ordering.html ├── css-parse.html ├── custom-style-import.html ├── custom-style-late.html ├── custom-style-only.html ├── custom-style.html ├── deferred-apply.html ├── disable-runtime.html ├── dynamic-scoping.html ├── html-imports │ └── custom-style-import.html ├── lazy-init.html ├── media-query.html ├── mixin-fallbacks.html ├── mixin-ordering.html ├── module │ ├── css-parse.js │ ├── custom-style-element.js │ ├── make-element.js │ ├── style-cache.js │ ├── style-info.js │ ├── style-placeholder.js │ ├── style-properties.js │ ├── style-settings.js │ ├── style-transformer.js │ ├── style-util.js │ └── svg-in-shadow.js ├── no-applyshim │ ├── custom-style-late.html │ ├── custom-style-only.html │ └── custom-style.html ├── no-scopingshim │ ├── apply-shim.html │ ├── complicated-mixin-ordering.html │ ├── custom-style-late.html │ ├── custom-style-only.html │ ├── custom-style.html │ └── mixin-ordering.html ├── ordering.html ├── placeholder-ordering.html ├── runner.html ├── scoping-api.html ├── scoping.html ├── settings.html ├── style-transformer.html ├── svg.html ├── test-flags.js ├── wc-1.html └── workarounds.html └── wct.conf.json /.eslintignore: -------------------------------------------------------------------------------- 1 | tests/module/generated/* 2 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.min.* binary 2 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @azakus 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/README.md -------------------------------------------------------------------------------- /apply-shim.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/apply-shim.html -------------------------------------------------------------------------------- /apply-shim.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/apply-shim.min.js -------------------------------------------------------------------------------- /apply-shim.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/apply-shim.min.js.map -------------------------------------------------------------------------------- /custom-style-interface.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/custom-style-interface.html -------------------------------------------------------------------------------- /custom-style-interface.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/custom-style-interface.min.js -------------------------------------------------------------------------------- /custom-style-interface.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/custom-style-interface.min.js.map -------------------------------------------------------------------------------- /entrypoints/apply-shim.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/entrypoints/apply-shim.js -------------------------------------------------------------------------------- /entrypoints/custom-style-interface.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/entrypoints/custom-style-interface.js -------------------------------------------------------------------------------- /entrypoints/scoping-shim.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/entrypoints/scoping-shim.js -------------------------------------------------------------------------------- /examples/custom-style-element.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/examples/custom-style-element.js -------------------------------------------------------------------------------- /examples/document-style-lib.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/examples/document-style-lib.js -------------------------------------------------------------------------------- /externs/shadycss-externs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/externs/shadycss-externs.js -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/gulpfile.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/package.json -------------------------------------------------------------------------------- /scoping-shim.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/scoping-shim.min.js -------------------------------------------------------------------------------- /scoping-shim.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/scoping-shim.min.js.map -------------------------------------------------------------------------------- /src/apply-shim-utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/apply-shim-utils.js -------------------------------------------------------------------------------- /src/apply-shim.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/apply-shim.js -------------------------------------------------------------------------------- /src/common-regex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/common-regex.js -------------------------------------------------------------------------------- /src/common-utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/common-utils.js -------------------------------------------------------------------------------- /src/css-parse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/css-parse.js -------------------------------------------------------------------------------- /src/custom-style-interface.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/custom-style-interface.js -------------------------------------------------------------------------------- /src/document-wait.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/document-wait.js -------------------------------------------------------------------------------- /src/document-watcher.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/document-watcher.js -------------------------------------------------------------------------------- /src/scoping-shim.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/scoping-shim.js -------------------------------------------------------------------------------- /src/style-cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/style-cache.js -------------------------------------------------------------------------------- /src/style-info.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/style-info.js -------------------------------------------------------------------------------- /src/style-placeholder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/style-placeholder.js -------------------------------------------------------------------------------- /src/style-properties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/style-properties.js -------------------------------------------------------------------------------- /src/style-settings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/style-settings.js -------------------------------------------------------------------------------- /src/style-transformer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/style-transformer.js -------------------------------------------------------------------------------- /src/style-util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/style-util.js -------------------------------------------------------------------------------- /src/template-map.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/template-map.js -------------------------------------------------------------------------------- /src/unscoped-style-handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/src/unscoped-style-handler.js -------------------------------------------------------------------------------- /tests/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/.eslintrc.json -------------------------------------------------------------------------------- /tests/apply-shim.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/apply-shim.html -------------------------------------------------------------------------------- /tests/async-loading.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/async-loading.html -------------------------------------------------------------------------------- /tests/chrome-devtools.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/chrome-devtools.html -------------------------------------------------------------------------------- /tests/complicated-mixin-ordering.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/complicated-mixin-ordering.html -------------------------------------------------------------------------------- /tests/css-parse.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/css-parse.html -------------------------------------------------------------------------------- /tests/custom-style-import.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/custom-style-import.html -------------------------------------------------------------------------------- /tests/custom-style-late.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/custom-style-late.html -------------------------------------------------------------------------------- /tests/custom-style-only.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/custom-style-only.html -------------------------------------------------------------------------------- /tests/custom-style.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/custom-style.html -------------------------------------------------------------------------------- /tests/deferred-apply.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/deferred-apply.html -------------------------------------------------------------------------------- /tests/disable-runtime.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/disable-runtime.html -------------------------------------------------------------------------------- /tests/dynamic-scoping.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/dynamic-scoping.html -------------------------------------------------------------------------------- /tests/html-imports/custom-style-import.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/html-imports/custom-style-import.html -------------------------------------------------------------------------------- /tests/lazy-init.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/lazy-init.html -------------------------------------------------------------------------------- /tests/media-query.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/media-query.html -------------------------------------------------------------------------------- /tests/mixin-fallbacks.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/mixin-fallbacks.html -------------------------------------------------------------------------------- /tests/mixin-ordering.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/mixin-ordering.html -------------------------------------------------------------------------------- /tests/module/css-parse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/module/css-parse.js -------------------------------------------------------------------------------- /tests/module/custom-style-element.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/module/custom-style-element.js -------------------------------------------------------------------------------- /tests/module/make-element.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/module/make-element.js -------------------------------------------------------------------------------- /tests/module/style-cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/module/style-cache.js -------------------------------------------------------------------------------- /tests/module/style-info.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/module/style-info.js -------------------------------------------------------------------------------- /tests/module/style-placeholder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/module/style-placeholder.js -------------------------------------------------------------------------------- /tests/module/style-properties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/module/style-properties.js -------------------------------------------------------------------------------- /tests/module/style-settings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/module/style-settings.js -------------------------------------------------------------------------------- /tests/module/style-transformer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/module/style-transformer.js -------------------------------------------------------------------------------- /tests/module/style-util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/module/style-util.js -------------------------------------------------------------------------------- /tests/module/svg-in-shadow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/module/svg-in-shadow.js -------------------------------------------------------------------------------- /tests/no-applyshim/custom-style-late.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/no-applyshim/custom-style-late.html -------------------------------------------------------------------------------- /tests/no-applyshim/custom-style-only.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/no-applyshim/custom-style-only.html -------------------------------------------------------------------------------- /tests/no-applyshim/custom-style.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/no-applyshim/custom-style.html -------------------------------------------------------------------------------- /tests/no-scopingshim/apply-shim.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/no-scopingshim/apply-shim.html -------------------------------------------------------------------------------- /tests/no-scopingshim/complicated-mixin-ordering.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/no-scopingshim/complicated-mixin-ordering.html -------------------------------------------------------------------------------- /tests/no-scopingshim/custom-style-late.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/no-scopingshim/custom-style-late.html -------------------------------------------------------------------------------- /tests/no-scopingshim/custom-style-only.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/no-scopingshim/custom-style-only.html -------------------------------------------------------------------------------- /tests/no-scopingshim/custom-style.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/no-scopingshim/custom-style.html -------------------------------------------------------------------------------- /tests/no-scopingshim/mixin-ordering.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/no-scopingshim/mixin-ordering.html -------------------------------------------------------------------------------- /tests/ordering.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/ordering.html -------------------------------------------------------------------------------- /tests/placeholder-ordering.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/placeholder-ordering.html -------------------------------------------------------------------------------- /tests/runner.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/runner.html -------------------------------------------------------------------------------- /tests/scoping-api.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/scoping-api.html -------------------------------------------------------------------------------- /tests/scoping.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/scoping.html -------------------------------------------------------------------------------- /tests/settings.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/settings.html -------------------------------------------------------------------------------- /tests/style-transformer.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/style-transformer.html -------------------------------------------------------------------------------- /tests/svg.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/svg.html -------------------------------------------------------------------------------- /tests/test-flags.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/test-flags.js -------------------------------------------------------------------------------- /tests/wc-1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/wc-1.html -------------------------------------------------------------------------------- /tests/workarounds.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/tests/workarounds.html -------------------------------------------------------------------------------- /wct.conf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/shadycss/HEAD/wct.conf.json --------------------------------------------------------------------------------