Skip to content

Commit

Permalink
Resolving issue #1745 with Polymer docs
Browse files Browse the repository at this point in the history
Polymer/old-docs-site#1745. Clarified info about deprecated combinators /deep/ and ::shadow
  • Loading branch information
katejeffreys committed Sep 27, 2016
1 parent 80640c8 commit bb87527
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/lib/custom-style.html
Expand Up @@ -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`.
Expand All @@ -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;
Expand Down

0 comments on commit bb87527

Please sign in to comment.