W3C home > Mailing lists > Public > www-style@w3.org > January 2013

Re: [css3-values] Quirky Ems?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 29 Jan 2013 19:13:00 -0800
Message-ID: <CAAWBYDCDXdw+U+JTFy=7iGdCSqoo4UnXL75rqOk5emtWPGseKQ@mail.gmail.com>
To: Mike Sherov <mike.sherov@gmail.com>
Cc: www-style list <www-style@w3.org>
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.

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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:23 UTC