Re: Request for adjustable font-size: line-fit

> This is why I asked for this as a single-line / single-element solution. 
> I know a multi-line experience will not be as simple and to be fair: 
> Multi-line isn't that kind of a common wish of developers / designers.
> Single-line is pretty straight forward to specify in my opinion and therefore
> could be implemented quickly.

Sorry, but I partly disagree ...!
One of the biggest disadvantages of CSS is its complexity and the relationship
between its properties.

So any new property and/ or possible value for a property has to be checked for
being "future-proofed"
and for not producing any unwanted drawbacks or side-effects.

What if the text of the element which font-size is set to 'line-fit' contains a
<br>?
Will the setting then be ignored?
Or does such a setting imply 'word-wrap:nowrap'?

The point is that you have to handle any possible case no matter if it seems
logical or not.
So "is pretty straight forward to specify in my opinion and therefore could be
implemented quickly" sounds a bit 'optimistic' to me. ;-)

And even if it would be relatively simple to implement, it should allow for
future expansion (e.g. the "grouping") without the (basic) concept needs to be
changed as such.
Which would be the worst case.

Greetings

Gunther

Received on Tuesday, 20 August 2013 22:47:21 UTC