From bb875275a6dc6a93ad4e168636b994cb0ab68ba9 Mon Sep 17 00:00:00 2001 From: katejeffreys Date: Tue, 27 Sep 2016 16:19:51 -0700 Subject: [PATCH] Resolving issue #1745 with Polymer docs https://github.com/Polymer/docs/issues/1745. Clarified info about deprecated combinators /deep/ and ::shadow --- src/lib/custom-style.html | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/lib/custom-style.html b/src/lib/custom-style.html index c8c0aea751..69e9b0d89e 100644 --- a/src/lib/custom-style.html +++ b/src/lib/custom-style.html @@ -21,7 +21,7 @@ * Document styles defined in a `custom-style` will be shimmed to ensure they do not leak into local DOM when running on browsers without non-native Shadow DOM. -* Shadow DOM-specific `/deep/` and `::shadow` combinators will be shimmed on +* For backwards compatibility, the deprecated shadow DOM-specific `/deep/` and `::shadow` combinators will be shimmed on browsers without non-native Shadow DOM. * Custom properties used by Polymer's shim for cross-scope styling may be defined in an `custom-style`. @@ -45,11 +45,6 @@ box-sizing: border-box; } - /* Can use /deep/ and ::shadow combinators */ - body /deep/ .my-special-view::shadow #thing-inside { - background: yellow; - } - /* Custom properties that inherit down the document tree may be defined */ body { --my-toolbar-title-color: green;