On Friday, August 22, 2014 at 6:06:14 PM UTC+5:30, Johannes Paasila wrote:
>
> Hi Guys,
>
> I was doing some jank busting, and noticed that the hide element shortcut 
> in Dev Tools (press 'h' to set visibility:hidden on an element),
> doesn't work within shadow DOM. This being because the style rule applied 
> by the shortcut doesn't reach into the shadow DOM.
> (Same thing in Chrome Canary.)
>
> I'm working around this by applying the following style rule to my page:
>
> html /deep/ .__web-inspector-hide-shortcut__, 
> html /deep/ .__web-inspector-hide-shortcut__ *,
> .__web-inspector-hide-shortcut__ /deep/ * {
>     visibility: hidden !important;
> }
>
> With this in place it works, but I'd rather the tools just worked by 
> themselves.
> Is there something I'm missing? Or is such a work around necessary?
>
> Cheers, Johannes.
>

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/182cf398-eef6-4a2c-852b-8b91f7f0427d%40googlegroups.com.

Reply via email to