Chromium Code Reviews
DescriptionMD downloads: use [placeholder] instead of <label>
Chrome supports <input placeholder="Search...">. Not all browsers do,
which is why Polymer uses a <label> and swaps it in and out over inputs.
Web UI doesn't have to do this.
In addition to simplifying the code, this fixes 2 bugs:
1) <label> not being reshown after closing search/clearing input
2) cursor showing on top of text
R=tommycli@chromium.org
BUG=425626
Committed: https://crrev.com/d8537ae00027948502245db64296ae7fd915c550
Cr-Commit-Position: refs/heads/master@{#341656}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 6 (1 generated)
|
||||||||||||||||||||||||||||