ContainerEventProvider returns style names from container. Fixes #10718

ContainerEventProvider doesn't actually return 
style names from container in certain situations 
(copy-pasted code). This patch fixes the problem.

Change-Id: I512ea260f34a6db0572b614db393699da152fa8d
(cherry picked from commit 4709b75bb47d28630dacbb240bb43de16d972371)