Skip to content

Commit

Permalink
Merge pull request #924 from Automattic/input-search
Browse files Browse the repository at this point in the history
Remove content-box box-sizing on search fields. Fixes #895
  • Loading branch information
sixhours committed Mar 18, 2016
2 parents 1bae857 + 98c86c2 commit 7304cc1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions sass/_normalize.scss
Expand Up @@ -175,11 +175,6 @@ input[type="number"]::-webkit-outer-spin-button {
height: auto; height: auto;
} }


input[type="search"] {
-webkit-appearance: textfield;
box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; -webkit-appearance: none;
Expand Down
5 changes: 0 additions & 5 deletions style.css
Expand Up @@ -224,11 +224,6 @@ input[type="number"]::-webkit-outer-spin-button {
height: auto; height: auto;
} }


input[type="search"] {
-webkit-appearance: textfield;
box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; -webkit-appearance: none;
Expand Down

1 comment on commit 7304cc1

@Aetles
Copy link

@Aetles Aetles commented on 7304cc1 Apr 14, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious about the removal of -webkit-appearance: textfield;.

In necolas/normalize.css@fe56763 it was only box-sizing: content-box; that was removed, but -webkit-appearance: textfield; was kept (and still is present in the current normalize.css).

Please sign in to comment.