Re: [css3-values] Quirky Ems?

On Tue, Jan 29, 2013 at 7:04 PM, Mike Sherov <mike.sherov@gmail.com> wrote:
> Apologies if the www-style list is the wrong place for this, but google
> searches seem to indicate that Tab might be the only person who knows about
> this feature :-)
>
>
> I stumbled across this "bug" the other day and reported it:
> https://bugs.webkit.org/show_bug.cgi?id=107380
>
>
>
> Looking at the UA stylesheet for WebKit, I see lots of references to 0__qem,
> which I
> learned is a "quirky em", but not a lot of info exists on it.
> I would imagine this is supposed to be quirks mode only behavior, but it
> causes the bug I link to above, which seems like fairly odd behavior to
> program for.
>
> Is my bug a bug, or expected behavior? And if its expected, where can I
> find specs or an explanation of why that is the desired behavior?
>
>
>
> What is the point/reason for "quirky ems"?

They're not a real unit (and by that I mean, not invented by the
CSSWG, or intended for use by authors).  Hyatt invented them as a way
of handling the particularly weird quirks around margin-collapsing in
certain situations.  They're a hack, and it shows, in bugs like the
one you cited.  Other browsers handle these quirks in other ways.

~TJ

Received on Wednesday, 30 January 2013 03:13:47 UTC