Re: [letter-spacing] clarification needed

> 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