- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 24 Jul 2015 14:48:17 -0700
- 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. ~TJ
Received on Friday, 24 July 2015 21:49:09 UTC