There's a tiny typo that prevent php replacement of the text,
template.php down to around line no.436 should be

/**
 * Implements template_proprocess_search_block_form().
 *
 * Changes the search form to use the HTML5 "search" input attribute
 */
function royisal_preprocess_search_block_form(&$variables) {
 $variables['search_form'] = str_replace('type="text"', 'type=search', $variables['search_form']);
}

Comments

tsi’s picture

I don't quite understand, the search should be wrapped with quotes, what is the issue exactly ?
http://www.w3.org/TR/html-markup/input.search.html#input.search.attrs.type

tsi’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

Cleaning up