Last modified: 2013-11-30 14:34:23 UTC
Core jquery.placeholder module and https://github.com/mathiasbynens/jquery-placeholder should be merged. Both are polyfills for 'placeholder' attribute implementation, with each having some features missing from the other one. Both are MIT-licensed (as of https://gerrit.wikimedia.org/r/#/c/95748/).
Features we are missing: * Support for valHooks and propHooks (bug 55651) * Clearing placeholders upon form submission (bug 47057) Features mathiasbynens/jquery-placeholder is missing (bug 47057 comment 5): * Calling it as $(…).placeholder('Placeholder text') to set placeholder (its .placeholder function doesn't accept any arguments). * Support for inserting values into inputs with placeholders defined – dragging text or rightclick-pasting it could result in new value being appended to the placeholder or inserted in the middle of it.
Change 98137 had a related patch set uploaded by MegaAlex: Merge jquery.placeholder with github.com/mathiasbynens/jquery-placeholder https://gerrit.wikimedia.org/r/98137
Change 98137 merged by jenkins-bot: Merge jquery.placeholder with github.com/mathiasbynens/jquery-placeholder https://gerrit.wikimedia.org/r/98137
Done. Thanks!