W3C home > Mailing lists > Public > www-style@w3.org > February 2016

Re: [css-inline] is it possible to set "min-line-height"?

From: Praveen Puglia <praveenpuglia@gmail.com>
Date: Thu, 25 Feb 2016 23:23:08 +0530
Message-ID: <CANfatsoWy67t4B54SZi=T42SKwWfd+2WJBCnaATbDKvm_WapAg@mail.gmail.com>
To: Zheng Xu <zxu@kobo.com>
Cc: "www-style@w3.org" <www-style@w3.org>
This immediately triggers the thought about max-line-height. Developers
would expect that to be there too isn't it?

I am wondering whether the problem can be solved using the "viewport" meta
tag[1] where you can set the initial-scale, minimum scale, maximum-scale

[1] https://developer.mozilla.org/en/docs/Mozilla/Mobile/Viewport_meta_tag

On Thu, Feb 25, 2016 at 9:37 PM, Zheng Xu <zxu@kobo.com> wrote:

> Hi
> Just a rough idea, I wonder if we can set min-line-height such as
> min-height vs height?
> One of use case is
> Creator of xhtml might create a content with line-height as 1.2 em.
> As epub reader we usually have feature to let user to adjust line-height
> as they hope, but we don’t want to break a min-line-height which is set by
> creator.
> Is there any way we can do this with existed way? Or maybe better to make
> a proposal for new style?
> Cheers,
> Jeff

Praveen ◉ praveenpuglia.com ◉ @praveenpuglia
Received on Thursday, 25 February 2016 17:53:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:00 UTC