Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

docs seem to suggest use of /deep/ and ::shadow #1745

Closed
davidmaxwaterman opened this issue Sep 19, 2016 · 1 comment
Closed

docs seem to suggest use of /deep/ and ::shadow #1745

davidmaxwaterman opened this issue Sep 19, 2016 · 1 comment

Comments

@davidmaxwaterman
Copy link
Contributor

https://www.polymer-project.org/1.0/docs/api/custom-style

Shadow DOM-specific /deep/ and ::shadow combinators will be shimmed on browsers without non-native Shadow DOM.
    /* Can use /deep/ and ::shadow combinators */
    body /deep/ .my-special-view::shadow #thing-inside {
      background: yellow;
    }

The above page suggests use of /deep/ and ::shadow, while I am advised those features are deprecated.

Could it be made a little clearer if developers should use these features or not? The way I read it, it seems like Polymer is shimming their behaviour, rather than it being implemented in the browser (as in the v0.5 days).

@arthurevans
Copy link

The lines in the example can just be removed. The line in the list, being technically correct, could be left in but qualified as, "For backwards compatibility, the deprecated shadow DOM /deep/ and ::shadow combinators will be shimmed ..."

@katejeffreys another one you could take.

@ghost ghost self-assigned this Sep 27, 2016
ghost pushed a commit to Polymer/polymer that referenced this issue Sep 27, 2016
Polymer/old-docs-site#1745. Clarified info about deprecated combinators /deep/ and ::shadow
@ghost ghost closed this as completed May 5, 2017
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants