2013-04-25 18:17, Gabriele Romanato wrote:
You wrote: font-size: 0.5rem. Is it a typo?
I’m pretty sure Philip intentionally tested both with em and with rem. The bug manifests itself when em is used, not when rem is used, suggesting that IE 10 indeed calculates em wrong, when there is a pseudo-element with a class and font-size is set on it using the em unit.
Anyway, I think it's somewhat related to the cascade and inheritance behavior when applied to pseudo-elements.
There is no inheritance involved when a property is set on an element.
You first declared a font-size on a type selector, p, with a pseudo-element, then you declared a class with another pseudo-element on the same element type (p). The point is that they're both Ps, so they inherit from each other.
No, they don’t. Elements only inherit from their parents. And selectors are not elements.
I think this IE's behavior **might** be correct.
This looks definitely like a bug to me. The main practical issue with it is that we don’t know what really triggers it, so we can’t say for sure how to avoid or circumvent it.
Yucca ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/