On Aug 20, 2013, at 5:43 AM, Allan Sandfeld Jensen <k...@carewolf.com> wrote:

What is a placeholder in the context of a text-edit

Placeholder text is text telling you what to type, like in this example:

data:text/html,<input placeholder="Title">

why should it be visible when focused

This is something that changed in Mac user interface. In older versions of the Mac UI, when you clicked to place an insertion point in the text field or tabbed into the field, the placeholder text would disappear.

In newer versions, the placeholder text does not disappear until you type a character:

That’s what this function was about; implementing both styles.

-- Darin
webkit-dev mailing list

Reply via email to