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

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

From: Zheng Xu <zxu@kobo.com>
Date: Fri, 26 Feb 2016 00:52:19 +0000
To: Praveen Puglia <praveenpuglia@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <B2447AF1-002D-49F2-9A19-F73875606D7D@kobo.com>
Change viewport can not fix this issue since we have to keep scale for whole page, just change font size in this case.

2016/02/25 12:53、Praveen Puglia <praveenpuglia@gmail.com<mailto:praveenpuglia@gmail.com>> のメール:

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

[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<mailto:zxu@kobo.com>> wrote:

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?


Praveen ◉ praveenpuglia.com<http://praveenpuglia.com/> ◉ @praveenpuglia<https://twitter.com/praveenpuglia>

Received on Friday, 26 February 2016 00:52:51 UTC

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