- From: Tantek Çelik <tantek@cs.stanford.edu>
- Date: Thu, 29 Sep 2011 01:54:18 -0700
- To: www-style@w3.org
Through experience with both existing site use of text-overflow, and testing existing implementations[1], it's become clear that text-overflow with a single value must only apply to the end line edge, rather than to both left and right line edges. In particular, there are numerous sites that apparently depend on start edge ellipsing NOT occurring when there is a single value (e.g. cases where a negative text-indent is combined with left padding, thus causing overflow of the text, but not any rendering clipping). In addition, existing implementations (IE, Opera, Safari) consistently apply a singular text-overflow value to only the right edge for LTR text, and in most of those (IE, Safari) to only the left edge for RTL text. Thus I've made the respective change in the CSS3-UI text-overflow section: from: a single value applying to both left and right edges to: a single value applying only to the end line edge. http://dev.w3.org/csswg/css3-ui/#text-overflow Thanks, Tantek [1] https://bugzilla.mozilla.org/show_bug.cgi?id=684266 -- http://tantek.com/ - I made an HTML5 tutorial! http://tantek.com/html5
Received on Thursday, 29 September 2011 08:55:36 UTC