Intent to Remove resetStyleInheritance form Shadow Root and Insertion Points

201 views
Skip to first unread message

Hayato Ito

unread,
Feb 13, 2014, 12:42:52 AM2/13/14
to polymer-dev
Hi polymer folks,

If you don't use {ShadowRoot,InsertionPoint}.resetStyleInheritance, you can skip the rest of this message.

We are removing resetStyleInheritance in a few days from Chrome canary.
I've already dropped it from the Shadow DOM spec:

Please see the discussion in the spec issue for details:

In summary, you can use CSS's new property 'all' as an replacement of resetStyleInheritance.

Note that there is no equivalent way to reset styles for a text node which is a direct child of a shadow root. If you have any questions or concerns about this, please let us know that.


--
Hayato

Eric Bidelman

unread,
Feb 13, 2014, 2:04:29 AM2/13/14
to Hayato Ito, polymer-dev

Afaict Chrome hasn't implemented the CSS all property. Before removing resetStyleInheritance should we have its replacement in place?

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 polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CAFpjS_1ctxvuiVBaQdOsQFGcNag901ioi0vZUKrJHtb3ef5Kdg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hayato Ito

unread,
Feb 13, 2014, 2:23:02 AM2/13/14
to Eric Bidelman, polymer-dev
Sounds a perfect objection. :)
Let me confirm the status and (probably) cancel the plan until we have a replacement.
--
Hayato

Hayato Ito

unread,
Mar 18, 2014, 12:08:24 AM3/18/14
to Eric Bidelman, polymer-dev
Let me announce that we've decided that we are removing resetStyleInheritance from Chrome canary soon to prevent this deprecated feature from being used anymore.
If you have any concerns, please let us know that.
--
Hayato

fox...@gmail.com

unread,
Jul 2, 2014, 2:57:23 PM7/2/14
to polym...@googlegroups.com
So sad.
ShadowDOM was exclusive way to reset browser zoom level in block of page.
I do not know alternative way. (

Eric Bidelman

unread,
Jul 2, 2014, 8:07:33 PM7/2/14
to fox...@gmail.com, polymer-dev


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 polymer-dev...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages