W3C home > Mailing lists > Public > www-style@w3.org > November 2011

Re: [css3-text] Splitting CSS Text into Level 3 and Level 4

From: Alan Stearns <stearns@adobe.com>
Date: Wed, 23 Nov 2011 08:14:43 -0800
To: Florian Rivoal <florianr@opera.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <CAF25BF3.92E7%stearns@adobe.com>
On 11/23/11 7:47 AM, "Florian Rivoal" <florianr@opera.com> wrote:

>> How much interoperability are you looking for?
> 
> Enough to be testable sounds like a good limit in this case.
> 
>> But I think we can have tests that check that text-justify:inter-word
>> only changes word spacing and leaves inter-character spacing alone.
> 
> That test would be wrong. text-justify:inter-word does not require that
> you only change
> spaces between words. Only that you *primarily* change space between
> words. You are free to
> also change inter-character spacing, as long as you don't change it nearly
> as much as
> inter word spacing.

You are correct. I was thinking of an example where a minor adjustment to
word spacing would be sufficient, and where I would expect no changes to
inter-character spacing. But that's not required in the spec. A UA could
interpret the spec's priority levels for inter-word by adding 5x word
spacing and 1x character spacing until the content filled the line box. That
would be a bad algorithm for Roman text, but I'm not reading anything in the
spec text that disallows that strategy.

I'm not sure that we would gain anything by getting more specific, though.
There are valid choices to make that will differ between implementations.
Perhaps the test cases could check that the spacing changes at each priority
level are roughly equivalent, and that higher priority changes are larger
than lower-priority changes.

Alan
Received on Wednesday, 23 November 2011 16:15:21 GMT

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