[Bug 17143] [Shadow]: Consider explicitly exporting CSS Variables across a shadow boundary

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17143

Dominic Cooney <dominicc@chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dominicc@chromium.org

--- Comment #1 from Dominic Cooney <dominicc@chromium.org> 2012-06-18 02:57:47 UTC ---
I think this case could be more common than just accidental name collisions.

Consider nested use of the same component: Say my network configuration
component has a tab strip for WiFi, IPv6, etc. and it is designed to be reused
in different contexts. If someone puts it inside another tabstrip for Network,
Display, etc. the variables set to configure the outer tabstrip will naturally
apply to the inner one. (I think?)

In general someone using a component inside another component, to make their
use of that component really reliable, would have to reset the variables around
the inner component, which means being fully aware of its default style.

On the other hand, if the component is using variables for theming, the global
application is probably what you want.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 18 June 2012 02:57:50 UTC