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

Re: [css3-text] Proposal RFC: text-remainder

From: Jerome Leclanche <adys.wh@gmail.com>
Date: Wed, 1 Feb 2012 16:21:12 +0000
Message-ID: <CAFd36Bj1QmwFdgUFt+X4XyXAXGZb4hOa+4Ka2F5BXab_hyL9hw@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org
Do you have any idea where the changes would be done? I'm interested in at
least looking into it.

J. Leclanche


On Tue, Jan 24, 2012 at 12:10 AM, fantasai <fantasai.lists@inkedblade.net>wrote:

> On 01/16/2012 05:34 PM, Jerome Leclanche wrote:
>
>> Sent this back in may and didn't receive any feedback. It's been almost a
>> year now, so resending :)
>>
>> After reading on text-align-last[1], I thought it'd be a good time to
>> bring up an old property I tried to implement in webkit a while back.
>> text-remainder (previously line-remainder) is a proposal to control
>> the remainder of a text block. Unlike text-align-last, it doesn't
>> control the alignment but on which line the remainder should be
>> present.
>> Namely, the following text (with the current, default text-remainder
>> value of "last"):
>>  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
>>  ...
>>  eiusmod tempor
>>
>> Would, with a value of "first", wrap like this:
>>  Lorem ipsum dolor
>>  ...
>>  sit amet, consectetur adipisicing elit, sed do eiusmod tempor
>>
>> Note that while text-remainder is very different to text-align-last, I
>> could see it incorporate its functionality (eg. text-remainder: first
>> center;, first value being the remainder style, the second being its
>> alignment).
>>
>> This functionality could also be used to design proper multiline tab
>> widgets, though that seems kind of irrelevant now.
>>
>> Would love to hear some thoughts.
>>
>
> This would require some very significant changes to how line layout
> is done, at least in Gecko, but probably in most other implementations
> as well. If there isn't a strong use case for adding it, it certainly
> won't make sense to put it in the spec.
>
> ~fantasai
>
>
Received on Wednesday, 1 February 2012 16:22:13 GMT

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