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

Re: [letter-spacing] clarification needed

From: Myles C. Maxfield <mmaxfield@apple.com>
Date: Mon, 14 Mar 2016 15:46:26 -0700
Cc: "www-style@w3.org" <www-style@w3.org>
Message-id: <D0706750-8AD5-4F2A-9933-6259ACE72F25@apple.com>
To: Andrew Fedoniouk <news@terrainformatica.com>

> On Mar 1, 2016, at 3:08 PM, Andrew Fedoniouk <news@terrainformatica.com> wrote:
> 
> From css2 <https://www.w3.org/TR/CSS2/text.html#propdef-letter-spacing>
> 
> "This property specifies spacing behavior between text characters"
> 
> Yet css3 Text Module <https://drafts.csswg.org/css-text-3/#letter-spacing-property> adds even more:
> 
> "Letter-spacing must not be applied at the beginning or at the end of a line."
> 
> But what if an inline <span> has letter-spacing set and its sibling runs has no or different letter-spacing? 
> 
> As far as I understand it should be render this way:
> 
> 
> 
> But Chrome (and all other UAs) render it as this:
> 
> 
> 
> Do we need to clarify letter-spacing further or that would be too much to ask?

I intend to fix this problem in WebKit (to align with the spec as it is currently written).

> 
> Test case: http://terrainformatica.com/w3/letter-spacing.htm <http://terrainformatica.com/w3/letter-spacing.htm>
> 
> 
> -- 
> Andrew Fedoniouk.
> 
> http://sciter.com <http://sciter.com/>

Received on Monday, 14 March 2016 22:46:57 UTC

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