W3C home > Mailing lists > Public > www-style@w3.org > July 2015

Re: [css-break] I hate the diagrams

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 24 Jul 2015 14:48:17 -0700
Message-ID: <CAAWBYDCYVs1QLVPQ=O__RUUXFO6Z7W0ZthZKD333hA3uNj9_cQ@mail.gmail.com>
To: Rossen Atanassov <Rossen.Atanassov@microsoft.com>
Cc: Doug Schepers <schepers@w3.org>, Lea Verou <lea@verou.me>, www-style list <www-style@w3.org>
On Fri, Jul 24, 2015 at 2:08 PM, Rossen Atanassov
<Rossen.Atanassov@microsoft.com> wrote:
> From: Tab Atkins Jr. [mailto:jackalmage@gmail.com]
>> In theory, using ems for the width of some things and then positioning them
>> around/between things positioned in pixels is broken.  SVG doesn't have
>> wrapping in this context, so if the user's font size is different than expected,
>> the lines will over- or underflow and look dumb.  The entire diagram should
>> be in px only.
> I agree in general but for this simple case I would expect interop.

It's not about interop, it's about making incorrect assumptions about
how units interact.  If my default font-size is set to 20px, your
diagram will be broken and overlapping.  You can't mix em and px in
that naive way.

Received on Friday, 24 July 2015 21:49:09 UTC

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