Re: [CSS21][css-text] percentages on text-indent

> Le 11 févr. 2015 à 21:25, fantasai <fantasai.lists@inkedblade.net> a écrit :
> 
>> So please, let's change the spec (and gecko) here to match webkit's behavior.
> 
> I don't have Webkit, but Blink matches Firefox. Here's the testcase:
>  http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=3413
> 
> If Webkit does indeed do the sane thing, then we can change it, but
> I've seen several people misinterpret their text-indent testcases
> today, so I'm going to make you send screenshots before I believe you. :)

Webkit (Safari 8) matches Firefox (recentish nightly build) on the testcase. However, if you add `overflow: hidden` to the <p>, then the behaviour is different: no change in Safari 8, but the text-indent in Firefox is now calculated based on the width of the <p>. I’m not sure that is what the spec text expects…


Philippe
--
Philippe Wittenbergh
http://l-c-n.com/

Received on Wednesday, 11 February 2015 12:52:12 UTC