In my index.html, I import my Polymer custom element and bind the loading stylesheet. If I check my custom element and its local DOM, I see that the bootstrap style starts on it. Is this because the shadow DOM polyfill Polymer ( shady DOM ) does not support encapsulation?
I tried to set Polymer to global DOM configuration on "shadow", but that didnβt help (maybe because m using Safari and THAT does not support shadow DOM yet, but I linked the full WebComponents library , so it should be polyfill that).
"shadow"
Searching in SO, I found this question: External CSS that affects the "shadow DOM" on the "Polymer" ("bleeding" in "), but it is associated with version 0.5 of the Polymer , so I donβt know how relevant it is to me right now .
Known LimitationsCSS encapsulation is limited.
Known Limitations
This is a known limitation of the Shadow DOM polyfill.
Shadow DOM Polymer 1.0. , DOM, , , . . , , . .
, Shady DOM jQuery. DOM, - .
Polymer DOM, , , polyfill webcomponents.js , , .
Source: https://habr.com/ru/post/1599697/More articles:Percentage formatting in Clojure - clojureWhy javascript accepts decimal as integer - javascriptConfirm input type in do-while loop C - cKarma does not work when using PhantomJS, but not in Chrome - javascriptWhy is this recursion much faster than equivalent iteration? - c ++PostgreSQL 9.3 does not work on createuser in Travis - postgresqlVisual Studio 2013/2015 Test project template - for NUnit? - c #External CSS affecting (bleeding) DOM shadow with Polymer - javascriptRemove the battery status of my MacBook using Swift - cocoa$ cookies.putObject does not work in angular 1.4 - angularjsAll Articles