Skip to content

Commit cf0376c

Browse files
committed
Merge remote-tracking branch 'SiarheiBobryk/type-search-details-fix' into main
2 parents dbdd900 + 5d064ce commit cf0376c

3 files changed

Lines changed: 6 additions & 9 deletions

File tree

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,10 @@ decrement button to change from `default` to `text`.
7878

7979
#### `[type="search"]`
8080

81-
The search input is not fully stylable by default. In Chrome and Safari on
82-
OSX/iOS you can't control `font`, `padding`, `border`, or `background`. In
83-
Chrome and Safari on Windows you can't control `border` properly. It will apply
84-
`border-width` but will only show a border color (which cannot be controlled)
85-
for the outer 1px of that border. Applying `-webkit-appearance: textfield`
86-
addresses these issues without removing the benefits of search inputs (e.g.
87-
showing past searches).
81+
The search input is not fully stylable by default. In Safari on
82+
OSX you can't control `font`, `padding`, `border`, or `background`. Applying
83+
`-webkit-appearance: textfield` addresses these issues without removing the
84+
benefits of search inputs (e.g. showing past searches).
8885

8986
## Contributing
9087

normalize.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ textarea {
285285
}
286286

287287
/**
288-
* 1. Correct the odd appearance in Chrome and Safari.
288+
* 1. Correct the odd appearance in Safari.
289289
* 2. Correct the outline style in Safari.
290290
*/
291291

test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ <h3 class="Test-it">should display a default cursor for the decrement button's c
431431
<h2 class="Test-describe"><code>[type="search"]</code></h2>
432432
<h3 class="Test-it">should be styleable</h3>
433433
<div class="Test-run">
434-
<input type="search" style="border:1px solid #ADD8E6; padding:10px; width:200px;">
434+
<input type="search" style="border:4px dashed #ADD8E6; padding:10px; width:200px; font-family:monospace; background-color:#f0f8ff" value="search query">
435435
</div>
436436
<h3 class="Test-it">should reference inherited color</h3>
437437
<div class="Test-run">

0 commit comments

Comments
 (0)