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

Re: [CSS3 Text] request: line-padding

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 20 Jan 2010 14:57:42 -0600
Message-ID: <dd0fbad1001201257p2c46833dy6781ca04780783ad@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, Kenneth Kufluk <kenneth@kufluk.com>, www-style@w3.org
On Wed, Jan 20, 2010 at 12:41 PM, Brad Kemper <brad.kemper@gmail.com> wrote:
> On Jan 20, 2010, at 9:49 AM, fantasai wrote:
>> and it'll break if there's any
>> content on any lines that's taller than the default line height.
>
> True. But in many cases where striping is useful (code listings, for instance), that would be rare, or controllable.

Given the pretty-printed code employing roughly that strategy I've
seen on the web, and considering how often the striping becomes
noticeably misaligned after 20 lines or less of code, I'd say it's not
very rare at all.  Either line-height commonly varies by small,
unpredictable amounts, or authors are just bad at predicting exactly
how tall the line is.  Or both.

~TJ
Received on Wednesday, 20 January 2010 20:58:29 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:23 GMT