I'm doing some researches about browsers and their treat to the css and html codes, test this and see weird result and couldn't understand. it's a research. so it's not a real code.
I notice a problem when using CSS * selector. Let me explain:
See below example:
p * { color:red; }
It means that all the tags inside of a p element, must be red. some examples:
<p>
<div>
text <!-- Must be red but not !-->
</div>
<p>
text <!-- Must be red but not !-->
</p>
<span>
text <!-- Must be red but not !-->
</span>
</p>
Dose these problem has any reasons? Logical reasons?