Polymer and web components fans,


Here is a summary of the major changes in the newest implementation of 
Shadow DOM in Chrome M35.



Le Shadow DOM nouveau

References

   - 
   
   latest editor draft 
<http://w3c.github.io/webcomponents/spec/shadow/><http://www.w3.org/TR/2013/WD-shadow-dom-20130514/>
   - 
   
   style specific spec <http://dev.w3.org/csswg/shadow-styling/>
   

<http://dev.w3.org/csswg/shadow-styling/>

How to pro-actively tell if you will be impacted:

   - 
   
   check if you use anything mentioned in the *Identified changes* section
   - 
   
   regularly check your feature/product on Canary/Dev channel with 
   chrome://flags/#enable-experimental-web-platform-features enabled
   - 
   
   check the console for deprecation warnings
   

Identified changes (already happened or will happen very soon):

   - 
   
   remove support for custom 
pseudo-elements<http://www.w3.org/TR/shadow-dom/#custom-pseudo-elements>
   - 
   
   remove ShadowRoot's applyAuthorStyles
   - 
   
   remove ShadowRoot's resetStyleInheritance: currently there is no 
   alternative available (support for css ‘all’ property is missing)
   - 
   
   replace selectors ^ (hat) and ^^ (cat) with /shadow/ and /shadow-deep/
   - 
   
   remove ::-webkit-distributed: instead, please use 
/content/<http://dev.w3.org/csswg/shadow-styling/#content-combinator>
   

   - 
   
   remove ::content: instead, please use /content/
   - 
   
   change how the universal selector "*" works inside a ShadowRoot: the 
   host won’t match anymore. Instead, please use host 
selector(s)<http://dev.w3.org/csswg/shadow-styling/#host-selector>
   


Let me know if you notice anything odd beyond what I've identified here.

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/a6268f5a-2e43-43a1-9a49-c77bf11ba4e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to