Closed kilianc closed 9 years ago
Modifiers are just additive. Your red surface is forward 3 pixels and the yellow is forward 101 pixels which is why you are seeing the yellow surface. The nesting in the directives is only for hierarchical purposes and is not at all reflected in the DOM.
+1 to @michaelobriena 's comment. This is expected behavior based on the provided code. I'll go ahead and close this but feel free to reopen if you're still having problems (or feel free to continue the discussion here if anything is unclear)
With this code I see the yellow surface O_o