Re: [css-break] I hate the diagrams

On Sun, Jul 19, 2015 at 10:34 AM, Doug Schepers <schepers@w3.org> wrote:
> Rossen has already changed the diagrams to represent the text using lines
> [1] (as indeed I'd had in an earlier version of the diagrams). I know the
> technique you're talking about, and I use it many other places [2], but I
> was trying to experiment a little in these diagrams, as I thought it could
> be clever to use real "blank text" as the placeholder in a CSS spec.
>
> [1] http://drafts.csswg.org/css-break/#varying-size-boxes
> [2] http://www.w3.org/annotation/diagrams/annotation-architecture.svg

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.

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.

~TJ

Received on Monday, 20 July 2015 21:18:55 UTC