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

RE: [css-break] I hate the diagrams

From: Rossen Atanassov <Rossen.Atanassov@microsoft.com>
Date: Fri, 24 Jul 2015 21:08:46 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>, Doug Schepers <schepers@w3.org>
CC: Lea Verou <lea@verou.me>, www-style list <www-style@w3.org>
Message-ID: <BY2PR03MB192FC29BDBEB8AA5C74BD1B9B810@BY2PR03MB192.namprd03.prod.outlook.com>
> -----Original Message-----
> From: Tab Atkins Jr. [mailto:jackalmage@gmail.com]
> Sent: Monday, July 20, 2015 2:18 PM
> 
> Unfortunately, the updated diagrams (with the gray lines) are broken as well,
> both in practice and in theory.
> 
> In practice, it looks like Chrome/Linux, at least, is interpreting ems as user-
> space units when you load it via <img>?  All the gray parts are *super tiny*.
> This is a bug on our part, of course, but still.

OK, changed the diagrams to use only px. Let me know if you notice any other breakage.

> 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.

Thanks,
Rossen
Received on Friday, 24 July 2015 21:09:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:18 UTC