[webkit-dev] New CSS property -webkit-control-text-overflow

James Robinson jamesr at google.com
Thu Jan 12 00:17:14 PST 2012


What is the status of this feature in the CSS WG? I would expect this
information to be available in the announcement and/or the feature bug but
I cannot find it.

- James
On Jan 11, 2012 11:30 PM, "Jon Lee" <jonlee at apple.com> wrote:

> Hi WebKit!
>
> I wanted to let you know that we would like to add a new CSS property
> -webkit-control-text-overflow. It is a non-inheritable property that can
> only be applied to single-line text inputs. Acceptable values are the same
> as text-overflow, i.e. "clip" and "ellipsis".
>
> When the input is set with the "ellipsis" value, both the placeholder and
> inner text value of the input render with an ellipsis if the text overflows
> and the input is not focused. When the input becomes focused, the
> placeholder or text value renders clipped, as before.
>
> Although this is a small enhancement to text controls, we think this is
> especially useful for authors developing on the mac platform, since the
> analog native widgets behave similarly.
>
> The bug that tracks this is: https://bugs.webkit.org/show_bug.cgi?id=76118
>
> Jon
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120112/4b1e30f3/attachment.html>


More information about the webkit-dev mailing list