RESOLVED DUPLICATE of bug 119967 45417
-webkit-box-shadow works for input(type=text) but not input(type=search)
https://bugs.webkit.org/show_bug.cgi?id=45417
Summary -webkit-box-shadow works for input(type=text) but not input(type=search)
mats.ahlgren
Reported 2010-09-08 15:51:37 PDT
filed from downstream (chromium project): http://code.google.com/p/chromium/issues/detail?id=54577 _____________________ Chrome Version (from the about:version page): 6.0.437.3dev Is this the most recent version: yes? OS + version: Ubuntu (verson=Karmic) CPU architecture (32-bit / 64-bit): 64bit Affected platforms: - windows chromium - windows safari - linux chromium ___________ What steps will reproduce the problem? .search { width:50%; background:hsla(0,0%,0%, 0.3); border:none; -webkit-box-shadow:inset 0.3em 0.3em 0.5em hsla(0,0%,0%, 0.5); border:1px inset white; -webkit-border-radius:0.2em; color:white; text-shadow:0.2em 0.2em 0.2em black; font-weight:bold; padding:0.3em; } <input type="text" value="search (alt-S)" class="search"/> Has box shadow (correct behavior) <input type="search" value="search (alt-S)" class="search"/> Does NOT have box shadow (incorrect behavior) _______________ Comment 2 by estade@chromium.org: this repros on windows and linux chrome as well as windows safari. Oddly enough, each of these three browsers has a different background color for the search box, but none of them has a shadow. please file upstream at bugs.webkit.org
Attachments
Eric Meyer
Comment 1 2011-05-23 12:47:15 PDT
Observed this problem today in Chrome 11.0.696.68 and Safari 5.0.3. Also that box-shadow wasn't applied to a text input without an explicit border, but I assume that's another bug filed elsewhere. (Yes, I'll check to make sure.)
gur.trio
Comment 2 2013-12-20 03:15:07 PST
(In reply to comment #1) > Observed this problem today in Chrome 11.0.696.68 and Safari 5.0.3. Also that box-shadow wasn't applied to a text input without an explicit border, but I assume that's another bug filed elsewhere. (Yes, I'll check to make sure.) Fixed : http://trac.webkit.org/changeset/157443.
gur.trio
Comment 3 2013-12-23 20:31:12 PST
*** This bug has been marked as a duplicate of bug 119967 ***
Note You need to log in before you can comment on or make changes to this bug.